+ Reply to Thread
Results 1 to 3 of 3

Time Lookup

  1. #1
    Registered User
    Join Date
    06-15-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    45

    Time Lookup

    I have a set of data with times in one column and corresponding data in an adjacent column. It is at 1-minute intervals. How can I build a formula where I can have another cell show what the data value is for the corresponding current time?

    To clarify more, my A column has 7:00 AM - 7:00 PM at 1-minute intervals and my B column has data for each interval. I want to show in another cell the data that reflects current time.
    Thanks.
    Last edited by seanyc; 06-19-2012 at 05:02 PM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Time Formula

    Hi Seanyc, perhaps try:

    =VLOOKUP(TIME(HOUR(NOW()),MINUTE(NOW()),0),A1:B721,2,0)

    If you get an #N/A error, select A1:A721 and click Data > Text-to-Columns > Finish.

  3. #3
    Registered User
    Join Date
    06-15-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    45

    Re: Time Lookup

    perfect. Thank you.

+ 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