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
- 63.7K Get Help
- 405 Global Discussions
- 216 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 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!