+ Reply to Thread
Results 1 to 5 of 5

Creating pivot table with dynamic source data

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Question Creating pivot table with dynamic source data

    I am trying to create a pivot table where the number of rows on the source data will be different daily. How can I make the source data dynamic so it adjusts with the number of rows that my spreadsheet has?

    SourceData:="Accruals!R1C1:R4840C49"

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Creating pivot table with dynamic source data

    Hi,

    Create a dynamic range name that automatically adjusts to the length of your data. Define the name something like

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then use the range name as the source name for your PT.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: Creating pivot table with dynamic source data

    Or change the source data to an Excel table. http://www.utteraccess.com/wiki/Tables_in_Excel
    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.

  4. #4
    Registered User
    Join Date
    04-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Creating pivot table with dynamic source data

    Here is what I have but it doesn't seem to like the formula in there.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Creating pivot table with dynamic source data

    I got it working. Here is what I used:

    Please Login or Register  to view this content.

+ 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. Dynamic formula in Pivot Table Data Source
    By casper3043 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-06-2019, 10:55 AM
  2. Replies: 0
    Last Post: 01-06-2016, 07:00 AM
  3. Change Pivot Table Data Source based on Dynamic Range
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2014, 04:46 PM
  4. Dynamic worksheet source for Pivot Table
    By spokospoko in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-01-2014, 05:12 PM
  5. Replies: 4
    Last Post: 06-25-2012, 03:25 PM
  6. Update Pivot table using a dynamic range for source data
    By Carl Thompson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-02-2011, 08:20 AM
  7. [SOLVED] Pivot Table With Dynamic Range Source
    By S Jackson in forum Excel General
    Replies: 4
    Last Post: 08-31-2005, 11: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