+ Reply to Thread
Results 1 to 4 of 4

show as blank errors #value! and -42369

  1. #1
    Registered User
    Join Date
    03-08-2014
    Location
    islamabad, pakistan
    MS-Off Ver
    Excel 2007
    Posts
    35

    show as blank errors #value! and -42369

    hello.
    I am using a simple formula to calculate days between 2 dates in cell A1 and A2 to return days in A3 by using =A1-A2.

    When i autofill the A column there are 2 errors i get in empty cells. #value! and -42369.

    I managed to sort out the #value! error by using =IFERROR(A1-A2), 0)

    But cannot find a way to show -42369 as blank. Is there any custom format which can be used like 0;-0;;@ to remove zeros for instance

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: show as blank errors #value! and -42369

    Try this...

    0;[<0]"";;@

    The cell will still have a negative value, you just won't see it.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    03-08-2014
    Location
    islamabad, pakistan
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: show as blank errors #value! and -42369

    thx a bunch it worked. One more thing if you cn help me with it.

    I have empty cells showing - which i want it to show as blank. The other cells display numbers. I tried 0;[<0]"";;@ and it works but the cells with numbers don't display the seperator(,) and decimal places like before. can you help with that

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: show as blank errors #value! and -42369

    Instead of using formatting why not just do this in the formula?

    If the result of A1-A2 is less than or equal to 0 or an error the formula will return blank.

    =IFERROR(IF(A1-A2<=0,"",A1-A2),"")

+ 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. Would like to drag formula, but not show errors
    By ldurham in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-08-2016, 07:49 AM
  2. show in cell errors in protected mode
    By trevor69 in forum Excel General
    Replies: 2
    Last Post: 01-11-2015, 03:28 PM
  3. Value errors on blank
    By astole in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-03-2013, 08:41 PM
  4. If (average A1:A10 - 10) = >0, show answer, if not, show blank... Without helper
    By ThomasCarter in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2012, 10:53 AM
  5. if formula to show blank or show instead of displaying the running total
    By js1978 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2008, 04:38 PM
  6. [SOLVED] Show spelling errors
    By [email protected] in forum Excel General
    Replies: 1
    Last Post: 06-08-2005, 11:05 PM
  7. multiple errors show in one msgbox
    By lscj_tw in forum Excel General
    Replies: 0
    Last Post: 04-11-2005, 06:40 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