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 information? 👀 | 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 information? 👀 | 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
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 153 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!