Excel formula or VBA to auto filter and copy/paste results

bs0459

New Member
Joined
Sep 2, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello

I have a workbook with 2 sheets.
Sheet 1 is a template. Column A will contain document titles, hopefully populated from sheet 2. Column B has a dropdown list in B5 containing job titles.
Capture-1.PNG

Sheet 2 is a table. Column A contains document titles. Row 3 contains job titles that match the dropdown list on sheet 1. The cells in the table are blank if the document in column A doesn't apply to the job title in row 3 or "X" if the document does apply.
Capture.PNG


On sheet 1, I want to select a job title in B5 and have column A populated with all the document titles from sheet 2 that apply to that job.

I've tried several formulas, but just can't make it work.

Any help or recommendations are greatly appreciated.

Thanks
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Put this in A5 on sheet 1. This won't work if A5 is part of a table.
Excel Formula:
=FILTER(INDEX(Table,,1),INDEX(Table,,MATCH(B5,Table[#Headers]))="X")
 
Upvote 0

Forum statistics

Threads
1,215,050
Messages
6,122,868
Members
449,097
Latest member
dbomb1414

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