Creating a Vertical Header list

Venom

Board Regular
Joined
Jan 17, 2009
Messages
54
Hello again,

This is probably simple (I hope). But I'd like to create a list of Locations from a dynamic list on a separate sheet.

Sheet2!H2:H10000 has a list of Locations, with a LOT of repeats.
Sheet1!A2:A100 is where I'd like to list the locations, without repeats.

Sheet1!A2:A100 is also used for a summary (in column B) and as a Data Validation point (for a list in G1)

The table on Sheet2 can vary from 0 items to 10,000 items and the number of different possible Locations is about to expand as it's resulted from a query to an Access database with filters.

Any help would be appreciated. =)
 
PivotTableOptions.jpg

Refresh on Open is already available... But the "Refresh every" is unavailable. =(
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
The macro sent gives you the possibility to refresch the PT every time you access to the sheet and not only when openning the file.
 
Upvote 0
In this instance, they are one in the same... Sheet1 is always active if the workbook is open. And if I'm going to have to click something, I can just R-click on the Pivot Table and click "Refresh Data".

I'm trying to limit user interaction down to the drop menu that allows them to select a single location to view (G1), but also allow them to leave the sheet open and use it at-a-glance.
 
Upvote 0
Parhaps you could use the Change event macro and change the macro's name to
Private Sub Worksheet_Change(ByVal Target As Range)
For each change in the sheet the PT will be refreshed
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,311
Members
449,080
Latest member
jmsotelo

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