+ Reply to Thread
Results 1 to 4 of 4

Remove error message, leave formulas in place

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2010
    Posts
    6

    Remove error message, leave formulas in place

    I would like to be able to add info at a later date and have the formulas there, but i dont want to see an error if there is no information yet. This thread has a way to clear the errors out but clears the entire cell
    http://www.excelforum.com/excel-prog...g-formula.html

    Below is how mine looks now.

    Top of spreadsheet
    Please Login or Register  to view this content.
    Bottom of spreadsheet

    Please Login or Register  to view this content.
    I input data in the first 3 columns. =SUM((A82-A81)/ABS(A81)) is the formula, and then =STDEV.S(D4:D81) looks at the entire row. STDEV ignores blanks and text, but the errors screw it up.

    Thanks in advance!

    S
    Last edited by Silchas; 05-01-2014 at 04:55 PM. Reason: add info

  2. #2
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Remove error message, leave formulas in place

    Intercept the errors before they occur by checking the divisor cell:

    =IF(A81=0, "", SUM((A82-A81)/ABS(A81)))


    Another less specific method is to detect all errors after the fact and suppress them:

    =IFERROR(SUM((A82-A81)/ABS(A81)), "")

  3. #3
    Registered User
    Join Date
    08-21-2013
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Remove error message, leave formulas in place

    That actually works great. I was trying to put my IF statement at the end so no wonder i couldnt figure it out.

    The very last calculation is always -100% so can i add another part to the IF statement to make it print nothing there as well? Tried this, but im terrible at this stuff.

    IF((A4=0, "",A5=0, "") SUM((A5-A4)/ABS(A4)))

    Thanks again!!

  4. #4
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Remove error message, leave formulas in place

    Maybe:

    =IF(OR(A4=0, A5=0), "", (A5-A4)/ABS(A4))


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. remove item error message
    By spitta in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-25-2014, 04:09 PM
  2. [SOLVED] #VALUE error message on my formulas
    By ExcelBeginner85 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-29-2013, 07:14 AM
  3. Error message on 4 IF formulas in one function
    By blondie1986 in forum Excel General
    Replies: 7
    Last Post: 01-17-2012, 05:34 AM
  4. Remove #n/a error message
    By Reymus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-31-2007, 12:25 PM
  5. [SOLVED] remove macro error message at file startup
    By grendi in forum Excel General
    Replies: 2
    Last Post: 08-28-2005, 02:05 PM

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