I currently use
to find the last value in col AB where I have manually entered the cell values.
I just tried to use the same formula on another worksheet but on this sheet every value in col AB is the result of an array formula. The =LOOKUP formula is returning a blank, even though col AB has thousands of values in it. On both sheets col AB is a mix of numeric values and blank cells, the difference being that on the sheet where I manually enter data the blank cells are truly blank, whereas on the second sheet the blank cells contain an underlying formula that hasn't returned a numeric value.
I'm guessing that the blank output is because of the array formula. How should I amend the =LOOKUP formula to work with the array data?
Code:
=LOOKUP(2,1/(1-ISBLANK($AB:$AB)),$AB:$AB)
I just tried to use the same formula on another worksheet but on this sheet every value in col AB is the result of an array formula. The =LOOKUP formula is returning a blank, even though col AB has thousands of values in it. On both sheets col AB is a mix of numeric values and blank cells, the difference being that on the sheet where I manually enter data the blank cells are truly blank, whereas on the second sheet the blank cells contain an underlying formula that hasn't returned a numeric value.
I'm guessing that the blank output is because of the array formula. How should I amend the =LOOKUP formula to work with the array data?