Hi guys,
so i am trying to use countifs function to count number of people with multiple criteria.
this is the formula i am using:
=-COUNTIFS($C:$C,"Controller",$D:$D,"temp",$E:$E,"may-20",$F:$F, "may-20")
[(=-countifs(criteria range1,"criteria1",criteria range2,"criteria2",criteria range3,"criteria3",criteria range4,"criteria4")]
this uses the person's job role, contract type, start date and end date as criteria.
so i am trying to use countifs function to count number of people with multiple criteria.
this is the formula i am using:
=-COUNTIFS($C:$C,"Controller",$D:$D,"temp",$E:$E,"may-20",$F:$F, "may-20")
[(=-countifs(criteria range1,"criteria1",criteria range2,"criteria2",criteria range3,"criteria3",criteria range4,"criteria4")]
this uses the person's job role, contract type, start date and end date as criteria.
- Previously, it looked like it was working well but then i realized if the start date is anything different than 01-may-20 similarly the end date if anything different from 01-may-20, it won't count as the criteria is not fulfilled and i get 0 as answer.
- I tried using ">=may-20" and also changed to "=>may-20" but it would only consider the sign exactly infront of may; sign at the very beginning of the criteria is ignored.
- "=01-may-20:31-may-20" tried this but was unsuccessful to achieve the desired result.
- in the above experiment date was set to 15-may-20.
- When ">" sign is used all the date of the month are counted but 01-may-20 will be ignored.
- I need a way to put the date range as a criteria so that any date of that particular month is okay to fulfill the criteria.