I am trying to use the following array formula but I am getting a #VALUE error:
{=SUM((MONTH(B$5)=MONTH('Other Expenses'!$A:$A))*(B$6='Other Expenses'!B:B)*('Other Expenses'!D:D))}
Here is what I'm trying to do:
I want to sum up the values in column D of the 'Other Expenses' worksheet whenever the month of the date in b5 of the current worksheet matches the month of the date in column A of the 'Other Expenses' worksheet AND the text in b6 of the current worksheet matches the text in column B of the 'Other Expenses' worksheet.
Can someone suggest a formula that might do this trick? Thanks.
{=SUM((MONTH(B$5)=MONTH('Other Expenses'!$A:$A))*(B$6='Other Expenses'!B:B)*('Other Expenses'!D:D))}
Here is what I'm trying to do:
I want to sum up the values in column D of the 'Other Expenses' worksheet whenever the month of the date in b5 of the current worksheet matches the month of the date in column A of the 'Other Expenses' worksheet AND the text in b6 of the current worksheet matches the text in column B of the 'Other Expenses' worksheet.
Can someone suggest a formula that might do this trick? Thanks.