Can you take a look at my excel file and tell me how I can find the last non zero number in column D, Is there any other way to approach my goal in this simple worksheet? Thank you.
Ali
Can you take a look at my excel file and tell me how I can find the last non zero number in column D, Is there any other way to approach my goal in this simple worksheet? Thank you.
Ali
Maybe
VBA Noob=LOOKUP(2,1/(D2:D41>0),D2:D41)
_________________________________________
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
hi Ali,
The below thread or its links may help:
http://excelforum.com/showthread.php?t=618673
hth
Rob
Rob Brockett
Kiwi in the UK
Always learning & the best way to learn is to experience...
Couldn't the balance legitimately be zero?
Yes It can be zero and it can be a negative number too, and this list will get longer eventually.
Thank you.
Enter this formula in D3 and drag down
then use this formula=IF(OR(B3>0,C3>0),D2+B3-C3,"")
VBA Noob=LOOKUP(MAX(D:D)+1,D:D)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks