+ Reply to Thread
Results 1 to 4 of 4

Changing multiple PivotTables based on text string/ Cell reference

  1. #1
    Registered User
    Join Date
    10-29-2021
    Location
    Denmark
    MS-Off Ver
    Office 365 - OSX
    Posts
    2

    Changing multiple PivotTables based on text string/ Cell reference

    I'm trying to change multiple PivotTables based on two values X and Y.
    I have figured out how to do it by a specific reference, but that would yield needing to do the code for 15 PivotTables at 5 different scenarios.
    I know the last image isn't going to work, but I just wanted to show how I want X and Y to change based on some text string or cell reference.

    Anyone got any suggestions?

    I'm a self thought newb at VBA, so the lines are pretty basic.

    Skærmbillede 2021-10-29 kl. 17.39.43.png
    Skærmbillede 2021-10-29 kl. 17.31.01.png

    Regards Nicolai

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Changing multiple PivotTables based on text string/ Cell reference

    Have you investigated using Slicers? Slicers can be used to control multiple pivot tables at once.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    10-29-2021
    Location
    Denmark
    MS-Off Ver
    Office 365 - OSX
    Posts
    2
    Quote Originally Posted by dflak View Post
    Have you investigated using Slicers? Slicers can be used to control multiple pivot tables at once.
    I have used Slicers before, but only 1 per PivotTable.
    There might be more to it, so I will try to go that way.
    Tanks.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Changing multiple PivotTables based on text string/ Cell reference

    On the left of the slicer ribbon, there is an icon labeled Report Connections. If you click on this icon, you will get a list of all pivot table that use the slicer AND are based on the same data set. Click on the ones you want the slicer to control.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Countif code that counts cells based on text string specified in a reference cell
    By john quinn in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-08-2015, 06:30 PM
  2. Changing/Amending Text String In Cell
    By Kumara_faith in forum Excel General
    Replies: 10
    Last Post: 02-19-2011, 10:44 AM
  3. changing text to cell reference
    By denshen88 in forum Excel General
    Replies: 2
    Last Post: 08-09-2007, 10:18 AM
  4. Replies: 2
    Last Post: 07-14-2006, 12:25 PM
  5. dynamic cell reference within a text string
    By Aladin Akyurek in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-06-2005, 06:05 PM
  6. dynamic cell reference within a text string
    By gvm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. dynamic cell reference within a text string
    By gvm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1