+ Reply to Thread
Results 1 to 6 of 6

Determining whether a time is less than another

  1. #1
    Registered User
    Join Date
    06-14-2005
    Location
    London
    MS-Off Ver
    2016
    Posts
    91

    Determining whether a time is less than another

    I have a field which records time in hh;mm:ss format, in the column next to it i want to determine whether or not the time is less than 30 secs (00:00:30), if it is the formulae should calculate to 1, if not 0

    But i can't get it to work in any format?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2007--2010
    Posts
    842

    Re: Determining whether a time is less than another

    Hi,
    try:
    =IF([@time]<=TIME(,,30),1,0)

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    19,671

    Re: Determining whether a time is less than another

    In Power Query, here is the Mcode

    Please Login or Register  to view this content.

  4. #4
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    28,111

    Re: Determining whether a time is less than another

    One way in E2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    06-14-2005
    Location
    London
    MS-Off Ver
    2016
    Posts
    91

    Re: Determining whether a time is less than another

    That worked a treat, thank you

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    19,671

    Re: Determining whether a time is less than another

    You have three responses. To whom are you addressing? And what about the others?

+ 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: 3
    Last Post: 08-12-2017, 01:48 AM
  2. Replies: 4
    Last Post: 10-08-2015, 08:21 AM
  3. Determining Time and Time Across 24h Periods
    By StormStrikes in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-19-2014, 07:15 AM
  4. Replies: 2
    Last Post: 08-26-2014, 07:42 AM
  5. [SOLVED] Determining if a reference time is within a certain time range
    By kweaver in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2012, 03:07 PM
  6. Determining maximum time value in mm:ss
    By greyscale in forum Excel General
    Replies: 11
    Last Post: 12-13-2010, 09:51 PM
  7. Determining if date/time falls within spanned time
    By Bytor47 in forum Excel General
    Replies: 5
    Last Post: 09-15-2009, 01:55 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