I have an excel document with the LOOKUP formula which grabs the last entered date from another sheet. From below, you can see the date for 'Person One" is also the last date entry on the second image.
The Excel formula I used was
=LOOKUP(2,1/('Person One'!C:C>0),'Person One'!C:C)
However, when I use the same formula on Google Sheets, it returns an error stating:
Did not find value '2' in LOOKUP evaluation.
or it gives me the topmost value which is 'Last Visit' and I am not sure what I am doing wrong.
=MAX(INDIRECT("'"&A2&"'!C1:C"))
?C1:C
notation, this formula is for Google spreadsheets. 2: Person One is spelled differently in cell A2 and in the sheet name (maybe there is a space in the cell after One that you can't see). 3: the reason you mentioned because im not very excel literatelookup()
function uses a binary search that only works correctly when the data range to be sorted. With unsorted data, you get unexpected results.