+ Reply to Thread
Results 1 to 4 of 4

Replace number signe with a zero

  1. #1
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Question Replace number signe with a zero

    When my formula generates a negative number, it will I have a number signs (###) in the cell.

    How can I please replace the number signe (###) with a zero (0) if my following formula resulted in a nigtive number:

    =L60-(C62+E62)

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

    Re: Replace number signe with a zero

    Try

    =MAX(0,L60-(C62+E62))

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Replace number signe with a zero

    Are those cells date?

    =IF(L60>(C62+E62),L60-(C62+E62),0)
    Quang PT

  4. #4
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Replace number signe with a zero

    It is times hh:mm

+ 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. Find a number and replace the adjacent cell with other number
    By shafath03 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2013, 09:09 PM
  2. [SOLVED] Replace text number with some other number based on the sheet
    By amandeepsharma89 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-03-2013, 09:52 PM
  3. [SOLVED] Compare columns, replace matching number with reference number and fill down random amount
    By datadigger in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-04-2012, 10:53 PM
  4. Replies: 2
    Last Post: 10-25-2005, 04:05 PM
  5. How do I replace a negative number with zero
    By Laura@Gage in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2005, 09:06 PM

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