ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Display name that is on the list (https://www.excelbanter.com/excel-worksheet-functions/22546-display-name-list.html)

lintan

Display name that is on the list
 

I have two sheets. The first sheet contains a list of materials that were
used for the calendar year. The second sheet contains a list of material that
were previously and currently used. I would only like to list that materials
from the second sheet that are also in the first sheet. An example:

Sheet 1 contains:
Paint
Thinner
Adhesive
Lubricant


Sheet 2 contains:
Paint
Thinner
Adhesive
Brush
Roller
Lubricant

Therefore, my new list should only contain Paint, Thinner, Adhesive, and
Lubricant.

Thank you for the help.


CLR

Assuming both lists start in A1 of each sheet............put this in B1 and
copy down.........

=IF(ISNA(VLOOKUP(A1,Sheet2!A:A,1,FALSE)),"",VLOOKU P(A1,Sheet2!A:A,1,FALSE))

Vaya con Dios,
Chuck, CABGx3



"lintan" wrote in message
...

I have two sheets. The first sheet contains a list of materials that were
used for the calendar year. The second sheet contains a list of material

that
were previously and currently used. I would only like to list that

materials
from the second sheet that are also in the first sheet. An example:

Sheet 1 contains:
Paint
Thinner
Adhesive
Lubricant


Sheet 2 contains:
Paint
Thinner
Adhesive
Brush
Roller
Lubricant

Therefore, my new list should only contain Paint, Thinner, Adhesive, and
Lubricant.

Thank you for the help.





All times are GMT +1. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com