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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

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