+ Reply to Thread
Results 1 to 5 of 5

Comparing Start and End times to a different field

  1. #1
    Registered User
    Join Date
    02-25-2016
    Location
    Chicago, Il
    MS-Off Ver
    365
    Posts
    5

    Comparing Start and End times to a different field

    Howdy. I'm trying to find a way to look at overlaps between "Overtime" scheduled and have it flag if there's "Coaching" time during one of the Overtime times listed. I've pulling these segments from a report.

    Any help is appreciated.
    Attached Files Attached Files
    Last edited by mike182; 06-28-2018 at 06:32 PM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2405
    Posts
    13,430

    Re: Formula Help

    mike182,

    Please check the forum rules.

    You'll need to change your thread title to something more descriptive before Mod/Admin comes along an locks contributors out until you do.

    In the meantime I'll have a look.
    Dave

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,181

    Re: Comparing Start and End times to a different field

    Thanks for changing the title.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    02-25-2016
    Location
    Chicago, Il
    MS-Off Ver
    365
    Posts
    5
    Quote Originally Posted by FlameRetired View Post
    mike182,

    Please check the forum rules.

    You'll need to change your thread title to something more descriptive before Mod/Admin comes along an locks contributors out until you do.

    In the meantime I'll have a look.
    Thank you!

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,818

    Re: Comparing Start and End times to a different field

    Assuming that cell I12 should display 'Yes'
    1) Change the values in Columns K:L of the Overtime sheet to numeric values (I used the paste special > multiply method)
    2) Apply custom formatting: m/d/yyyy h:mm
    3) Change the values in columns K:L of the Coaching sheet to numeric values
    4) Apply the custom formatting again
    5) Apply the same custom formatting to columns E:H on the Requires Attention sheet
    6) Modify the formula in I2 and down to read: =IF(AND(E2<=H2,F2>=G2),"Yes","No")
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  3. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  4. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  5. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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