VLOOKUP in a Range of Dates?

SAMCRO2014

Board Regular
Joined
Sep 3, 2015
Messages
160
I don't even know if a macro can help me with this. I have a listing of employees showing their annual pay rates by a range of dates. I need to be able to look up a date within those ranges. For example:

Employee # Start Date End Date Annual Salary

Employee 123 2018.04.01 2018.06.15 $50,000
Employee 123 2018.06.16 2018.10.31 $53,000
Employee 123 2018.11.01 2019.03.31 $57,000

I need to be able to find the Annual salary for the date of 2018.08.01 and 2019.02.03 for overtime worked that day.

This is a simplified example. There are several employee numbers who all have different start and end dates.

Can a macro help me do this? I have no idea where to even start.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
take a look at SUMPRODUCT. If you can work it through great if not copy some data (Remove names) showing which columns etc your using.
 
Upvote 0

Forum statistics

Threads
1,223,706
Messages
6,173,998
Members
452,542
Latest member
Bricklin

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