Finding a title in a range of multiple dates

sk1mcguire

New Member
Joined
Jun 1, 2007
Messages
32
Office Version
  1. 2013
Platform
  1. Windows
Hello Sirs!

I have a file that lists a title as of a certain date. In the columns I have Employee Number, Title, effective date of title. Take one for example:

Emp No Title Date
5298 Staff Acct 7FEB2007
5298 Staff Acct1 8MAR2009
5298 Asst Controller 12APR2010
5298 Controller 14JUL2011

In another file I have earnings for fiscal year 2016 which is 1APR15 to 31MAR16.

I have to do this for three fiscal years of earnings FY16, FY17 and FY18. All in separate files.

I need to return the title that was in effect as of 31MAR16. For employee 5298 it would be Controller

I hope this isn't too confusing and I have presented a clear picture!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Your example data implies that all Emp No. will be together in the file, ie 5298 will not occur later in the file.
Is this the case?

Are these dates text values or proper dates?
 
Last edited:
Upvote 0
Thanks Special-k99!

That is correct sir. 5298 will be sorted all together and the dates will be proper dates ie 04/30/2015 (US Format)

Thanks so much!!

Jonathan
 
Upvote 0
Does this work?

=VLOOKUP(E1,C1:C4,1,1)

where E1 is Title and C1:C4 is the start date
 
Upvote 0
That does it!!!!

Thanks a million Special-K99.

God Speed - Jonathan
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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