+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting on two columns

  1. #1
    Forum Contributor
    Join Date
    03-08-2011
    Location
    Lubbock, TX, USA
    MS-Off Ver
    MS OFFICE 365 EXCEL, OUTLOOK, WORD, POWERPOINT
    Posts
    194

    Conditional Formatting on two columns

    Hi, I can do this without a CF. But, CF would be quicker since it is visual.

    column A is first names and column B is last names. How can I highlight duplicates? I can highlight duplicates in one or booths columns but can't make a rule that only highlights where both columns are equal.

    Example, there are 86 Alberts and 41 Smiths. I don't care to highlight all of those. I do want to see it highlighted if there are 2 Albert Smiths though.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    10-30-2014
    Location
    England
    MS-Off Ver
    2007 / 365
    Posts
    279

    Re: Conditional Formatting on two columns

    Just join the 'first name' and 'last name' together in column C for a 'full name', then use COUNTIF over that column in your conditional formatting.

  3. #3
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Conditional Formatting on two columns

    Use this in CF :
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-08-2011
    Location
    Lubbock, TX, USA
    MS-Off Ver
    MS OFFICE 365 EXCEL, OUTLOOK, WORD, POWERPOINT
    Posts
    194

    Re: Conditional Formatting on two columns

    The formula was spot on. That did the trick. Thank you very much.

  5. #5
    Forum Contributor
    Join Date
    03-08-2011
    Location
    Lubbock, TX, USA
    MS-Off Ver
    MS OFFICE 365 EXCEL, OUTLOOK, WORD, POWERPOINT
    Posts
    194

    Re: Conditional Formatting on two columns

    Quote Originally Posted by EchoPassenger View Post
    Just join the 'first name' and 'last name' together in column C for a 'full name', then use COUNTIF over that column in your conditional formatting.
    That is a fine solution. I've used it on a different sheet in fact. But, it won't work for this one because it is updated via an import several times a day and the columns are fixed. I do appreciate your time answering my question though. Thank You.

  6. #6
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Conditional Formatting on two columns

    You are welcomed and thanks for the rep.

+ 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. conditional formatting three columns or more
    By awinchester in forum Excel General
    Replies: 7
    Last Post: 06-14-2016, 01:38 AM
  2. [SOLVED] Conditional Formatting with Two Columns
    By sombiatz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 11:02 AM
  3. Conditional Formatting two columns
    By May10 in forum Excel General
    Replies: 1
    Last Post: 01-09-2014, 09:00 PM
  4. IF columns with Conditional Formatting
    By adfeddon in forum Excel General
    Replies: 3
    Last Post: 08-09-2013, 10:52 AM
  5. Conditional Formatting 2 Columns
    By Nunzii in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2011, 12:58 PM
  6. Conditional Formatting columns
    By wally in forum Excel General
    Replies: 2
    Last Post: 02-14-2011, 09:06 PM
  7. using conditional formatting for 2 different columns
    By AlexandraJ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2010, 05:04 PM
  8. Conditional Formatting 4 Columns
    By David in forum Excel General
    Replies: 14
    Last Post: 04-12-2006, 05:45 AM

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