Lookup problem

ELVY1981

New Member
Joined
Dec 1, 2009
Messages
1
Sorry i'm new to this so if this is a bit vague or easy I'm sorry...

I have a list of of dates in column a, in no particular order, with a list of values in column b.

I then have a cell in column d which I am going to enter a target figure.

Once I have entered this target figure, I need a formula that looks at the figures in column b and returns the latest date (column a) that is less than or equal to the target figure value.

I hope this makes sense....
 

Some videos you may like

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

NBVC

Well-known Member
Joined
Aug 31, 2005
Messages
5,828
=Max(If(A1:A100<=D1,B1:B100))

Confirmed with CTRL+SHIFT+ENTER, not just ENTER. You will see { } brackets appear around the formula.

This will returned the Latest date (closest to today's date) that has a value in column A that is less than or equal to the value in D1.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,233
Messages
5,594,963
Members
413,954
Latest member
mrsandy

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