I missed this bit...

Originally Posted by
mdbct
I tried using the same method
This method didn't work. For some reason all cells were duplicates of cell B2.
The initial ISTEXT test in the earlier example(s) actually serves a dual purpose
1 - as implied it allows us to differentiate between Text and Non-Text entries such that we can apply an appropriate function to underlying value
2 - it crucially creates an array of Boolean outputs - one per cell referenced in the range.
It is this array of Booleans that permits us to essentially run the Evaluate over the range on a cell by cell basis - conducting an IF on each cell and acting accordingly (True,False).
Without the ISTEXT the Evaluate will be conducted against the first cell in the range and result applied to entire range.
More commonly you see
ie ROW is used to generate numeric values as the IF test (only 0 is FALSE of course) ... however here it makes sense to use an actual ISTEXT test given we want to process differently
(ie we don't want to apply our formula to numeric cells etc)
Bookmarks