+ Reply to Thread
Results 1 to 4 of 4

How to Hide Error Messages

  1. #1
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    How to Hide Error Messages

    Hi All, I'm new here. I am having issues with error messages preventing basic sum, multiply and divide calculations using resident formulas. The errors also look untidy. The spreadsheet contains basic formulas that calculate percentages and commissions extracted across a row in a data table that is pasted into the sheet using a macro. The formulas reside on the sheet permanently adjacent to the target range for the table. If a relevant cell value is 0 the calculation returns a #DIV/0!. In that instance the adjacent cell then returns #VALUE! error message. The relevant formulas are;in Cell R8 =+G8/F8 (Error #DIV/0! when either value is 0) and in Cell S8 =+Q8*R8 (Error #VALUE! when R8 = error). Each column is totalled with =SUM. Any thoughts?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,243

    Re: How to Hide Error Messages

    Hi TPS and welcome to the forum,

    It sounds like you need to learn the ISERROR function in Excel. Read http://www.excel-examples.com/iserror.htm
    Note - In 2007 Excel there is a newer IFERROR function that is cleaner than the older 2003 ISERROR function.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Newark, DE
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: How to Hide Error Messages

    One way to do it is with Conditional Formatting. In Excel 2010, select the range of cells, then add a New Rule under Conditional Formatting. Select "Use a formulas to determine which cells to format". With all the cells selected add the formulas =ISERROR(A1) and select the white font color format.
    http://www.mrspreadsheets.com

  4. #4
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    Re: How to Hide Error Messages

    Thank you for your direction. It was most useful and I have solved the problem.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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