Formula Not Working

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
348
Office Version
  1. 2013
Platform
  1. Windows
I use the following formula: =SUM(G3+[@Income]-[@Debits]) in a worksheet that gets data from another worksheet.
I have tinkered with this issue for too many hours and cannot seem to get it working.
As you can see in the XL2bb Mini Sheet, this formula works in cell G3 but the next cell down, G4 returns with #VALUE!
I thought using helper columns H, I, J, & K would solve the issue, but to no avail.
What am I missing here?
Any help will be much appreciated.

Cell Formulas
RangeFormula
A2:A15A2=IF((ISERROR(MONTH('2022'!$B2)))," ",(MONTH('2022'!$B2)))
B2:B15B2=IF(ISBLANK([BogusEasyAccounting2022.xlsx]Expenses!$B3)," ",([BogusEasyAccounting2022.xlsx]Expenses!$B3))
C2:C15C2=IF(ISBLANK([BogusEasyAccounting2022.xlsx]Expenses!$C3)," ",([BogusEasyAccounting2022.xlsx]Expenses!$C3))
D3D3=K4
F2F2=[@Income]
F3:F15F3=SUM(F2+[@Income]-[@Debits])
D4:D15D4=IF(ISBLANK([BogusEasyAccounting2022.xlsx]Expenses!$E5)," ",([BogusEasyAccounting2022.xlsx]Expenses!$E5))
E4E4=I4
H4:H15,E5:E15E5=IF(ISBLANK([BogusEasyAccounting2022.xlsx]Expenses!$D6)," ",([BogusEasyAccounting2022.xlsx]Expenses!$D6))
I4:I15,K4:K15I4=IF((ISERROR(VALUE(H4)))," ",(VALUE(H4)))
J4:J15J4=IF(ISBLANK([BogusEasyAccounting2022.xlsx]Expenses!$E4)," ",([BogusEasyAccounting2022.xlsx]Expenses!$E4))


Supporting Sheet:
BogusEasyAccounting2022.xlsx
ABCDEF
2MonthDateDescriptionDebitsIncomeBalance
31Jan/06/2022January Starting Balance$1,000.00
41Jan/06/2022Pension Deposit$1,000.00$2,000.00
51Jan/06/2022Medicare Part B$100.00$1,900.00
61Jan/06/2022Medicare Part D$100.00$1,800.00
71Jan/07/2022Rent$600.00$1,200.00
81Jan/07/2022Electricity$120.00$1,080.00
91Jan/08/2022Verizon$100.00$980.00
101Jan/08/2022Car Payment$100.00$880.00
111$880.00
121$880.00
131$880.00
141$880.00
151$880.00
Expenses
Cell Formulas
RangeFormula
A3:A15A3=MONTH(B3)
F4:F15F4=SUM(F3+[@Income]-[@Debits])
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
It isn't working as you have cells that contain "" which is text & you cannot add or subtract text.
Try
Excel Formula:
=F3+N([@Income])-N([@Debits])
 
Upvote 0
Solution
Many Thanks, Fluff. Perfect solution.
You have made my day.
Hope your day is good.
Stay safe
 
Upvote 0
Try this

=SUM(G3,[@Income])-SUM([@Debits])
Thanks, Phuoc, but I used =F3+N([@Income])-N([@Debits]) and it does what I need. Regardless, I will try your formula anyway just to see how it works.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top