+ Reply to Thread
Results 1 to 2 of 2

Highlight cells in all columns that are equal

  1. #1
    Registered User
    Join Date
    06-16-2017
    Location
    San Diego, CA
    MS-Off Ver
    365
    Posts
    6

    Highlight cells in all columns that are equal

    I have a rather complicated problem I'm trying to solve.

    I have 8 columns of data with various numbers of rows. I would like to compare all 8 columns and only highlight those cells in which the text appears in all 8 columns.

    That's the first process I would like to do.

    Then, in a separate sheet, I would like to highlight those that occur in 7 out of 8 columns, then 6 out of 8, etc.

    I'd greatly appreciate it if someone could help.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Highlight cells in all columns that are equal

    In response to your first process, let's say that your data is from A2:H6 (headers in row 1).

    Assuming that you want to highlight a row when all of the cells in that row have any value, try this:

    Highlight A2:H6 > Conditional Formatting > New Rule > Use a formula

    =COUNTA($A2:$H6)=8

    Format: Fill color of your choice > OK > OK

    If you only want to highlight a row when all 8 values are the same, you can use this CF formula instead:

    =COUNTIF($A2:$H2,$A2)=8
    Last edited by 63falcondude; 06-16-2017 at 02:32 PM.

+ 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. Sum of various cells while 2 columns are equal
    By asm19 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 10-27-2015, 08:51 AM
  2. [SOLVED] Highlight specific cells if any of them equal any 25 names
    By Triscia in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-11-2014, 02:53 PM
  3. [SOLVED] Match cells in 2 columns and return third column value if equal
    By beaglesBuddy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-24-2013, 04:29 PM
  4. Highlight cells from a list which equal a target value
    By Kward13 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-29-2012, 08:07 AM
  5. Comparing values in two columns, and highlight if not equal
    By vmc62 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-14-2008, 09:23 PM
  6. Highlight Cells if Value Equal to a Certain Amount on Subtotal Lines
    By jeffc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2007, 01:09 PM
  7. [SOLVED] want highlight when all cells in range are equal
    By Jane in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2005, 10:00 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