MrDB4Excel
Active Member
- Joined
- Jan 29, 2004
- Messages
- 348
- Office Version
- 2013
- Platform
- Windows
I have a worksheet that utilizes several functions to get data depending on other information.
One “Category” inputs Mobile Phone based on the amount of a given month’s expense.
This amount can vary as you can see by the attached Xl2bb.
Is there some way whenever the monthly Mobile expense differs from the norm that the Category indicates “Mobile Phone” in lieu of “Miscellaneous”?
In addition note the presence of the I$9 portion of the formula: =IF(E4=“”,IFERROR(INDEX(L$3:L$9,MATCH(F4,M$3:M$9,0)),I$9),”Income”) which occurs in all cells D4 thru D30. What is the significance or reason for this part of the formula? It seems redundant for no particular reason. Perhaps there is a better solution to this part of the formula? Also what part does the ,0 play in the portion: (F4,M$3:M$9,0)?
One “Category” inputs Mobile Phone based on the amount of a given month’s expense.
This amount can vary as you can see by the attached Xl2bb.
Is there some way whenever the monthly Mobile expense differs from the norm that the Category indicates “Mobile Phone” in lieu of “Miscellaneous”?
In addition note the presence of the I$9 portion of the formula: =IF(E4=“”,IFERROR(INDEX(L$3:L$9,MATCH(F4,M$3:M$9,0)),I$9),”Income”) which occurs in all cells D4 thru D30. What is the significance or reason for this part of the formula? It seems redundant for no particular reason. Perhaps there is a better solution to this part of the formula? Also what part does the ,0 play in the portion: (F4,M$3:M$9,0)?
Bogus2EasyAccounting2022.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Date | Transaction Description | Payment Amount | Deposit | Balance | |||
2 | Month | Date | Description | Debits | Income | Balance | ||
3 | 1 | Jan/01/2022 | January Starting Balance | $5,000.00 | ||||
4 | 1 | Jan/06/2022 | $ Cash deposit | $2,000.00 | $7,000.00 | |||
5 | 1 | Jan/06/2022 | January 2022 Health Insurance | $100.00 | $6,900.00 | |||
6 | 1 | Jan/06/2022 | January 2022 Health Insurance | $100.00 | $6,800.00 | |||
7 | 1 | Jan/14/2022 | Electricity for January 2022 | $110.00 | $6,690.00 | |||
8 | 1 | Jan/14/2022 | Cellar Storage for January 2022 | $50.00 | $6,640.00 | |||
9 | 1 | Jan/14/2022 | Utilities for January 2022 | $120.00 | $6,520.00 | |||
10 | 2 | Feb/09/2022 | 01-Mobile-Jan.pdf | $40.00 | $6,480.00 | |||
11 | 2 | Feb/07/2022 | $ Cash deposit | $2,000.00 | $8,480.00 | |||
12 | 2 | Feb/06/2022 | February 2022 Health Insurance | $100.00 | $8,380.00 | |||
13 | 2 | Feb/06/2022 | February 2022 Health Insurance | $100.00 | $8,280.00 | |||
14 | 2 | Feb/14/2022 | Electricity for February 2022 | $110.00 | $8,170.00 | |||
15 | Feb/14/2022 | Cellar Storage for February 2022 | $50.00 | $8,120.00 | ||||
16 | 2 | Feb/14/2022 | Utilities for February 2022 | $120.00 | $8,000.00 | |||
17 | 3 | Mar/08/2022 | 02-Mobile-Feb.pdf | $40.00 | $7,960.00 | |||
18 | 3 | Mar/07/2022 | $ Cash deposit | $2,000.00 | $9,960.00 | |||
19 | 3 | Mar/06/2022 | March 2022 Health Insurance | $100.00 | $9,860.00 | |||
20 | 3 | Mar/06/2022 | March 2022 Health Insurance | $100.00 | $9,760.00 | |||
21 | 3 | Mar/14/2022 | Electricity for March 2022 | $110.00 | $9,650.00 | |||
22 | 3 | Mar/14/2022 | Cellar Storage for March 2022 | $50.00 | $9,600.00 | |||
23 | 3 | Mar/14/2022 | Utilities for March 2022 | $120.00 | $9,480.00 | |||
24 | 4 | Apr/08/2022 | 03-Mobile-Mar.pdf | $40.00 | $9,440.00 | |||
25 | 4 | Apr/07/2022 | $ Cash deposit | $2,000.00 | $11,440.00 | |||
26 | 4 | Apr/07/2022 | March 2022 Health Insurance | $100.00 | $11,340.00 | |||
27 | 4 | Apr/06/2022 | March 2022 Health Insurance | $100.00 | $11,240.00 | |||
28 | 4 | Apr/14/2022 | Electricity for March 2022 | $110.00 | $11,130.00 | |||
29 | 4 | Apr/14/2022 | Cellar Storage for March 2022 | $50.00 | $11,080.00 | |||
30 | 4 | Apr/14/2022 | Utilities for March 2022 | $120.00 | $10,960.00 | |||
Expenses |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A16:A30,A3:A14 | A3 | =MONTH(B3) |
F4:F30 | F4 | =SUM(F3+[@Income]-[@Debits]) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A3:A30 | A3 | =IF((ISERROR(MONTH('2022'!$B3)))," ",(MONTH('2022'!$B3))) |
B3:B30 | B3 | =IF(ISBLANK([Bogus2EasyAccounting2022.xlsx]Expenses!$B3)," ",([Bogus2EasyAccounting2022.xlsx]Expenses!$B3)) |
C3:C30 | C3 | =IF(ISBLANK([Bogus2EasyAccounting2022.xlsx]Expenses!$C3)," ",([Bogus2EasyAccounting2022.xlsx]Expenses!$C3)) |
D4:D30 | D4 | =IF(E4="",IFERROR(INDEX(L$3:L$9,MATCH(F4,M$3:M$9,0)),I$9),"Income") |
E4:E30 | E4 | =IF(ISBLANK([Bogus2EasyAccounting2022.xlsx]Expenses!$E4),"",([Bogus2EasyAccounting2022.xlsx]Expenses!$E4)) |
F25:F30,F5:F23 | F5 | =IF(ISBLANK([Bogus2EasyAccounting2022.xlsx]Expenses!$D5),"",([Bogus2EasyAccounting2022.xlsx]Expenses!$D5)) |
G4 | G4 | =SUM(G3+[@Income]-[@Debits]) |
G5:G30 | G5 | =G4+N([@Income])-N([@Debits]) |