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.

📰 Apple Fitness+ unveils an exciting lineup of new ways to stay active and mindful in 2025

Offerings include new programs for strength, pickleball, yoga, and breath meditation, and a new collaboration with Strava. Learn more >

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

Numbers - Formula to return values based on specific dates

Hey I've tried googling and even some Chat GPT but haven't found the solution I'm after.


It seems easy in theory but I just can't get the formula I'd need to make it work.


Basically I have Column A with dates written like "01 Sep 23" with varying months and dates.

In Column B I have $ values.


I'm trying to create a formula that will calculate all the different month values separately and return the total amount for each month.


For example Septembers Total is $x. Octobers total is $x. etc.


Is this possible with Numbers?

Posted on Aug 14, 2023 3:01 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 14, 2023 4:47 AM

Before Rockondevil reports that the formula raises a syntax error, here's the corrected version:


in cell D2:

=SUMIFS($B,$A,">="&C2,$A,"<="&EOMONTH(C2,0))


It also makes it copyable without modifications.


Edit: better include the year in entering the months to confirm which year the month is in, if you do this exercise for many years.





3 replies
Question marked as Top-ranking reply

Aug 14, 2023 4:47 AM in response to krzychug

Before Rockondevil reports that the formula raises a syntax error, here's the corrected version:


in cell D2:

=SUMIFS($B,$A,">="&C2,$A,"<="&EOMONTH(C2,0))


It also makes it copyable without modifications.


Edit: better include the year in entering the months to confirm which year the month is in, if you do this exercise for many years.





Aug 14, 2023 6:17 AM in response to Rockondevil

You can do this in less than a minute with a Pivot Table. No formulas! Just click and drag.




Click in the data table and from the menu choose Organize > Create Pivot Table > On Current Sheet.


Then in the Pivot Options pane at the right drag the Fields down into the boxes below as shown in the screenshot.


That's all there is to it!


SG

Numbers - Formula to return values based on specific dates

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