+ Reply to Thread
Results 1 to 3 of 3

Determine IF a cell falls between certain time

Hybrid View

  1. #1
    Registered User
    Join Date
    01-14-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    7

    Determine IF a cell falls between certain time

    Hi,

    I'm trying to write a formula which will advise yes or no on whether a cell falls between the time 9-5 (or 09:00 - 17:00).

    Example Data

    M2= 14:26

    P2= Yes

    I tried - =IF(M9>="09:00"<"17:00","Yes","No") but it didn't work... Could someone please help? Thanks!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Determine IF a cell falls between certain time

    try
    =IF(AND(M9>="09:00"+0,M9<"17:00"+0),"Yes","No") instead
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    01-14-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Determine IF a cell falls between certain time

    Brilliant, works a treat. thank-you!!

+ 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. [SOLVED] Determine if value falls between multiple ranges
    By T15K in forum Excel General
    Replies: 4
    Last Post: 01-20-2021, 03:25 AM
  2. [SOLVED] Determine if time range falls within the day, evening, or an in between period
    By Jstark1956 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2014, 05:07 PM
  3. Replies: 4
    Last Post: 10-19-2013, 06:43 PM
  4. Determine if give string falls between ranges
    By jsimha in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-16-2012, 04:54 AM
  5. Replies: 3
    Last Post: 05-25-2012, 03:41 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