+ Reply to Thread
Results 1 to 5 of 5

Return the Cell Value if it falls between either of two times of day

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    3

    Return the Cell Value if it falls between either of two times of day

    I have a column with various times listed throughout the day that an event occured. I'm trying to separate out the times that fall between 11pm and 5am from this set. However, in the new column that will hold the formula I want it to display the actual times that it found (ie, return 1:03 AM instead of simply True or some other thing I would set). I want it to list all of the actual values that fall between these times.

    Further information in case it helps:

    So far I have tried creating a set of 2 rows labelled under a heading of "Time" like this, but I'm not sure how to use it properly in a formula to return the values in my other time column:

    Time Time
    >=11:00 PM <=11:59 PM
    <5:00:00 AM >12:00 AM

    That was done with the hope that it would cover 11p-5a without any errors or omissions and be used within a formula as some sort of criteria.

    Please let me know if you can help out with a formula to return the actual values between 11p and 5a.

    Also let me know if you need any other information that I may have left out.

    Thanks!!!

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Return the Cell Value if it falls between either of two times of day

    Could you attached your spreadsheet?

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Return the Cell Value if it falls between either of two times of day

    Quote Originally Posted by dewilk View Post
    Could you attached your spreadsheet?
    The spreadsheet is attached - thanks!!Time Sheet.xlsx

  4. #4
    Registered User
    Join Date
    07-11-2012
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Return the Cell Value if it falls between either of two times of day

    Any insight now that this is attached?

    Thanks,
    NYCT

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Return the Cell Value if it falls between either of two times of day

    Hi NYCT, everyone being a volunteer here and helping others for free on their spare time, a little more patience would be welcome

+ 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