vlus
Technical User
- Sep 26, 2002
- 45
Hello:
I read with interest several of the threads relating to the Nested IF limit of 7. I also tried to implement at least one of the suggestions that I understood, but it didn't work as hoped.
I have a column of 30 cells that tabulate a running balance. That number could be greater than or less than zero, and at any time there could be as few as 1 cell populated up to the total of 30.
I need to carry the last known populated cell to another cell on the sheet.
My original plan was to use a Nested IF, where IF the last cell was <>0, then use that cells number, otherwise check the cell above it, etc. Of course this crashed because there were more than 7 nested IFs.
I then tried &ing them together as suggested in one of the posts, something like this:
=IF(O30<>0,O30,""
&IF(O29<>0,O29,""
&IF(O28<>0,O28,""
&IF(O27<>0,O27,""
etc., thru Cell O1
This did not work either, since it somehow calculated a weird number, possibly because it tried to deal with each cell that had a balance, instead of just the last one.
I'm a pretty basic level Excel user. I don't understand VLOOKUP and don't even know if that would work, but I saw it mentioned in a few places here. So at this point, can someone just help me with a formula that would accomplish this task. I'm sure if I could see the formula in action, I could better understand it.
Thank you in advance for any light shed!
Vlus
I read with interest several of the threads relating to the Nested IF limit of 7. I also tried to implement at least one of the suggestions that I understood, but it didn't work as hoped.
I have a column of 30 cells that tabulate a running balance. That number could be greater than or less than zero, and at any time there could be as few as 1 cell populated up to the total of 30.
I need to carry the last known populated cell to another cell on the sheet.
My original plan was to use a Nested IF, where IF the last cell was <>0, then use that cells number, otherwise check the cell above it, etc. Of course this crashed because there were more than 7 nested IFs.
I then tried &ing them together as suggested in one of the posts, something like this:
=IF(O30<>0,O30,""
This did not work either, since it somehow calculated a weird number, possibly because it tried to deal with each cell that had a balance, instead of just the last one.
I'm a pretty basic level Excel user. I don't understand VLOOKUP and don't even know if that would work, but I saw it mentioned in a few places here. So at this point, can someone just help me with a formula that would accomplish this task. I'm sure if I could see the formula in action, I could better understand it.
Thank you in advance for any light shed!
Vlus