Adding two different criteria together which are found in the column
I am trying to add up how many times "INVENTORY" is used in my column and how many times "READY2SHIP" is used in the very same column. I tried sumifs, countifs, but none of these seems to work.
Could you please assist me? The same column has several status. Only one status applies per row. I want to see how many times I see the status "INVENTORY" and the status "READY2SHIP".
I know it's not hard, but I just don't seem to be able to write the correct formula and I don't know where my mistake is. Thank you very much.
Best Answer
-
@Andrée Starå Yes, I ended up developing this formula. It looks at the value at each cell and not globally at the row value.
=COUNTIFS({Range of all devices}, @cell <> "", {Status Column}, OR(@cell = "BAD/DEFECTIVE", @cell = "Internal Use", @cell = "SCRAPPED"))
Best regards, Barbara
Answers
-
I hope you're well and safe!
Try something like this.
=COUNTIF(ColumnName:ColumnName; "INVENTORY") + COUNTIF(ColumnName:ColumnName; "READY2SHIP")
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Unfortunately it comes back as unparseable:
=COUNTIF({DAX iOS STATUS}, "INVENTORY") + COUNTIF({DAX iOS STATUS}, "READY2SHIP"))
I tried the following and it comes back with the number 0, but if I count them separately, then I have 17 + 64 = 81
=COUNTIFS({DAX iOS STATUS}, "INVENTORY" + COUNTIF({DAX iOS STATUS}, "READY2SHIP"))
Another thought?
-
Did you get this working? (I think so, but I wanted to make sure)
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå Yes, I ended up developing this formula. It looks at the value at each cell and not globally at the row value.
=COUNTIFS({Range of all devices}, @cell <> "", {Status Column}, OR(@cell = "BAD/DEFECTIVE", @cell = "Internal Use", @cell = "SCRAPPED"))
Best regards, Barbara
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!