Results 1 to 5 of 5

Thread: comparing two list of datas in excel and doing conditional formatting

  1. #1
    Member
    Join Date
    Jun 2012
    Posts
    39
    Rep Power
    0

    Question comparing two list of datas in excel and doing conditional formatting

    Hey Guys,
    I was just trying to compare two lists of invoices and highlight the unique data in a list from another list. I used the formula in conditional formatting but it is not working as i am trying to do. i used =COUNTIF($C$12:$C$18,E12)=0 formula in conditional formatting to highlight unique datas in one of the list from another list. Can you guys help me out with this. I tried to do using the content in the url below.
    http://chandoo.org/wp/2010/06/17/com...ists-in-excel/
    Thanks,
    Safal

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Safal, welcome to ExcelFox

    Can you attach a sample workbook, and explain what you are trying to achieve with the above formula. That may give a better perspective to the developer who tries to solve your query.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  3. #3
    Member
    Join Date
    Jun 2012
    Posts
    39
    Rep Power
    0
    I just want to give conditional formatting to the unique customers in either lists. i just want to know how the countif is used with the conditional formatting. i want to get the detailed explanation.
    Attached Files Attached Files

  4. #4
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    You could select the second range, and go to conditional format, use the Formula section, and put =AND(NOT(ISBLANK($D5)),COUNTIF($B$5:$B$11,$D5)=0). ....

    The ISBLANK is just used to ensure that we do not format any blank values unnecessarily. Check attachment.
    Attached Files Attached Files
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  5. #5
    Member
    Join Date
    Jul 2012
    Posts
    55
    Rep Power
    13
    Hi,

    Try this
    Attached Files Attached Files

Similar Threads

  1. Get Displayed Cell Color (whether from Conditional Formatting or not)
    By Rick Rothstein in forum Rick Rothstein's Corner
    Replies: 14
    Last Post: 10-21-2013, 07:11 PM
  2. Conditional formatting
    By mahmoud-lee in forum Excel Help
    Replies: 9
    Last Post: 05-30-2013, 03:00 PM
  3. Conditional Formatting using formula.
    By Ryan_Bernal in forum Excel Help
    Replies: 2
    Last Post: 02-18-2013, 11:33 PM
  4. Conditional Formatting - If/And Formula
    By Katrina in forum Excel Help
    Replies: 4
    Last Post: 11-23-2012, 12:45 AM
  5. Replies: 2
    Last Post: 09-16-2012, 02:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •