+ Reply to Thread
Results 1 to 4 of 4

To check whether the hours is greater than 24 hours or not

  1. #1
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Exclamation To check whether the hours is greater than 24 hours or not

    Dear All,

    I have hours and minutes in a cell and I want to check whether it is greater than 24 hours or not.

    In cell A1 it is 49:27 (format of the cell is [h]:mm) and in cell B1 I need the output using a formula.

    Any help appreciated.

    Thanks,
    aganesan99

  2. #2
    Registered User
    Join Date
    12-17-2014
    Location
    MASDUB
    MS-Off Ver
    2013
    Posts
    6

    Re: To check whether the hours is greater than 24 hours or not

    Please try this. =if((TEXT(A1,"[h]")+(TEXT(A1,"m")/60))>24,True statement,False statement)

  3. #3
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: To check whether the hours is greater than 24 hours or not

    Quote Originally Posted by RKXLNT View Post
    Please try this. =if((TEXT(A1,"[h]")+(TEXT(A1,"m")/60))>24,True statement,False statement)
    Thanks a lot "RKXLNT". It worked.

    aganesan99

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: To check whether the hours is greater than 24 hours or not

    Perhaps

    =IF(A1>1,True statement, False statement)

+ 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] TextBox - Display hours greater than 24 and negative hours too.
    By gnaske in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-21-2014, 03:01 PM
  2. Replies: 4
    Last Post: 02-12-2013, 07:01 AM
  3. Replies: 2
    Last Post: 02-11-2013, 02:26 PM
  4. Calculating number of hours greater than 24 hours
    By colleen8580 in forum Excel General
    Replies: 1
    Last Post: 07-29-2009, 05:25 PM
  5. [SOLVED] time:How can I enter a figure for contracted hours which is greater than 24 hours?
    By Chink! in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2005, 02:06 AM

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