Excel - extracting data based on another list

后端 未结 4 951
南方客
南方客 2021-02-07 05:27

I have an Excel worksheet with two columns (name/ID) and then another list that is a subset of the names only from the larger aforementioned list. I want to go through the subse

4条回答
  •  耶瑟儿~
    2021-02-07 05:48

    Have you tried Advanced Filter? Using your short list as the 'Criteria' and long list as the 'List Range'. Use the options: 'Filter in Place' and 'Unique Values'.

    You should be presented with the list of unique values that only appear in your short list.

    Alternatively, you can paste your Unique list to another location (on the same sheet), if you prefer. Choose the option 'Copy to another Location' and in the 'Copy to' box enter the cell reference (say F1) where you want the Unique list.

    Note: this will work with the two columns (name/ID) too, if you select the two columns as both 'Criteria' and 'List Range'.

提交回复
热议问题