+ Reply to Thread
Results 1 to 2 of 2

IF Statement finding the value between two times

  1. #1
    Registered User
    Join Date
    12-16-2014
    Location
    Houston
    MS-Off Ver
    2013
    Posts
    24

    IF Statement finding the value between two times

    Here is what I am trying to do.

    I am trying to find if a number falls between two different times can the result show the shift.

    Reference
    Shift1=0600-1400
    Shift2=1400-2200
    Shift3= 2200-0600

    A B
    Hour Result
    17 Shift2
    06 Shift1

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF Statement finding the value between two times

    With shift in E2:E5 and Start time in F2:F5

    With Hour in A2, in B2 copied down

    =INDEX($E$2:$E$5, MATCH(A2/24, $F$2:$F$5))
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Finding an Average for times
    By hrshu in forum Excel General
    Replies: 4
    Last Post: 07-12-2015, 01:18 PM
  2. [SOLVED] Finding the sum of conditionally formatted times
    By csullyrun in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-06-2014, 08:37 PM
  3. [SOLVED] Excel 2007 : Finding a corresponding value multiple times
    By suaravi in forum Excel General
    Replies: 6
    Last Post: 07-17-2012, 07:17 AM
  4. finding # hrs between 2 date times
    By TechRetard in forum Excel General
    Replies: 10
    Last Post: 04-18-2010, 02:04 PM
  5. Finding values which appear an odd # of times
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2010, 11:08 PM
  6. Finding values between certain times
    By kethyar in forum Excel General
    Replies: 2
    Last Post: 04-06-2008, 03:11 PM
  7. Finding different between 2 dates and times
    By Geuis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-21-2005, 07:44 PM

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