+ Reply to Thread
Results 1 to 3 of 3

Lookup value for certain time

  1. #1
    Forum Contributor
    Join Date
    06-24-2008
    MS-Off Ver
    2007
    Posts
    139

    Lookup value for certain time

    I have time values in column B, prices in column C.
    I want to place whatever price showing in cloumn C at 7am into cell G3.

    What function do I need to use to accomplish this?
    Last edited by novice2430; 11-02-2008 at 07:00 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Assuming the times in column B have times only (no dates), and that there is an exact match, you could use

    =VLOOKUP("7:00"+0, B1:C10, 2, FALSE)

    If the times are in ascending order and you want the latest time not past 7AM,

    =VLOOKUP("7:00"+0, B1:C10, 2)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    06-24-2008
    MS-Off Ver
    2007
    Posts
    139
    That will work! Thanks again shg!

+ 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