Dear Excel Experts,
I have a below formula whereby it returns the name with the closest date from today's date.
=LET(f,FILTER(I2:I18,E2:E18=R2),XLOOKUP(TODAY(),P2:P18,f,XLOOKUP(TODAY(),P2:P18,f,,-1),1))
While the formula works fine when the range is set with specific rows, when I set the range to be the entire column, the value is returned as '#VALUE!'.
I have tried to put 9999 as the limit, but this also results in the same error.
Would like to see if there is any way I could look up the entire column without having to specify the cell rows.
Any kind of help/advice would be much appreciated!!
I have a below formula whereby it returns the name with the closest date from today's date.
=LET(f,FILTER(I2:I18,E2:E18=R2),XLOOKUP(TODAY(),P2:P18,f,XLOOKUP(TODAY(),P2:P18,f,,-1),1))
While the formula works fine when the range is set with specific rows, when I set the range to be the entire column, the value is returned as '#VALUE!'.
I have tried to put 9999 as the limit, but this also results in the same error.
Would like to see if there is any way I could look up the entire column without having to specify the cell rows.
Any kind of help/advice would be much appreciated!!
Attachments
Last edited by a moderator: