A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
One way, using Advanced Filter.
- select Sheet 2 column A and name it "ShortListIDs" (without the quotes) by entering the name in the Name box on the left side of the Formula Bar (alternatively, use Insert/Name/Define with the column selected, and enter the name).
- On Sheet 1, choose a column to the right of your data (for this example, say, column J) and enter in row 2 (leaving row 1 blank):
=COUNTIF(ShortListIDs, A2)
- Select cell A2, and choose Data/Advanced Filter. In the dialog, select the "Filter the list, in place" radio button,
- Verify the List Range contains the range of your data.
- In the Criteria Range box, enter J1:J2 (make sure you include row 1)
- Click OK