+ Reply to Thread
Results 1 to 3 of 3

Lookup function for dates

  1. #1
    Registered User
    Join Date
    07-09-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    3

    Lookup function for dates

    Hi,

    I have a table which includes a range of start and end dates along with a tariff rate applicable to those dates, e.g.,

    Col A Col B Col C
    Start Date End Date Rate
    01/04/2010 31/03/2011 21.5
    01/04/2011 31/03/2012 26.5

    I want to lookup the relevant rate based on a date in another cell. I think that I should be able to use a lookup function to do this, but can't work out how - can someone help please?

    regards
    Dave
    Last edited by stevendt; 03-06-2011 at 02:57 PM. Reason: Solved

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Lookup function for dates

    Assuming the lookup table is in columns A to C, try:

    =VLOOKUP(E2,A:C,3)

    where the date to be looked up is in cell E2. Adjust ranges as necessary.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-09-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Lookup function for dates

    Great !

    Thanks very much - works a treat

    regards
    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1