View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff Biff is offline
external usenet poster
 
Posts: 1,688
Default Formula to Return Last Non-Zero Value in Row

See this:

http://xldynamic.com/source/xld.LastValue.html

Scroll (about half way down the page) to this section:

#012 - Using A Non-Array LOOKUP Formula

It explains how the basic formula works.

Biff

"Ken Hudson" wrote in message
...
Biff,
Thanks for the solution. It works as advertised.
I am trying to undersand the logic.
Is the first "2" Boolean (i.e. "False")?
Is the first "1" Boolean (i.e. "True")?
The formula seems to work whether the "1" is a "1" or a "2."
If you have a moment, could you explain how this works?
(Always trying to improve my Excel logic skills.)
Thanks.

--
Ken Hudson


"Ken Hudson" wrote:

Hi,
I'm looking for a formula that will reutrn the last non-zero value in a
row.
TIA.
--
Ken Hudson