SUM a column if another contains value
I'm trying to figure out how to count the sum of a column if another column contains a specific keyword. I have a list of vendor names that have been paid, how can I count the balance by vendor? Thanks!
Best Answer
-
Columns with a space [Vendor Name] need brackets versus columns with a single word Vendors. You shouldn't need @cell reference, in this case either.
Answers
-
Something like this: =SUMIFS([Vendor Charges]:[Vendor Charges], [Vendor Name]:[Vendor Name], "Vendor A")
-
Pretty close, this is what worked: =SUMIFS([Paid Amount]:[Paid Amount], Vendor:Vendor, @cell = "Vendor X") However, it I remove the [ ] the formula doesn't work.
It does work without the brackets in an identical formula for balance past due. What gives?
-
Columns with a space [Vendor Name] need brackets versus columns with a single word Vendors. You shouldn't need @cell reference, in this case either.
-
OK makes sense, thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!