Count if formulas
Hello,
I have a fairly simple formula that I need assistance with. I have a 'Date completed' column (UK Date format) and a check box column, 'Test1'. I want to do a count in a separate cell for all the rows that have check boxes ticked for within specified month period. E.g. Count the number of test completed in May. I will be linking to a separate sheet but should be able to work that in with the assistance of smartsheet.
Thank you
Amanda
Comments
-
Linking from a different sheet, the formula would look something like this...
=COUNTIFS({Data Sheet Checkbox Column}, 1, {Data Sheet Date Column}, IFERROR(MONTH(@cell), 0) = ##)
where you would just have to change the ## to the appropriate month number you are looking for.
-
Hello Paul,
Thank you for your response however this is not working when i reference the cells require, have i made an error somewhere?:
=COUNTIF(Health Checks Range 2}, 1, ({Health Checks Range 15},IFERROR(MONTH(@cell), 0) = 05)
'HealthChecks Range 2' is the check box column and 'Health Checks Range 15' is the date column (I have checked the references for these columns are correct). The date format is showing as 23-May-2019 if that makes any difference.
Many thanks for your assistance.
-
Hi Amanda,
You missed an S for COUNTIFS. Try this.
=COUNTIFS(Health Checks Range 2}, 1, ({Health Checks Range 15},IFERROR(MONTH(@cell), 0) = 05)
Did it work?
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
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.
-
Thank you. Just need a bit of tweaking with the brackets but now works: =COUNTIFS({Health Checks Range 2}, 1, {Health Checks Range 15}, IFERROR(MONTH(@cell), 0) = 5)
-
Excellent!
Happy to help!
Sorry about the missing the brackets.
Best,
Andrée
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.
-
Glad we were able to get it working for you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!