SUMIFS Formula question - summing ROI for projects ending in 2023

Ed S
✭✭
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!
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!