Steve 1962
Active Member
- Joined
- Jan 3, 2006
- Messages
- 379
- Office Version
- 365
- Platform
- Windows
Hi
I have a VLOOKUP formula in column B which I want to continue to use, with a running total in column D. Problem is when there is blank rows between transactions, causing the Running Total in column D to error. Is there a way to modify column D formula to not error and accommodate the blank rows, keeping the Running Total correct.
Thanks
Steve
I have a VLOOKUP formula in column B which I want to continue to use, with a running total in column D. Problem is when there is blank rows between transactions, causing the Running Total in column D to error. Is there a way to modify column D formula to not error and accommodate the blank rows, keeping the Running Total correct.
Thanks
Steve
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Out | In | Balance | ||||
2 | Income | 2000 | #VALUE! | Cell D2 to show 2000 | |||
3 | Income | 2000 | #VALUE! | Cell D3 to show 4000 | |||
4 | #VALUE! | Cell D4 to show blank | |||||
5 | Expense | -400 | #VALUE! | Cell D5 to show 3600 | |||
6 | #VALUE! | Cell D6 to show blank | |||||
7 | Expense | -50 | #VALUE! | Cell D7 to show 3550 | |||
8 | #VALUE! | Cell D8 to show blank | |||||
9 | #VALUE! | Cell D9 to show blank | |||||
10 | Expense | -25 | #VALUE! | Cell D10 to show 3525 | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B4, B8:B9, B6 | B2 | =IFNA(VLOOKUP(A2,Expense_List,7,FALSE)*-1,"") |
D2:D10 | D2 | =D1+C2+B2 |