我的所有列A都带有值+超链接。当我过滤这些列时,我仅获得A的值,而错过所有超链接。我如何保留它们?
A B C D
col1 col2 col3 col4
name1 2 3 4
name2 4 6 8
name3 3 5 7
过滤器为:
F2单元格:
=ARRAYFORMULA(REGEXREPLACE(REGEXREPLACE(IFERROR(FILTER(A:D, C:C="Seen"), " "), "Day on", "Eng. Pending OT"), "Day off", "Eng. Pending OT"))
答案 0 :(得分:1)
REGEXREPLACE
将杀死超链接,因此需要将过滤器分为两部分:
=ARRAYFORMULA({ARRAY_CONSTRAIN(IFERROR(FILTER(A:G, C:C="Seen"), ), 999, 1),
REGEXREPLACE(IFERROR(FILTER(B:G, C:C="Seen"), ), "Day on|Day off", "Eng. Pending OT")})