+ Reply to Thread
Results 1 to 2 of 2

IF Statement with Column of Time Values to Toggle Input Cell

  1. #1
    Registered User
    Join Date
    02-03-2013
    Location
    New Haven, CT
    MS-Off Ver
    Excel for Mac
    Posts
    14

    IF Statement with Column of Time Values to Toggle Input Cell

    So, I have a series of 1000 consecutive arrival times from midnight to midnight in hh:mm form on one spreadsheet called Arrivals. On the preceding worksheet, I have an input cell for a formula for computations, which I'd like to make time-of-day dependent, that is, the input cell be 1 between midnight and 08:00 and 4 between 08:00 and midnight.
    I've tried to do this with the formula =IF(Arrivals!A1:A1000>=HOUR(8),4,1) and it doesn't seem to work. Any suggestions?

  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256

    Re: IF Statement with Column of Time Values to Toggle Input Cell

    Might be a start.
    //Ola

    =IF(A1<8/24,1,4)
    00:00 - 07:59 --> 1
    08:00 - 24:00 --> 4
    Mark the problem as Solved under the Yellow bar up Top right, under Thread Tools, when you received a solution.
    It saves time, to skip already solved threads.

+ 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