Need Help With Formula

khedger

New Member
Joined
Mar 15, 2017
Messages
2
I am trying to come up with a formula that will tell me when someone should be written up according to our policy. I have attached a copy of our policy and a copy of our excel spreadsheet that tracks tardies and unexcused absences. I'm struggling to find a formula that would fit. I'd like it to tell me when they have earned enough incidents within a certain time period and then show me the result, such as "1st Written Warning" or whatever the corresponding discipline is. Can anyone help??

72550f3b9ee867dbbc7b04da4c88fbb4.jpg
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Welcome to the forum.

If you would post some sample data together with expected result, we could conduct experiments. See my signature below to find out how.
 
Upvote 0
So, in the example I posted, John has had a total of 10 incidents within the last 10 months, which means I should get a result of "Possible Termination". We have a rolling schedule so the Tardy from 2/6/16 & 4/20/16 should be dropped off because it has been more than 10 months. Does this make sense? I need to know when an employee hits a certain mark and what level that would put them at, but I need the old dates (dates past 10 months) to drop off. Not sure if this helps....
 
Upvote 0
How's this?


Excel 2010
ABCDEFGH
1# of IncidentsTime Frame (mo.)Disciplinary ActionEmployee NameStart DateType of LeaveIncidents
222Document ReminderO'Donnell, John2/16/20160.5
3341st Written WarningO'Donnell, John4/20/20160.5
4462nd Written WarningO'Donnell, John5/18/20161
558Sent home without payO'Donnell, John6/16/20161
6610TerminationO'Donnell, John7/8/20160.5
7O'Donnell, John8/10/20161
8Employee NameIncidents in past 10 monthsActionO'Donnell, John10/10/20161
9O'Donnell, John10TerminationO'Donnell, John11/14/20161
10O'Donnell, John11/29/20161
11O'Donnell, John12/1/20161
12O'Donnell, John1/10/20170.5
13O'Donnell, John2/27/20171
14O'Donnell, John3/6/20170.5
15O'Donnell, John3/15/20170.5
Sheet1
Cell Formulas
RangeFormula
B9=SUMIF(F:F,">="&EDATE(TODAY(),-10),H:H)
C9=LOOKUP(B9,B2:B6,C2:C6)
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,602
Members
449,089
Latest member
Motoracer88

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