Retrieve last non zero value in a range of cells

P

Pete

Hi

How do I extract the last non zero value in a range of 5 Cells for
Example:


A1=95
B1=93
C1=98
D1=0
E1=0

From the example above I would require to choose the value 98 from the
Range declared. Some weeks it is possible for all the values to be >0
so therefore I would need the Value in E1 other weeks it may be B1

Would it be possible to return the value I require into Cell G1 in
the example above?

Thanks

Peter
 

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