last nonblank
Non-array, non-volatile formula for contents of last, non-blank cell in a
range:
=LOOKUP(2,1/(A1:A100<>""),A1:A100)
For last non-blank text
=LOOKUP(REPT("z",255),Sheet1!e1:e100,Sheet1!e1:e1 0 0)
You can shorten that to:
=LOOKUP(REPT("z",255),Sheet1!e1:e100)
Last non-zero
=LOOKUP(2,1/(B7:H7<>0),B7:H7)
--
Bernard V Liengme
Microsoft Excel MVP
http://...



