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

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!