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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 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!