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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!