Search Rate of Employee from External Table

Nicole Jones

New Member
Joined
Oct 22, 2016
Messages
35
Office Version
  1. 365
Platform
  1. Windows
I am at a loss as how to return the Rate of an employee that corresponds to the transaction date.

My table has the Employees Name multiple times as their rate has changed over the years, each entry has a Start and End date to define when the Rate is/was current for.

Can someone please help me with a formula to look at the employees name, then pull the rate for the employee when the transaction date lies in between the start and end date.

There are two tables. the Transaction Table with the hours booked giving the transaction date, and the second is the Rates Table that houses the rates over the years.

Sorry this is so confusing
 
Something like this...Note Employee C returned 0 because out of range.
Book4
ABCDEFGH
1Employee NameStartEndRateEmployee NameTransaction DateRate
2A1/1/236/30/235A8/1/2310
3A7/1/236/30/2410B6/5/2414
4A7/1/248/31/2415C8/1/250
5A9/1/2412/31/2420A1/1/235
6B1/1/236/30/237
7B7/1/236/30/2414
8C1/1/2312/31/2418
Sheet2
Cell Formulas
RangeFormula
H2:H5H2=MAXIFS($D$2:$D$8,$A$2:$A$8,F2,$B$2:$B$8,"<="&G2,$C$2:$C$8,">="&G2)
 
Upvote 0
Solution
It's not transferable but PQ has the ability to replace the result.
 
Upvote 0

Forum statistics

Threads
1,226,795
Messages
6,193,047
Members
453,772
Latest member
aastupin

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