SUMIFS Formula question - summing ROI for projects ending in 2023
I have two column on my sheet. One called ROI which is formatted for $ and another called End Date which is formatted as a date.
On the summary sheet, I'd like to create a formula that would SUM the ROI if the end date is in 2023.
Here's the formula I added to the summary sheet: =SUMIFS(ROI:ROI, [End Date]:[End Date], YEAR(@cell) = 2023)
It's returning #INVALID DATA TYPE
Any suggestions?
Thanks,
Ed
Answers
-
It sounds like you have either non-date values in the Date column or blanks.
Lets start with this:
=SUMIFS(ROI:ROI, [End Date]:[End Date], IFERROR(YEAR(@cell), 0) = 2023)
-
Yes, I do have some blanks in the 2 columns and what you suggested worked perfectly. Thanks!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!