+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : highlight differences between two columns, but ignore blanks

  1. #1
    Registered User
    Join Date
    02-03-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    25

    highlight differences between two columns, but ignore blanks

    I have two columns that contain mostly the same info and I want to highlight the ones that are different. The instructions in this thread worked great, but the problem is some of my cells are blank and Excel is highlighting these, too. Is there a way to tell Excel to compare cells only if they both have data in them?

    Thanks in advance.
    Last edited by acp; 02-06-2012 at 11:25 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: highlight differences between two columns, but ignore blanks

    Hi

    maybe something like this, in conditional format rules?

    AND(A1<>"";A1=B1)

    Hopes to helps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    02-03-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: highlight differences between two columns, but ignore blanks

    Hi, Fotis, thanks so much for such a quick reply. However, I'm not quite sure where to put the text you provided. I've played around with it, but I just keep getting errors. Can you give me a little more info?

    Thanks!

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: highlight differences between two columns, but ignore blanks

    Hi

    Take a look to the example.

    Format>>Conditional Format>>See the rules!

    Hope to helps you.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-03-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: highlight differences between two columns, but ignore blanks

    Thank you so much for taking the time to help me with this. I just changed one of the "equal" signs to "not equal to" so I could find the ones that are different and it worked perfectly. It will make my life so much easier (I had been doing this by hand in the past)!

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: highlight differences between two columns, but ignore blanks

    You are welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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