+ Reply to Thread
Results 1 to 12 of 12

Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

  1. #1
    Registered User
    Join Date
    04-30-2010
    Location
    washington dc
    MS-Off Ver
    Excel 2007
    Posts
    51

    Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    Hello -

    I am working on a fairly large excel database - about 23,000 entries (rows). Multiple individuals are adding new entries to this table on a monthly basis, and we are seeing a number of errors in these entries, not always in the same column.

    I am wanting to call attention to these entries that have errors within them. Is there any way to highlight all the rows in a table in which in there is an error?

    I have attached a smaller version of the database I am working with.
    PM2A Beneficiary Data _Excel Forum_3-18-2013.xlsx

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

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    How are you defining "Error" ?
    Do you mean formula errors like #N/A #VALUE! #DIV/0! etc?

    You can use the ISERROR function in conditional formatting.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =ISERROR(A9) format fill as needed

    I started my range in A9
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    04-30-2010
    Location
    washington dc
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    Hi FDibbins -

    Yes - I had tried this, but it only highlights the cells with the error occuring. I am hoping to highlight the entire row, if anywhere in that row, there is an error code.

    Does this make sense?

  5. #5
    Registered User
    Join Date
    04-30-2010
    Location
    washington dc
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    Hi FDibbins -

    Yes - I had tried this, but it only highlights the cells with the error occuring. I am hoping to highlight the entire row, if anywhere in that row, there is an error code.

    Does this make sense?

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

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    Hopefully you don't really want the ENTIRE Row...Perhaps just from column A to Z ..

    Try
    =ISERROR(SUM($A9:$Z9))

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    or, extend Jon's range to AF?

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

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    Try this...

    Select the *entire* range A9:AF340 starting from cell A9.
    Cell A9 will be the active cell. The active cell is the
    one cell in the selected range that is not shaded. The
    formula will be relative to the active cell.

    Goto the Home tab>Styles>Conditional Formatting>
    Manage rules>New rule>Use a formula to determine
    which cells to format

    Enter this formula in the box below:

    =OR(ISERROR(A9:AF9))

    Click the Format button
    Select the desired style(s)
    OK out
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    @ jgray, I just sawe that this is actually a duplicate thread. You have been a member long enough to know that is not allowed here - had I seen that before, I would have closed this thread.

    I will close your other thread, in future, please do not post duplicate threads

  10. #10
    Registered User
    Join Date
    04-30-2010
    Location
    washington dc
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    Thanks for your reply FDibbins. I have had issues with the site today - many times receiving a message about the "server being busy" after trying to submit a posting. I re-submitted the post after having received this message thinking the original post had not actually been submitted.

  11. #11
    Registered User
    Join Date
    04-30-2010
    Location
    washington dc
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    Thanks Tony. Works perfectly.

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

    Re: Conditional Formatting - Highlight All Rows in Table with Error in Any Cell

    You're welcome. Thanks for the feedback!

+ 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