display last value in a column

M

Mike

I would like to display the last value unequal to zero recorded in a column
in a specific cell. For example, A1 is to display the last value unequal to
zero recorded in column B. The number of entries and values in column B
changes frequently; therefore the last value in column B is in a different
row.

Thanks.
 
T

T. Valko

Try this...

Assuming there are no logical TRUE entries in the range.

=LOOKUP(1E100,1/B2:B100,B2:B100)
 
R

Ron Rosenfeld

I would like to display the last value unequal to zero recorded in a column
in a specific cell. For example, A1 is to display the last value unequal to
zero recorded in column B. The number of entries and values in column B
changes frequently; therefore the last value in column B is in a different
row.

Thanks.


=LOOKUP(2,1/(B:B<>0),B:B)
--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top