Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Sum my monthly expenses based on category

$
0
0

I would like to group my expenses in each month based on each category

One sheet I have columns: billing month, post date, transaction date, description, amount and category

Another sheet I have columns: billing month, category, amount

enter image description here

enter image description here

I tried but still does not work:

=IFERROR(QUERY(Expense_U!$B:$F, "select sum(E) where F = '"&B2&"' and month(A) + 1 matches '"&MONTH(A2&1)&"' group by C label sum(D)''", 0), 0)=SUMIF(Expense_U!D$2:D,MATCH(($B2=Expense_U!$E$2:$E)*(A2=Expense_U!A2),0))

Here is the link to my sheethttps://docs.google.com/spreadsheets/d/1mN-_93YPaV975IPMzfBECTmXxpPDI70dnJHhvcVGFz8/edit?usp=sharing

Thank you for your help!


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>