how to get a count of attrition when employee was less than 15 days in the system

zorg2780

New Member
Joined
Dec 21, 2013
Messages
20
Hi team

looking at getting the count of employees that have attrited, e.g. in cell A1...

this can only be done if the agent (found in range C1:C42) were present for less than 15 days but more than 0 days..

i have used this formula but all i get is a value error. please help

=IF(E21:E62="Resigned",IF(E21:E62="NCNS",COUNTIFS(C21:C62,">0",C21:C62,"<15"),""))
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi team

looking at getting the count of employees that have attrited, e.g. in cell A1...

this can only be done if the agent (found in range C1:C42) were present for less than 15 days but more than 0 days..

i have used this formula but all i get is a value error. please help

=IF(E21:E62="Resigned",IF(E21:E62="NCNS",COUNTIFS(C21:C62,">0",C21:C62,"<15"),""))

Perhaps...

=SUM(COUNTIFS(E21:E62,{"Resigned","NCNS"},C21:C62,">0",C21:C62,"<15"))
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top