Formula Help

J

-Julie

I need help creating a formula, please. If column a contains today() and
column b contains dates and column c contains a number, I want the formula to
look at today's date and find the date closest but not higher than today and
return the corresponding number. In this case, I want an answer of "2"
returned.
A B C
1 06/11/2009 05/15/2009 1
2 05/31/2009 2
3 06/15/2009 3
 
J

-Julie

Thanks, that works! But can you translate that for me? Tell me what the
formula is looking at once it gets to column B. This will help me in the
future.
 
M

Max

That's good. Could you spare a moment to click the YES button in that response?

The expression, with the range lookup param omitted, sets it for an approx
match to be found in col B for the lookup date in A1. This requires that the
table array be sorted in ascending order by its 1st col, ie by col B. Pl
check Excel's HELP on VLOOKUP for more details.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top