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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!