Count if with dates
I am trying to count new hires for 2022. My formula is =countif({Hire Date},=>Date(01,01,2022)), but it comes back unparsable, any ideas?
Best Answer
-
Hi @CAKutsh
The operators will need to be in a different order as well. When you're adding = to > or <, it should go after your greater than sign.
=COUNTIF({Date of Hire}, >= Date(2022, 01, 01))
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
you are gonna love this:
DATE(2022, 1, 1)
-
Thank you for your response. I typed in =COUNTIF({Date of Hire},=>Date(2022, 1, 1))and it is still unparsable - any ideas?
-
Hi @CAKutsh
The operators will need to be in a different order as well. When you're adding = to > or <, it should go after your greater than sign.
=COUNTIF({Date of Hire}, >= Date(2022, 01, 01))
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Holy heck! Yes that worked, thank you! May I put you on speed dial ;)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!