Formula
I'm hoping someone can help me out here. I'm looking for a formula to calculate how many items have been sold but have not been shipped. Example:
I want it to add the #s in the Color column of all lines where WH Location = 8A-8Z unless "Shipped" is in the Vendor column.
Answers
-
Try this:
=COUNTIFS([WH Location]:[WH Location], @cell = "8A", Vendor:Vendor, @cell <> "Shipped")
-
Almost, but it needs to count the totals in the Color column.
-
=SUMIFS(Color:Color, [WH Location]:[WH Location], @cell = "8A", Vendor:Vendor, @cell <> "Shipped")
-
It appears the formula is working but it always equals zero. Even if i change the WH Location # it still equals zero.
I updated it to 50 below and it equals zero.
-
How exactly is the Color column being populated? What is the exact formula you have in that most recent screenshot?
-
=SUMIFS(Color:Color, [WH Location]:[WH Location], @cell = "50", Vendor:Vendor, @cell <> "Shipped")
-
Stock is removed through a form and that color cell is typed in.
-
How is the WH Location column populated? It looks like you have some that are numbers (50) and others that are text strings (2K).
-
It is inputted in the form as well. I was hoping to edit the formula as needed for different line items.
I should be able to change the 50 to 2K or whatever the other lines are.
-
Ok. There may lie the problem then. You have to have like data in all of the cell. If some contain numerical data and others contain text, it can throw things off. Try inserting a (hidden) helper column that converts that entire column into text values:
=[WH Location]@row + ""
Then reference this helper column in your SUMIFS.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!