Trouble with SUMIFS formula across multiple sheets
Hi Geniuses -
I am trying to summarize a sheet ("All Staff Reports") on another sheet ("Monthly Comparisons"). In the Monthly Comparison sheet, I want to sum a column (ERTS - how many) from the All Staff Reports sheet according to the Month and Year columns (both also on the All Staff Reports Sheet).
I've tried a number of different iterations of a formula, most often getting unparsable results. My current attempt is:
=SUMIFS({All Staff Reports Range 1}, IFERROR({All Staff Reports Range 2}, 0) = "July", IFERROR({All Staff Reports Range 3}, 0) = 2021)
All Staff Reports Range 1 = ERTS - how many column
All Staff Reports Range 2 = Month column
All Staff Reports Range 3 = Year column
which at least attempts to calculate but comes back #INVALID OPERATION. I cannot figure out where to go from here. Can you help?
Best Answer
-
A little more work got me to the right formula!
=SUMIFS({All Staff Reports Range 1}, {All Staff Reports Range 4}, AND(IFERROR(MONTH(@cell), 0) = 7, IFERROR(YEAR(@cell), 0) = 2021))
with All Staff Reports Range 4 being the Date column
If anyone has a more elegant way to do this, please feel free to respond!
Answers
-
A little more work got me to the right formula!
=SUMIFS({All Staff Reports Range 1}, {All Staff Reports Range 4}, AND(IFERROR(MONTH(@cell), 0) = 7, IFERROR(YEAR(@cell), 0) = 2021))
with All Staff Reports Range 4 being the Date column
If anyone has a more elegant way to do this, please feel free to respond!
-
Well-done! That looks good to me, I'm glad you were able to figure it out.
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!