COUNTIFS Issues
I am having problems getting COUNTIFS to work. I have two different formulas I am trying to set-up in different columns. I would also like cells that return as zero to change to blank. Does anyone know how I can fix my formulas and also set them up for "0" to change to blank?
1.) I need a formula that counts the amount of registrants from a specific clinic within a specific town.
=COUNTIFS({OKFresh Enrollment Form Range 1}, =[Primary Column]@row, {OKFresh Enrollment Form City}, "Oklahoma City")
2.) I also need to count the amount of registrations per clinic per year. I am having the same problem with this as above.
=COUNTIFS({OKFresh Enrollment Form Clinics}, =[Primary Column]@row, {OKFresh Enrollment Form Created}, YEAR({OKFresh Enrollment Form Created}) = 2020)
Answers
-
Hi @Abbey Owens
I hope you're well and safe!
Try something like this.
1.
=IF(COUNTIFS({OKFresh Enrollment Form Range 1}, [Primary Column]@row, {OKFresh Enrollment Form City}, "Oklahoma") = 0, "", COUNTIFS({OKFresh Enrollment Form Range 1}, [Primary Column]@row, {OKFresh Enrollment Form City}, "Oklahoma"))
2.
=(COUNTIFS({OKFresh Enrollment Form Clinics}, [Primary Column]@row, {OKFresh Enrollment Form Created}, YEAR(@cell) = 2020))
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 support the Community by marking it Insightful/Vote Up or/and as the accepted answer. 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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 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!