+ Reply to Thread
Results 1 to 3 of 3

Value with Corresponding Date if Falls Within Range of Dates

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Connecticut
    MS-Off Ver
    Excel for Mac 2011
    Posts
    15

    Value with Corresponding Date if Falls Within Range of Dates

    Hi,

    I have a list of dates that need to be linked up with their corresponding value, in this case Gas Price. The Gas price is different every week and change on a Monday. The dates that I have are any day of the week which causes difficulty.

    I have attached a sample, my actual file has 200 dates, which is why I don't want to do it manually.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Value with Corresponding Date if Falls Within Range of Dates

    Try this formula...
    =VLOOKUP(B4,$A$4:$D$118,4,1)

    The "1" means an approximate amount (but not over), so your table has to be sorted by date ascendingly.

    Hope that helps,
    Dennis

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    Connecticut
    MS-Off Ver
    Excel for Mac 2011
    Posts
    15

    Re: Value with Corresponding Date if Falls Within Range of Dates

    Great, thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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