Formula to sum cells in another sheet based on criteria
I am trying to create a summary sheet based off information in another sheet. Here is my formula that is not working:
=SUM(COLLECT({Reserved}, {Cancel} = 1, MATCH(Locations@row, {Location}), 0))
So I if the cancel cell is checked then I want it to match the location from one sheet to another and then if they match, sum up the numbers in the reserved field.
I am getting an Invalid Operation error.
Best Answer
-
Try this instead since it seems like your {Cancel Range} is actually on the other sheet.
=SUMIFS({Reserved}, {Location}, @cell = Locations@row, {Cancel}, @cell = 1)
Answers
-
IF(Cancel@row = 1, SUMIFS([Reserved]:[Reserved],[Location]:[Location], Locations@row),"")
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
-
This did not work, it is now #unparseable.
-
Try something like this:
=IF([Cancel Column Name]@row = 1, SUMIFS({Reserved Range}, {Location Range}, @cell = Locations@row))
-
Nope, unparseable :(
-
Can you provide a screenshot of the formula open in the sheet as if you are about to edit it?
-
Try this instead since it seems like your {Cancel Range} is actually on the other sheet.
=SUMIFS({Reserved}, {Location}, @cell = Locations@row, {Cancel}, @cell = 1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.3K Get Help
- 445 Global Discussions
- 144 Industry Talk
- 477 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!