问题
I wrote a formula using TEXTJOIN
. On my side it worked perfectly but when my colleagues tried to use my spreasheet, it just showed them the series of coma as if the ignore_empty
field of TEXTJOIN
was set to False
. But it's not, it is set to True
.
When I tried to debug it, I just directly hit ctrl-shift-enter (it's embedded in an array formula) and the problem disappeared. Moreover if I modify the data selected by the formula (to make the value of the cell where there is my textjoin formula change) and then make a ctrl-z, the problem disappears too.
EDIT: Refreshing the sheet or using the calculate now function doesn't work. Also I have a cell next to the bugged one that contains the same formula and there is no problem on this one.
I'm using textjoin in an array formula like this : TEXTJOIN(",",TRUE,IF((Table1[pass/fail]="FAIL")*(NOT(ISBLANK(Table1[lvl]))),ROW(Table1[pass/fail]),""))
My whole array formula looks like this:
{=IF(TEXTJOIN(",",TRUE,IF((Table1[pass/fail]="FAIL")*(NOT(ISBLANK(Table1[lvl]))),ROW(Table1[pass/fail]),""))="",IF(B23="","Not run","No failure"),TEXTJOIN(",",TRUE,IF((Table1[pass/fail]="FAIL")*(NOT(ISBLANK(Table1[lvl]))),ROW(Table1[pass/fail]),"")))}
The problem is pretty random and I don't where it might come from so thank you in advance if you have encountered the problem before and managed to solve it.
来源:https://stackoverflow.com/questions/56542903/textjoin-not-ignoring-empty-cell-until-enter-is-pressed-a-second-time