Re: Looking up a value using a range

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Assuming that A1:B3 contains your table, try...

=LOOKUP(D1,LEFT(A1:A3,10)+0,B1:B3)

....where D1 contains the date of interest. However, it would be more
efficient if you changed your table so that A1:A3 contains...

1/1/06
1/6/06
1/11/06

....and B1:B3 contains the corresponding values...

1/5/06
1/10/06
1/15/06

Then you can use the following formula instead...

=LOOKUP(D1,A1:A3,B1:B3)

Hope this helps!

In article <Nokose451.21qvsn_1137444005.9811@xxxxxxxxxxxxxxxxxxxxx>,
Nokose451 <Nokose451.21qvsn_1137444005.9811@xxxxxxxxxxxxxxxxxxxxx>
wrote:

> Hello all. I hope someone can help me figure this one out. So here we
> go....
>
> I have a spread sheet that you plug in a date and then enter another
> date manually. The second date is the on I would like to automate. I
> need the first date to be complared in a range of dates and then return
> the effective date.
>
> Example:
> Entered date - 01/08/2006
>
> Range Table: Effective:
> 01/01/2006 - 01/05/2006 01/05/2006
> 01/06/2006 - 01/10/2006 01/10/2006
> 01/11/2006 - 01/15/2006 01/15/2006
>
> I would like it to return the 01/10/2006 effective date for that range.
> Any help is appreciated.
.



Relevant Pages

  • Return a specified date when it falls within a range....
    ... I have a spread sheet that you plug in a date and then enter another ... Nokose451's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30528 ... Prev by Date: ...
    (microsoft.public.excel.misc)
  • Looking up a value using a range
    ... I have a spread sheet that you plug in a date and then enter another ... Nokose451's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30528 ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • problem adding
    ... My spread sheet ... rvnwdr's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=23903 ... Prev by Date: ...
    (microsoft.public.excel.misc)
  • RE: How do I import several text files into excel or access ?
    ... > I receive hundreds of text files daily that i have to convert to excel. ... > can I automate the process so that i dont have to manually open every text ... Prev by Date: ...
    (microsoft.public.excel.misc)
  • Re: Techie help required pls
    ... Pulled the plug and all was well. ... Gander. ... that's why I don't take my wife out. ... Prev by Date: ...
    (uk.people.silversurfers)