I have a problem with TEXTJOIN formula and couldn't understand why it behaves wierdly. Any help is much appreciated.
I am trying to join number and text based on condition whether the number is positive or negative, grouping them together.
This is how my data looks like and the texts are joined at the last row:
My formula is as follow
={TEXTJOIN(", ",TRUE,IF(SIGN(B2:B13)=SIGN(B14), TEXT(B2:B13,IF(B14>0,"+","")&"$0.0,,")&" "&C2:C13,"")) &" Offset by "&
TEXTJOIN(", ",TRUE,IF(SIGN(B2:B13)<>SIGN(B14), TEXT(B2:B13,IF(B14<0,"+","")&"$0.0,,")&" "&C2:C13,""))}
The problem is, as I hit Ctrl+Alt+F9, sometimes the output shows correctly:
But sometimes the output is incorrect, with the last reference array missing (i.e. the "OTHERS" comment):
I need to have a consistent and correct output as there are a few of this formulas in the workbook.
Does anyone has any workaround? Is this a Excel 2016 bug?
Thanks! Greatly appreciate your help!