I receive a #REF error for the formula I'm trying to work on. I would be really grateful for some insight.
What I’m trying to do:
I am working on a personal budget for home expenses. I would like to sum all the categories for each month so I can see what is the highest expense for each month. So in the formula, I am trying to find x (in this case, 'Groceries') for a given month and then calculate the total.
Computer: MAC
Workbook: Expenses.xlsx
Sheets: Budget / OCT12 / NOV12 / DEC12 etc.
Budget Sheet:
A B C D
28 DAILY LIVING OCT NOV DEC
29 Groceries #REF
30 Dining / Eating Out
31 Pharmacy Supplies
32 Dry Cleaning
33 Salon / Hair
34 Eyewear / Contacts
35 Clothing
36 Education / Lessons
OCT12:
A B C D
58 DATE CATEGORY DESCRIPTION AMOUNT
59 1-Oct-12 Bus / Taxi / MRT Taxi $10.00
60 1-Oct-12 Dry Cleaning Astoria $10.00
61 1-Oct-12 Groceries Jasons $10.00
62 12-Oct-12 Groceries Market Place $50.00
63 12-Oct-12 Pharmacy Supplies Guardian - Toiletries $30.00
64 13-Oct-12 Groceries Marks & Spencer $60.00
65 13-Oct-12 Hardware / DIY Services Home-Fix DIY $10.00
66 16-Oct-12 Dining / Eating Out Starbucks Coffee $20.00
etc.
PLEASE NOTE: The B column (CATEGORY) allows you to select via a dropdown menu. Will this cause the formula not to work? I have indented the list on the dropdown to look like this ' Groceries', where as in the Budget Sheet A29, it shows 'Groceries'. This was so I could group categories and it was be easy on the eye when searching.
The formula I used which caused an error in cell B29 is:
=SUMPRODUCT(SUMIF(INDIRECT("'"&OCT12&"'!B59:B110"),$A29,INDIRECT("'"&OCT12&"'!D59:D110")))
Please could you let me know what the issue is.
Thanks
M
What I’m trying to do:
I am working on a personal budget for home expenses. I would like to sum all the categories for each month so I can see what is the highest expense for each month. So in the formula, I am trying to find x (in this case, 'Groceries') for a given month and then calculate the total.
Computer: MAC
Workbook: Expenses.xlsx
Sheets: Budget / OCT12 / NOV12 / DEC12 etc.
Budget Sheet:
A B C D
28 DAILY LIVING OCT NOV DEC
29 Groceries #REF
30 Dining / Eating Out
31 Pharmacy Supplies
32 Dry Cleaning
33 Salon / Hair
34 Eyewear / Contacts
35 Clothing
36 Education / Lessons
OCT12:
A B C D
58 DATE CATEGORY DESCRIPTION AMOUNT
59 1-Oct-12 Bus / Taxi / MRT Taxi $10.00
60 1-Oct-12 Dry Cleaning Astoria $10.00
61 1-Oct-12 Groceries Jasons $10.00
62 12-Oct-12 Groceries Market Place $50.00
63 12-Oct-12 Pharmacy Supplies Guardian - Toiletries $30.00
64 13-Oct-12 Groceries Marks & Spencer $60.00
65 13-Oct-12 Hardware / DIY Services Home-Fix DIY $10.00
66 16-Oct-12 Dining / Eating Out Starbucks Coffee $20.00
etc.
PLEASE NOTE: The B column (CATEGORY) allows you to select via a dropdown menu. Will this cause the formula not to work? I have indented the list on the dropdown to look like this ' Groceries', where as in the Budget Sheet A29, it shows 'Groceries'. This was so I could group categories and it was be easy on the eye when searching.
The formula I used which caused an error in cell B29 is:
=SUMPRODUCT(SUMIF(INDIRECT("'"&OCT12&"'!B59:B110"),$A29,INDIRECT("'"&OCT12&"'!D59:D110")))
Please could you let me know what the issue is.
Thanks
M