How to calculate attrition rate

harrinho

New Member
Joined
Mar 10, 2017
Messages
21
I want to calculate the attrition rate in the following data set

effective_datehire_dateUNIQUE_IDemp_idfull_name
30-04-1629-11-10703621Peter Jones703621Peter Jones
31-07-1629-11-10703621Peter Jones703621Peter Jones
31-10-1629-11-10703621Peter Jones703621Peter Jones
30-04-1613-06-11703778Shannon James703778Shannon James
31-07-1613-06-11703778Shannon James703778Shannon James
31-10-1613-06-11703778Shannon James703778Shannon James
30-04-1614-03-11704287John App704287John App
31-07-1614-03-11704287John App704287John App
31-10-1614-03-11704287John App704287John App
30-04-1605-07-11705704Lauren Tale705704Lauren Tale
31-07-1605-07-11705704Lauren Tale705704Lauren Tale
31-10-1605-07-11705704Lauren Tale705704Lauren Tale
30-04-1606-09-11706291Rav Deep706291Rav Deep
31-07-1606-09-11706291Rav Deep706291Rav Deep
31-10-1606-09-11706291Rav Deep706291Rav Deep
30-04-1610-03-14706560Jake Bryan 706560Jake Bryan
30-04-1605-12-11707098Dina Moore707098Dina Moore
31-07-1605-12-11707098Dina Moore707098Dina Moore
31-10-1605-12-11707098Dina Moore707098Dina Moore
30-04-1630-01-12707803Shirley Jones707803Shirley Jones
31-07-1630-01-12707803Shirley Jones707803Shirley Jones
31-10-1630-01-12707803Shirley Jones707803Shirley Jones
30-04-1604-09-12708136David Juxy708136David Juxy
31-07-1604-09-12708136David Juxy708136David Juxy
31-10-1604-09-12708136David Juxy708136David Juxy
30-04-1626-03-12708364Jennifer Nolan 708364Jennifer Nolan
31-07-1626-03-12708364Jennifer Nolan 708364Jennifer Nolan

<colgroup><col span="2"><col><col><col></colgroup><tbody>
</tbody>
As you can see the patter is that there is a record every 3 months, so when an employee is not recorded in the next record (effective date) it means he/she has left the company. So, in my opinion I'd need a new column that would flag or count those employees. For example, the red highlighted employees should be counted to those who left since they are not recorded in next months record.

Can that be done without a VB macro?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
For this particular dataset, put the following formula in cell F2 and drag-copy down. The formula returns "Departed" for the employees who have left the company.

=IF(MOD(COUNTIF($D$2:$D$28,$D2),3),"Departed","")
 
Upvote 0
For this particular dataset, put the following formula in cell F2 and drag-copy down. The formula returns "Departed" for the employees who have left the company.

=IF(MOD(COUNTIF($D$2:$D$28,$D2),3),"Departed","")
Man you are a genius. What I don't get is what is the criteria in MOD, I mean shouldn't be like:
=IF(MOD(COUNTIF($D$2:$D$28,$D2),3<1),"Departed","")?
 
Upvote 0
The formula from Post #2 is functionally identical to:

=IF(MOD(COUNTIF($D$2:$D$28,$D2),3)<>0,"Departed","")

It works the same way with the <>0 and without it.
 
Upvote 0

Forum statistics

Threads
1,215,737
Messages
6,126,573
Members
449,318
Latest member
Son Raphon

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