

- Compare two columns in excel 2013 for differences how to#
- Compare two columns in excel 2013 for differences download#
It also contains the answer to homework above.
Compare two columns in excel 2013 for differences download#
Go ahead and download the example workbook on comparing 2 lists in excel. Discuss! Download Example Workbook on Comparing 2 Lists in Excel: When you are satisfied with your result, post the answers here. Go ahead, figure this out, practice it on a workbook. Of course, doing this is very straightforward in Excel once you understand the above 3 things. We want to find-out a given value (say in A1) is in the both lists, first list or second list and highlight all the matches. Searching for a value and Highlighting Matched Items in Both Lists – Your Homework: Set the conditional formatting rule as =COUNTIF(lst1,C21)>0.Now select second list (assuming the values are in C21:C28).Set the conditional formatting rule as =COUNTIF(lst2,B21)>0.Now, it gets interesting as you should apply conditional formatting individually to both lists. Write a rule like this: =COUNTIF(lst1, C21)=0.Select values in second list (assuming the values are in C21:C28).Highlighting Items that are in Second List Only You should see values only in first list highlighted. Select the reference and press F4 repeatedly to change it to relative reference Double check the reference and make sure it is relative (and not like $B$21).Write a rule like this: =COUNTIFS(lst2, B21)=0.Go to conditional formatting > add rule (related: conditional formatting basics).Select values in first list (assuming the values are in B21:B29).Highlighting Items that are in First List Only (it assumes that value is already in lst1).

This checks whether “value” occurs anywhere in lst2 and returns false if that is the case. So in order to find-out if a value is in list 1 only, we use a formula like =COUNTIFS(lst2,value)=0.

Compare two columns in excel 2013 for differences how to#
Also, you should know how to use COUNTIFS Excel Formula, it is so awesome, I wonder why MS hasn’t called it MAGIC() ? But, just to make formulas simpler and easier to read, lets name the 2 lists as lst1 and lst2.Ģ. Whenever you compare 2 sets of values, there are 3 possibilities, as shown in the illustration below:Īpart from looking like circles drawn by hulk with a crayon, these circles show important concepts of set theory in simplest form. Search and highlight matches in both lists – Home Work.Highlight items that are only in second list.Highlight items that are only in first list.(click on links to jump to that section of post) We will learn how to compare 2 lists of data in 3 + 1 different ways. If you want to compare two tables (based on multiple columns), see this. If you just want to quickly highlight common values, click here. This post discusses how to compare two lists with formula based rules. Today, lets learn a few tricks that you can apply immediately to compare 2 lists using Excel. Comparison of lists of data is something that we do all the time.
