+ Reply to Thread
Results 1 to 13 of 13

#NUM! message when getting time difference

Hybrid View

stoey #NUM! message when getting... 07-23-2009, 11:10 AM
sweep Re: #NUM! message when... 07-23-2009, 11:43 AM
DonkeyOte Re: #NUM! message when... 07-23-2009, 11:45 AM
stoey Re: #NUM! message when... 07-23-2009, 02:34 PM
DonkeyOte Re: #NUM! message when... 07-23-2009, 03:57 PM
stoey Re: #NUM! message when... 07-23-2009, 05:40 PM
DonkeyOte Re: #NUM! message when... 07-23-2009, 05:43 PM
stoey Re: #NUM! message when... 07-23-2009, 05:48 PM
stoey Re: #NUM! message when... 07-23-2009, 06:02 PM
DonkeyOte Re: #NUM! message when... 07-24-2009, 02:10 AM
stoey Re: #NUM! message when... 07-24-2009, 05:57 PM
stoey Re: #NUM! message when... 07-23-2009, 05:32 PM
DonkeyOte Re: #NUM! message when... 07-23-2009, 05:33 PM
  1. #1
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: #NUM! message when getting time difference

    That approach was for use in conjunction with Custom Format approach, if using formula I would opt for:

    =IF(MOD(G91-F91,1)<=0+"00:30","ONTIME",MOD(G91-F91,1)-"00:30")

    change the "00:30" to be whatever time span you want (but yes in essence the value provided was a rough representation of 30 mins in numerical terms, 24 hours = 1)

  2. #2
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Re: #NUM! message when getting time difference

    oh i see...thanks for letting me know about that..i was not aware of it...thanks again...i appreciate your timely response...

    cheers!


    stoey

  3. #3
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Re: #NUM! message when getting time difference

    oh by the way donkey last follow up question...sorry about this but how do i go with the formula such that if cell A and B are blank then cell C is blank also using the formula

    =IF(MOD(B1-A1,1)<=0+"00:30","ONTIME",MOD(B1-A1,1)-"00:30")

    ...if there would be value on cell A but not on cell B then C is still blank.
    if there would be value on cell B but not on cell A then C is still blank.
    however if A and B have values then C values appears...

    sorry for all the hassle...thanks a lot


    regards,

    stoey

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: #NUM! message when getting time difference

    You can use a COUNT test given both A & B should be numeric, ie:

    =IF(COUNT(A1:B1)=2,IF(MOD(B1-A1,1)<=0+"00:30","ONTIME",MOD(B1-A1,1)-"00:30"),"")

  5. #5
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Re: #NUM! message when getting time difference

    hi donkey,

    thanks a lot! worked like a charm! thanks again...

    Regards,

    stoey

+ 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