I need to create a pivot table from a changing cell value.
Because of proprietary information within the worksheet, I'm sorry, I can't provide a working sample. However, I can provide a diagram (in the word document attached).
The data validation list is in B2. The cell with the information that would determine which table to is in G20.
Dependent on the item selected in B2, a list is displayed in b5:d17. In that list, are projects and their associated scores. G19 shows the project with the highest score. G20 has an IF statement to display the appropriate table name.
Below this, I want to display a pivot table, based on the value in G20.
Is there any way to create a pivot table based on a single cell value?
I'm sorry that I can't provide more.
Thanks for any assistance.
DonW
Tampa, FL
Hi Don...
well, it could be possible depending on how you define several "words" in your post.
You could for example create all the necessary PivotTables and display them with a "foto" taken with the Excel camera. That at least was the first solution that came into my mind. You can then dynamically change the photos of the displayed PivotTables based on the value in G20.
I'm not sure if it is possible to "dynamically re-create" a PivotTable each time based on the given value though (which I think is your initial approach).
Let me know, if this would help you and I explain it in more detail.
Best,
Phil
Ummm, excel camera?
Interesting to learn about the camera tool =)
DonW wrote: "..................I can't provide a working sample. However, I can provide a diagram (in the word document attached)..............."
I'm sorry, but couldn't find the Word document attached? (there seems to be an issue with an extra button you have to push for uploading files)
Hi DonW
I would suggest creating a Pivot Table with your Table names and use a slicer to select it instead of using data validation.
Based on what you select, display your list using the camera tool as suggested by Phil.
I normally use this method to allow users to select charts to display on their dashboards.
Sunny Kow
Mynda Treacy said
You can learn about the Excel Camera tool here.
Thank you Mynda 🙂
SunnyKow said
Hi DonWI would suggest creating a Pivot Table with your Table names and use a slicer to select it instead of using data validation.
Based on what you select, display your list using the camera tool as suggested by Phil.
I normally use this method to allow users to select charts to display on their dashboards.
Sunny Kow
Thank you SunnyKow. I'll put that to use whenever my company upgrades from version 2007.
Phil Kowalski said
Hi Don...well, it could be possible depending on how you define several "words" in your post.
You could for example create all the necessary PivotTables and display them with a "foto" taken with the Excel camera. That at least was the first solution that came into my mind. You can then dynamically change the photos of the displayed PivotTables based on the value in G20.
I'm not sure if it is possible to "dynamically re-create" a PivotTable each time based on the given value though (which I think is your initial approach).
Let me know, if this would help you and I explain it in more detail.
Best,
Phil
Thanks Phil.
When I return to work next week, I'll look in to that..........The managers are drastically changing our database (quickbase) which means I will have a lot of work updating all of my reports to match the new version, ick............
Frans Visser said
DonW wrote: "..................I can't provide a working sample. However, I can provide a diagram (in the word document attached)..............."I'm sorry, but couldn't find the Word document attached? (there seems to be an issue with an extra button you have to push for uploading files)
Frans Visser:
To give an overview, my manager rpt tab shows the
manager name as a data validation,
a dynamic list of programs based on the manager name selection with overall scores for each program.
Below that, is a formula to display the top producing (score) program and then the bottom producing program. These can change each week (when the report is run). Within the top producing program area, is a section for the top 3 and bottom 3 sales people. Below that, is the Bottom producing program and again, the top 3 and bottom 3 sales people. It's in these areas where I was attempting to display 4 pivot tables, one for the each of the top 3 and bottom 3 sales people.
Current Excel version is 2007.