Numbers SumIfs? Category And this month

I am trying to use numbers for a budget, and would to keep a continuous listing of transactions. In my table, I would like to get the total funds used in a given category but only in the current month.


What formula would show the sum of a given category, but Only for the current month?

my transaction table has date, description, category, amount, and reconciled.


thanks!

Posted on Jul 23, 2022 1:19 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 23, 2022 5:22 PM

Thank you!


I think this should work better.



C2=SUMIFS(Transactions-CAP ONE::Transactions::Amount, Transactions-CAP ONE::Transactions::Category, A2, Transactions-CAP ONE::Transactions::Date, ">="&DATE(YEAR(TODAY()), MONTH(TODAY()),1),Transactions-CAP ONE::Transactions::Date, "<="&EDATE(DATE(YEAR(TODAY()), MONTH(TODAY()),1),1)−"1d")

9 replies
Question marked as Top-ranking reply

Jul 23, 2022 5:22 PM in response to WhoRU87

Thank you!


I think this should work better.



C2=SUMIFS(Transactions-CAP ONE::Transactions::Amount, Transactions-CAP ONE::Transactions::Category, A2, Transactions-CAP ONE::Transactions::Date, ">="&DATE(YEAR(TODAY()), MONTH(TODAY()),1),Transactions-CAP ONE::Transactions::Date, "<="&EDATE(DATE(YEAR(TODAY()), MONTH(TODAY()),1),1)−"1d")

Jul 23, 2022 1:44 PM in response to WhoRU87

I made up a scenario as an example... you may post back with a specific question about your situation after trying to adapt this solution:



Enter the date in the column A

Enter the amount in column B

I arbitrarily, and for no reason, selected E2 to contain this months total.

Select cell E2, then type the equal sign.


Then copy and paste the formula from here:

SUMIFS(B, A, ">="&DATE(YEAR(TODAY()), MONTH(TODAY()),1), A, "<="&EDATE(DATE(YEAR(TODAY()), MONTH(TODAY()),1),1)−"1d")


you can also just select the cell then copy and paste this that includes the equal:

=SUMIFS(B, A, ">="&DATE(YEAR(TODAY()), MONTH(TODAY()),1), A, "<="&EDATE(DATE(YEAR(TODAY()), MONTH(TODAY()),1),1)−"1d")


shorthand for this is:

E2=SUMIFS(B, A, ">="&DATE(YEAR(TODAY()), MONTH(TODAY()),1), A, "<="&EDATE(DATE(YEAR(TODAY()), MONTH(TODAY()),1),1)−"1d")





Jul 23, 2022 2:38 PM in response to WhoRU87

sumifs() has the following basic form:

SUMIFS(sum-values, test-values, condition, test-values…, condition…)


for your specific situation...

SUMIFS (sum-values, category, category condition, date, start date condition, date, stop date condition)




C2=SUMIFS(Transactions-CAP ONE::Transactions::Amount, A, A2, Transactions-CAP ONE::Transactions::Category,">="&DATE(YEAR(TODAY()), MONTH(TODAY()),1), A, "<="&EDATE(DATE(YEAR(TODAY()), MONTH(TODAY()),1),1)−"1d")


I may have a typo because I did not try to make the same tables and enable header names as labels (like you have). So

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Numbers SumIfs? Category And this month

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.