Sum amounts within certain year and type
Hi,
I have a report listing payment (i) amounts for various (ii) items and the (iii) payment date in long date format.
I am trying to sum all the amounts per year and per item.
Example:
SUMIFS(amount, type = "paint", year = "2023")
Adding up all the values in "amount" column if the type column is "paint" and the "date" column is a date within that year.
Needless to say it's not working and a search of help topics and trying various things has not helped.
Any ideas please?
Best Answer
-
You will need to tweak your column names, but this is the general idea:
=SUMIFS(amount:amount, type:type, "paint", date:date, YEAR(@cell) = 2023)
Answers
-
You will need to tweak your column names, but this is the general idea:
=SUMIFS(amount:amount, type:type, "paint", date:date, YEAR(@cell) = 2023)
-
Thank you. It's worked perfectly.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!