Comparing Multiple Lists of Data in Excel to Find Correlating Data

廉价感情. 提交于 2019-12-02 18:17:12

问题


I thought I knew where to start with this but sadly I it's been long enough to where I need some assistance. First of all what I am working with is four lists of product data that I need to compare against my own product data.

So for example each of the product lists contain the following data:

Product Category
Product Name
Inventory
Product Price

Each of the lists have at least a thousand records.

What I need is a fifth list that tells me which of the competitors products I don't have on my list.

Last but not least and where this gets trickier is that the inventory contains duplicate records.

Its hard for me even to construct this question as I spend time with it.

What I want though is a list of products that are shared by all of the competitors that I do NOT have on my product list.


回答1:


If you are familiar with PivotTables perhaps the multiple-consolidation ranges option could be used to suit your needs...

  1. Select the multiple-consolidation ranges option by accessing the PivotTable wizard dialog (Shortcut: Alt+D+P) then enter settings in the dialog similar to below. The data is shown on the same sheet but could equally be stored in different sheets or even closed workbooks.

  2. Rearrange columns and group product names into "Matched" and "Unmatched" as shown. There are several methods to automate the grouping, the simplest is probably to add a count column beside the pivottable and filter on rows where there are 4 items, then you can select visible items in the row field by pressing Alt+; and choose the group option. Rename this group "Matched", then filter for less than 4 items in the count column and rename the group "Unmatched"

  3. Now you can compare all matched product names with your own list using a simple vlookup or otherwise.



来源:https://stackoverflow.com/questions/10610354/comparing-multiple-lists-of-data-in-excel-to-find-correlating-data

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!