Count Unique Cells that meet a certain criteria
I am looking for a formula to count the number of items - "Sales - Service Labour" occur in a series, on unique invoice numbers.
I have tried this formula with no success
=COUNTIFS(DISTINCT([Invoice Number]:[Invoice Number]), Account:Account, "Sales - Service/Labour")
Best Answer
-
Hi
Try this
=COUNT(DISTINCT(COLLECT([Invoice Number]:[Invoice Number], Account:Account, "Sales - Service/Labour")))
cheers,
Kelly
Answers
-
Hi
Try this
=COUNT(DISTINCT(COLLECT([Invoice Number]:[Invoice Number], Account:Account, "Sales - Service/Labour")))
cheers,
Kelly
-
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks Kelly, that worked, much appreciated.
Philip
-
Hi Mark, thanks for your contribution, which I can't seem to see now. I liked your approach because it reduces the complexity of the process
-
Hi Phil, I removed my response when I saw that Kelly already answered with an awesome solution. I learned how to do COUNT(DISTINCT(COLLECT..
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 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!