Forum Discussion
MrNobody
Apr 30, 2019Copper Contributor
How to exclude cells that contains formula from the range of cells in a LOOKUP function
Hello, I am currently preparing a payment milestone template which also records the last/latest date of payment. I used the this formula to do just that, =LOOKUP (2,1/ (J4:LN4<>"",$J$2:$LN$2)). B...
MrNobody
Apr 30, 2019Copper Contributor
This is great stuff, finally it works !!
The remaining problem is if there is no data in the row, it still returns a date, I hope you can help me solve this one.
Thank you again
SergeiBaklan
Apr 30, 2019Diamond Contributor
MrNobody , as variant you may expand your LOOKUP with one more filter
=IFERROR(LOOKUP(2,1/(J4:LN4<>"")/(($J$1:$LN$1="")),$J$2:$LN$2),"")
- Celia_AlvesMay 01, 2019MVPNice one, SergeiBaklan! As usual. ;-)
- SergeiBaklanMay 01, 2019Diamond Contributor
Celia_Alves , thank you
- MrNobodyMay 03, 2019Copper Contributor