SUMIFS referencing another sheet
I'm trying to get a SUM of a column, including only rows that meet specific conditions.
I want a SUM of "Launch Requests Range 2" if "launch requests range 1 includes the word "template" AND if Launch Request Range 3 is "52" AND if "launch requests range 4" (which is a date-type cell) is in the year 2024.
I've tried several variations and here's what I have now- I feel like I've only gotten farther from the correct solution with recent changes- I now have an "#UNPARSEABLE error
=SUMIFS({Launch Requests Range 2}, {Launch Requests Range 1}, CONTAINS("template", @cell), AND{Launch Requests Range 3}, ="52"@cell, AND {Launch Requests Range 4}, YEAR(@cell ) =2024)
Answers
-
Hi @Rfitz, I believe you're adding in CONTAINS and AND where it is not needed. Try:
=SUMIFS({Launch Requests Range 2}, {Launch Requests Range 1}, "template", {Launch Requests Range 3}, 52, {Launch Requests Range 4}, YEAR(@cell)=2024)
Hope that helps :)
-
Thanks @Jeremy_D! Now I'm getting 0, so the formula is at least formatted correctly, but 0 is not the correct value. Does it need CONTAINS or something similar with the "template" reference because that cell can contain a long string of selections? "Template" is the unique word in the specific option I'm looking to reference.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!