+ Reply to Thread
Results 1 to 4 of 4

Calculating "greater than" after time difference worked out

  1. #1
    Registered User
    Join Date
    10-08-2010
    Location
    Wicklow, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Calculating "greater than" after time difference worked out

    Hi Folks

    I have calculated the difference in working time between two dates. All good so far. Output cell is in format custom format hh:mm.

    I now need to see whether the above is greater than four hours. I just tried a simple if clause, but this is not working.

    Has anyone any ideas?

    Thanks

  2. #2
    Forum Contributor
    Join Date
    05-27-2008
    Location
    Newcastle Upon Tyne UK
    MS-Off Ver
    XP Excel 2003
    Posts
    105

    Re: Calculating "greater than" after time difference worked out

    Hi barneyausten

    Although you have formatted the cell to read hh:mm excel "sees" the value as a part of a day so the formula you need is:

    =(OutputCell>.166667)

    edvwvw

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Calculating "greater than" after time difference worked out

    You could also use a formula like this

    =IF(A1>"4:00"+0,.....

    or

    =IF(A1*24>4,......
    Audere est facere

  4. #4
    Registered User
    Join Date
    10-08-2010
    Location
    Wicklow, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Calculating "greater than" after time difference worked out

    Hi. That worked perfectly. Thanks a million

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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