Guys, in D2 I'd like to compare a target figure of C2 with the rightmost figure entered into the range E2:P2.
How do I pick the rightmost non-empty cell address into my comparison formula?
Thanks
Guys, in D2 I'd like to compare a target figure of C2 with the rightmost figure entered into the range E2:P2.
How do I pick the rightmost non-empty cell address into my comparison formula?
Thanks
Regards,
Gabor
Protect trees.. maybe one day we need to climb back....
Try
=LOOKUP(2,1/($E$2:$P$2<>""),$E$2:$P$2)
to get right-most value
If the values are numbers, you can use
=LOOKUP(9.99999999999999E+307,$E$2:$P$2)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks