简体   繁体   中英

how do I match columns in two worksheets in excel

I need to perform a "full-outer-join" scenerio between tabs in an excel workbook.

I have a column of items in worksheet1, and a column of items in worksheet2

example:

Worksheet1:
item1
item2
item3

worksheet2:
item1
item2
item4

I am trying to create a pivottable to perform a comparison on items that match, missing in worksheet1, and missing in worksheet2.

Example:

Match:
wksht1  wksht2
item1   item1
item2   item2
item3   <blank>
<blank> item4

Not Match by Wksheet1
wksht1  wksht2
item3   <blank>

Not Match by Wksheet2
wksht1   wksht2
<blank>  item4

I believe a pivot table is good here, but it's asking me to match keys... I need a value comparison.

How can I accomplish this?

UPDATE #1, I cannot use coloring or shading...It must show the value with the original color and shading. Thanks.

Thanks

Why don't you just (1) copy all the items from both pages into a common list, (2) Data > Remove Duplicates (3) Use two columns of countif formulas to see if they are in the original lists and (4) Sort the output by these values?

Regarding color, what should it be if the two sources are not consistent (eg item1 is red in the first and blue in the second file)?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM