Using COUNTIFS
Hi All,
Newbie posting. Been using smartsheet for my projects and keen to delve more into the reporting side for Board information. I have a Smartsheet that I use to record installs of certain types of products, we have three different types. I have used a formula to count the number of each type of product with an example below:
=COUNTIF(Product:Product, ="Big Yin")
The above is working fine. Recent price changes have resulted in me being asked to report on each product installed from a certain date, 27/06/21, below is the formula I have at the moment that does not work:
=COUNTIFS(Product:Product, ="Big Yin", AND(>=DATE(2021, 6, 26)))
Getting IVALID OPERATION and no idea why, probably something obvious. Any help greatly appreciated.
Best Answers
-
Try somethign more like this...
=COUNTIFS(Product:Product, ="Big Yin", [Install Date]:[Install Date], @cell >= DATE(2021, 6, 26))
-
You would add in another range/criteria set following the syntax of the other two range/criteria sets.
=COUNTIFS(Product:Product, ="Big Yin", [Install Date]:[Install Date], @cell >= DATE(2021, 6, 26), Complete:Complete, @cell = "Yes")
Answers
-
Try somethign more like this...
=COUNTIFS(Product:Product, ="Big Yin", [Install Date]:[Install Date], @cell >= DATE(2021, 6, 26))
-
Thank you so much Paul, worked a treat.
One other question though and something I should of mentioned in my original post. There is a another column called Complete that should return either a Yes or No answer. I want to only count those entries in the Smartsheet that meet the conditions in your provided formula and also have "Yes" marked in this column, how can I work that in?
Thank you again for your help, it much appreciated.
Kenny
-
You would add in another range/criteria set following the syntax of the other two range/criteria sets.
=COUNTIFS(Product:Product, ="Big Yin", [Install Date]:[Install Date], @cell >= DATE(2021, 6, 26), Complete:Complete, @cell = "Yes")
-
Thanks again Paul, works perfectly. I did try the syntax but must of been making an error somewhere. Thank you so much.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!