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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!