Vba code for multiple search in single column and return value with heading - two sheets

Status
Not open for further replies.

iazeemkhan

Board Regular
Joined
Jun 26, 2012
Messages
50
Dear Sir,


I have two sheets,


COMPONENTS: Content table with different headings of Components Name, under each heading there are many items mentioned.


BOQ: I have Three column A,B and C. I have "Descriptions" in Column A, Column B is "RESULT" and C column is "ITEM FOUND"


Now what I am looking for?


Is there any VBA code to Search Items in (BOQ, "Description" Column A) and return all the found items in (BOQ, Column C under "ITEM FOUND" with comma). i.e. Heat Detector, Multi Sensor,etc. etc.


And in (BOQ, "Result", Column B) I need the Heading of the Component (SHEET COMPOMNENTS) of Items found.


Please note that ITEMs will be unique under each Component Name

SHEET( BOQ )



SHEET (COMPONENTS)



SAMPLE RESULT SHEET BELOW




Thanking you
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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
Back
Top