Search and VLookup

AngelEyes6708

New Member
Joined
Jul 6, 2015
Messages
1
I have two tables. One is a product table as shown below. The other is a transactional table, shown below the product table. The transactional table shows products purchased separated by a comma. I need to search the purchased products in the transactional table and replace with the short and long descriptions, separated by a comma, for each company. The short and long descriptions need to appear in their respective columns for each company separated by a comma. PLEASE HELP! THANK YOU!

ProductsProd Short DescProd Long Desc
4BRSBrown Ridge Shirt
05GRSGreen Ridge Shirt
07HDMHot Denim Mass
10.HRHRAHot Radiant Arches
PL-ABPLAPretty Long Arches
TLTLTall and Long

<tbody>
</tbody><colgroup><col><col><col></colgroup>


CompanyPurchasedProd Short DescProd Long Desc
Company A4,05,10.HR,PL-AB
Company B05,07,TL,PL-AB
Company C10.HR,4,07

<tbody>
</tbody><colgroup><col><col span="3"></colgroup>
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Watch MrExcel Video

Forum statistics

Threads
1,122,521
Messages
5,596,650
Members
414,083
Latest member
Mrsash

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top