Count data in a column based on "contains" criteria in another
Nancy Heater
✭✭✭✭✭
Hello.
For my Summary report, I'm trying to pull a total sum from the "Qty" column for any rows that contains "C2" in the "Unit Code(s)" column.
Example sheet: https://app.smartsheet.com/sheets/VjPxRQ8VmfG25xV5c8524q3R9VxgcXGjR3Q7qRF1?view=grid
Thank you for advance for the assistance.
Best Answer
-
I think this will work:
=SUMIF([Unit Code(s)]:[Unit Code(s)], CONTAINS("C2", @cell), Qty:Qty)
Answers
-
I think this will work:
=SUMIF([Unit Code(s)]:[Unit Code(s)], CONTAINS("C2", @cell), Qty:Qty)
-
It did!! Thank you so much @David Tutwiler !
-
Awesome! Great to hear.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!