COUNTIFS and Date Range
Hi! I want to be able to create a formula that says:
COUNTIFS Employee Status equals "Active" AND Employee Type Equals "Full Time", but falls within the month of March (or any month after that)
Please help! Thanks!
Answers
-
Try something like this...
=COUNTIFS([Employee Status]:[Employee Status], @cell = "Active", [Employee Type]:[Employee Type], @cell = "Full Time", [Date Column]:[Date Column], @cell >= DATE(2021, 03, 01))
-
Thanks Paul,
Below is the formula I typed in which works! But I am hoping to have this number give me from the range of March 1st - march 31.
=COUNTIFS({GB Users Source Sheet Range 1}, @cell = "Active", {GB Users Source Sheet Range 5}, {GB Users Source Sheet Range 4}, @cell >= DATE(2021, 3, 1))
-
You should actually be getting an error for that formula because you go
range/criteria/range/range/criteria
The criteria for a specific month within a specific year would be this...
AND(IFERROR(MONTH(@cell), 0) = 3, IFERROR(YEAR(@cell), 0) = 2021)
=COUNTIFS([Employee Status]:[Employee Status], @cell = "Active", [Employee Type]:[Employee Type], @cell = "Full Time", [Date Column]:[Date Column], AND(IFERROR(MONTH(@cell), 0) = 3, IFERROR(YEAR(@cell), 0) = 2021))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!