1

I am trying to make an excel spreadsheet that easily allows to compare two similar lists and highlight non-matching values. Generally, the lists contain different categories, but one list can contain several replicates of one category, i.e., the lists are similar but do not follow the same layout.

Example list:

screenshot

My current workflow looks like this: I filter out all data points for category A in a separate sheet, there I sort the data points to be in the right order and compare the values for each data point to get a true or false, if the values are the same or differ. I do this for all categories, on a separate sheet (using the same code/formulas).

As a final step, I would now like to go back to the original worksheet and highlight the differing data points and values for category A in list 1 and 2, then for B, then for C, etc. This is where I am stuck and don't know how to proceed. I am thinking of some conditional formatting formula that goes like "If category A, find "FALSE" in sheet2, take the data point next to false and highlight in original worksheet". And then make a new rule for category B, C and so on.

Does anyone have a good formula for this? I am also happy to take suggestions on how to improve my workflow. I am not too familiar with Macros, so I am open for ideas if a macro can make my life easier.

Appreciate any help!

1
  • Please provide enough code so others can better understand or reproduce the problem. Commented Feb 20, 2023 at 21:37

1 Answer 1

1

I am also happy to take suggestions on how to improve my workflow

If you are willing to store your data in columns, then you may benefit from COUNTIFS to get your desired output:

COUNTIFS function

enter image description here

Yellow rows are the values that are not in the other list.

I've created a Conditional Formatting rule based on this formula in List 1:

=COUNTIFS($E$6:$E$14;$A6;$F$6:$F$14;$B6;$G$6:$G$14;$C6)=0

Similar in List 2:

=COUNTIFS($A$6:$A$14;$E6;$B$6:$B$14;$F6;$C$6:$C$14;$G6)=0
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.