Filter Columns On A Sheet Based On Filtered Rows On Another Sheet

iamno12ne1

New Member
Joined
Dec 18, 2013
Messages
1
Hi All, I'm somewhat a newbie when it comes to macros so please bear with me.

I have an excel spreadsheet with two sheets. Sheet 1 has a 100 entries (rows 1 - 100) that are laid horizontally so they are easy to filter. Sheet 2 has the same 100 entries but are laid out vertically (columns A - EC). In short, Sheet 1 row 1 has the same data as Sheet 2 column 1 and so on.

Is it possible to create a macro so when I filter Sheet 1, the rows that I filtered are the columns that shows on Sheet 2. ie. If I filter Sheet 1 and only rows 1, 3, and 5 were left, I want columns A, C, and F to be the only columns showing on Sheet 2 (hide everything else).

I thought of using vlookup but I don't think it'll work so I thought I'd ask if there's someone out there who already created a macro or any similar solution regarding this issue. Can someone please help me? Thanks in advance.

Joe
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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