dv8123456789
New Member
- Joined
- Sep 26, 2017
- Messages
- 5
Hi - I have a tab within excel that is an assignment list which details people and effective dates\rates. There are multiple people and one person may have more than one line if their rate changes mid year.
I then have a tab containing timesheet data for various people and I want to be able to look up for a particular person based on the date worked what the rate should be so I can calculate the cost.
I have seen vlookups with a true condition that fit within a range, but I cannot see how this will work given that I need it to effectively filter by person before doing the range lookup. I'm thinking perhaps sumifs of the rate if the person in the timesheet data =person in the rates table and the effective date is less than the date worked, but that could still apply to multiple rate lines so I need to narrow it down further ideally by finding the right person and then max of the effective date that is still earlier than the time date worked. Any ideas? Any help would be greatly appreciated
I then have a tab containing timesheet data for various people and I want to be able to look up for a particular person based on the date worked what the rate should be so I can calculate the cost.
I have seen vlookups with a true condition that fit within a range, but I cannot see how this will work given that I need it to effectively filter by person before doing the range lookup. I'm thinking perhaps sumifs of the rate if the person in the timesheet data =person in the rates table and the effective date is less than the date worked, but that could still apply to multiple rate lines so I need to narrow it down further ideally by finding the right person and then max of the effective date that is still earlier than the time date worked. Any ideas? Any help would be greatly appreciated