+ Reply to Thread
Results 1 to 3 of 3

#value to 0 with schedule using start time end time

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    #value to 0 with schedule using start time end time

    I have this formula that calculates hours worked minus lunch break for 6 or more hours. However, I have some cells that have text instead of numbers and I get the #value error. What can I add to this formula to just zero out the #value error?

    The formula is: =IF(C4-B4<1/24*5,C4-B4,C4-B4-1/48)*24

    I appreciate any help!
    Thanks!

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: #value to 0 with schedule using start time end time

    Wrap formula in an IFERROR:

    Please Login or Register  to view this content.
    "" will leave the cell blank, change to 0 if thats what you want to display.
    Say thanks, click *

  3. #3
    Registered User
    Join Date
    03-13-2013
    Location
    ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: #value to 0 with schedule using start time end time

    Great, that worked! Sometimes you can work on a problem so long, you miss the obvious! Thank-you!

+ 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