You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
9 replies

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

Jul 23, 2022 4:49 PM in response to WhoRU87

I think I messed up... I'm sorry.


Please post a screenshot of the table where the transactions are. If there is real, personal information in that table, please only show the header row where the names of the columns are. Please make sure cell A1 is selected (it's not super important which cell is selected. Please remember don't show your personal data.

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.