+ Reply to Thread
Results 1 to 4 of 4

Finding out if order time is beyond or within the shift using excel formula

Hybrid View

  1. #1
    Registered User
    Join Date
    11-23-2022
    Location
    Philippines
    MS-Off Ver
    MS 2013
    Posts
    1

    Question Finding out if order time is beyond or within the shift using excel formula

    Is there any formula that can read a graveyard shift? I already made a formula but it only works for day shift. Please see the attached file. Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Finding out if order time is beyond or within the shift using excel formula

    Perhaps F3 formula:

    =IF(AND(IF($E3<$C3,$E3+1,$E3)>=$C3,IF($E3<$C3,$E3+1,$E3)<=IF($D3<$C3,$D3+1,$D3)),"ordered w/in shift","ordered beyond shift")
    Also correct your times that are showing "am".

    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Finding out if order time is beyond or within the shift using excel formula

    Or try
    Formula: copy to clipboard
    =IF((D3>E3)*(E3>C3)+(C3>D3)*(D3>E3)+(E3>C3)*(C3>D3),"ordered w/in shift","ordered beyond shift")
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,659

    Re: Finding out if order time is beyond or within the shift using excel formula

    IN G3 copy down.
    =IF(MEDIAN(C3,D3,E3)=E3,"ordered w/in shift","ordered beyond shift")
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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. Replies: 1
    Last Post: 07-13-2019, 01:12 PM
  2. [SOLVED] Complicated (to me) Formula Finding/Matching order # in different sheets
    By berman53 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-23-2015, 12:09 PM
  3. Replies: 4
    Last Post: 09-24-2013, 11:32 AM
  4. [SOLVED] Excel Formula to Show Type of Shift Based on Start and End Time
    By bjnockle in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 07-03-2013, 09:48 PM
  5. Need Help on Time Sheet Formula (Day Shift OK/Night Shift=Problem)
    By jomapac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-18-2013, 02:26 AM
  6. Day shift/night shift time calculation issue
    By STATEXCEL in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-31-2007, 08:48 AM

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