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
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 460 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!