Hide Columns Based on Agreement with Raw Data Table

thejmiller

New Member
Joined
Apr 26, 2013
Messages
3
I am pulling raw survey data in to Sheet1 and want to write a code make a dynamic table in Sheet 2 so that it only includes the columns that are relevant to the respondent and hides all of the other columns.

In the survey the respondents identified the industry that they operate in. This data appears in Sheet1 of my workbook and each industry has its own column (column I-Q). Sheet1 also includes a unique identifier in column A.

In Sheet2 I have built a table that includes columns for the average of of all respondents in Sheet2 Columns B-J.

What I want to do, is run a lookup based on the unique identifier in Sheet1 Column A to do the hiding of irrelevant columns.

Anyone know a good place to start with this? Thanks.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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