carlosrojaspdx
New Member
- Joined
- Jul 8, 2009
- Messages
- 13
Please help. I've been searching and trying different index/match formulas, but I can not get this right. I need to find the closest date of status change to the payroll date.
<colgroup><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>If my payroll start date is 8/1/2014, how to do I write a formula that will give me the most current FTE based on the date that is the closest to the payroll start date (8/1/2014), and will continue to give me last FTE change for all the rest of the employees?
Hope that makes sense. Thank you in advance for your help.
EE Name | Status Change | FTE | Employee Name | Payroll Start Date | <== Lookup criteria | |
John Doe | 5/5/2014 | 1.00 | John Doe | 8/1/2014 | ||
Hillary Clinton | 7/10/2014 | 1.00 | ||||
Bernie Sanders | 9/25/2014 | 0.50 | goal is to get ==> | 0.50 | ||
Marco Rubio | 6/12/2014 | 0.80 | from cell C6 | |||
John Doe | 7/15/2014 | 0.50 | ||||
Lookup values: 1 = Employee Name, 2 is payroll date: |
<colgroup><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
Hope that makes sense. Thank you in advance for your help.