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.
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.
Select A3:B34, CF > Use a formula,
=($C3=$C2) * (A3<>A2) + ($C3=$C4) * (A3<>A4)
A B C 2 S D EMPN 3 1 71214150005 4 3 51215161342 5 1 15219107724 6 1 15315152538 7 1 73315152538 8 2 51315172826 9 1 27317101601 10 1 27317101601 11 1 27317151391 12 2 19317151391 13 2 11318115984 14 3 45412106286 15 1 27417169715 16 1 71419122036 17 2 71419122036 18 1 27516130629 19 1 27517155863 20 1 73613107638 21 2 03618114175 22 2 03618114175
Entia non sunt multiplicanda sine necessitate
Try this:-
Regards MickPlease Login or Register to view this content.
Well I spoke too soon. The macro did highlight some cells that weren’t equal but it also highlighted some cells that were equal.
Last edited by gz3s36; 08-26-2017 at 03:03 PM. Reason: Thought it was resolved.
Have a look at your returned file, I can't find much wrong with the results now.
MickG has done it again. Thank you.
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.
Last edited by gz3s36; 08-27-2017 at 04:23 PM.
Two conditional formatting formulas that accomplish what you want are:Formula:Please Login or Register to view this content.
Formula:Please Login or Register to view this content.
Let us know if you have any questions.
Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.
That seems to be the ticket. Thank you.
You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks