Picking a date from a range of dates

jgroetsch

New Member
Joined
Aug 9, 2007
Messages
2
Hi all I am new to the list so please be patient with me.

I have a list of birthdays in colum J I have a list of dates in a range ex:

N O P
U10 8/1/1997 7/31/1998
U11 8/1/1996 7/31/1997

I need to return the correct code in column N based on the date in column J. I have tried all the sugestions on the list but could not find the exact example I am trying to accomplish.

Any help would be greatly apprecrated! :biggrin:
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
Welcome to the Board!

I'm not entirely clear what you want, but this may be a start:
Book2
NOPQ
1Code #Date 1Date 2
2U108/1/19977/31/1998
3U118/1/19967/31/1997
4
5
6Lookup DateCode #
77/31/1998U10
Sheet1


Hope that helps,

Smtty
 
Upvote 0

jgroetsch

New Member
Joined
Aug 9, 2007
Messages
2
N/A returned

I tried this formula but did not work, this might show what I am trying to do better.

J K L M N
11/5/1995 #N/A U10 8/1/1997 7/31/1998
7/25/1996 U11 8/1/1996 7/31/1997
12/2/1994 U12 8/1/1995 7/31/1996
1/9/1995 U13 8/1/1994 7/31/1995
1/13/1997 U14 8/1/1993 7/31/1993

I need j1 to return the code U12

=INDEX(L2:L6,MATCH(J2,M2:N6,0),0)
 
Upvote 0

Forum statistics

Threads
1,191,187
Messages
5,985,192
Members
439,947
Latest member
fabiannic

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
Top