+ Reply to Thread
Results 1 to 10 of 10

Identifying non-similar data

  1. #1
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Identifying non-similar data

    I have data in column C. Some of which is the identical. I sort column C. I need to highlight data in columns A & B that is not the same when the data in C is the same. Should look like the example in the download.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Identifying non-similar data

    Select A3:B34, CF > Use a formula,

    =($C3=$C2) * (A3<>A2) + ($C3=$C4) * (A3<>A4)

    A
    B
    C
    2
    S
    D
    EMPN
    3
    1
    71
    214150005
    4
    3
    51
    215161342
    5
    1
    15
    219107724
    6
    1
    15
    315152538
    7
    1
    73
    315152538
    8
    2
    51
    315172826
    9
    1
    27
    317101601
    10
    1
    27
    317101601
    11
    1
    27
    317151391
    12
    2
    19
    317151391
    13
    2
    11
    318115984
    14
    3
    45
    412106286
    15
    1
    27
    417169715
    16
    1
    71
    419122036
    17
    2
    71
    419122036
    18
    1
    27
    516130629
    19
    1
    27
    517155863
    20
    1
    73
    613107638
    21
    2
    03
    618114175
    22
    2
    03
    618114175
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Identifying non-similar data

    Try this:-
    Please Login or Register  to view this content.
    Regards Mick

  4. #4
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: Identifying non-similar data

    Well I spoke too soon. The macro did highlight some cells that weren’t equal but it also highlighted some cells that were equal.
    Attached Files Attached Files
    Last edited by gz3s36; 08-26-2017 at 03:03 PM. Reason: Thought it was resolved.

  5. #5
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Identifying non-similar data

    Have a look at your returned file, I can't find much wrong with the results now.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: Identifying non-similar data

    MickG has done it again. Thank you.

  7. #7
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: Identifying non-similar data

    MickG solved the first part but now I want to compare columns H & V. If there is a number match then I need to compare D to S and also compare E to T. If D≠S then highlight S in yellow and if E≠T then highlight T in yellow. I don’t know if it’s possible.
    Attached Files Attached Files
    Last edited by gz3s36; 08-27-2017 at 04:23 PM.

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Identifying non-similar data

    Two conditional formatting formulas that accomplish what you want are:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  9. #9
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: Identifying non-similar data

    That seems to be the ticket. Thank you.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Identifying non-similar data

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Identifying rows with similar criteria
    By Dan_B in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-15-2017, 07:24 AM
  2. Need help identifying the 'latest' string from multiple strings with similar content
    By mkatkins in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2016, 04:06 PM
  3. [SOLVED] Identifying similar rows for deletion
    By svetic in forum Excel General
    Replies: 3
    Last Post: 06-23-2014, 06:25 PM
  4. Identifying Similar Dates
    By wawa in forum Excel General
    Replies: 5
    Last Post: 05-09-2012, 04:56 PM
  5. Identifying Similar Cells
    By mintribe in forum Excel General
    Replies: 2
    Last Post: 12-20-2011, 02:38 PM
  6. Identifying almost similar cells
    By VBnoob in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-14-2011, 07:39 AM
  7. [SOLVED] Identifying cells with similar text
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 06-08-2006, 02:00 PM

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