+ Reply to Thread
Results 1 to 5 of 5

Summarising Data with a Pivot Table and Formulae

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Summarising Data with a Pivot Table and Formulae

    Hi,

    In columns H to N of the attached worksheet I have sample data for a number of products that I would like to summarise according to their Region, Country and City of origin. The data in L:M is the percentage of total sales of the business represented by each product, the growth rate of sales for each product and the percentage contribution of each product to the total company sales.

    The summary I would like to achieve is shown in A:D.

    Maintaining this summary is quite cumbersome because new products may be added or removed frequently which may also mean that new region, country and city headings are required or need to be removed.

    To make the maintenance of the summary less time-consuming, is it possible to reproduce this table using a Pivot Table? If so, how would one get the PivotTable to calculate the growth rates for the region, country and city? (see the summary formulae in column C; all this is doing is, for example, calculating the growth rate of products in Birmingham according to their percentage of total sales in that city).

    Can someone please suggest how to create such a Pivot Table?

    Thanks very much!!!
    Attached Files Attached Files

  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: Summarising Data with a Pivot Table and Formulae

    Hi,

    Does the attached help. I've added a dynamic range name that will automatically expand as you add data and the one line macro (hence the .xlsm file) will refesh the pivot table every time you select the PT sheet.
    Attached Files Attached Files
    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 Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Re: Summarising Data with a Pivot Table and Formulae

    Thanks very much, Richard

  4. #4
    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: Summarising Data with a Pivot Table and Formulae

    Glad to have helped and thanks for the rep.

  5. #5
    Registered User
    Join Date
    06-27-2014
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    15

    Re: Summarising Data with a Pivot Table and Formulae

    Growth rate cannot be calculated in pivot considering the formula complexity.

    You can manually add formula at the end of pivot and it will work normally if you are not going to add any new region or country. But in case you wish to add you need to alter the formula little bit.

    I have added formula in file sent by Richard.

    Rupesh
    Attached Files Attached Files

+ 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. Formulae within Pivot Table Report?
    By Njohn1313 in forum Excel General
    Replies: 1
    Last Post: 06-05-2014, 04:18 PM
  2. Summarising excel data using formulae
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 12:29 PM
  3. Pivot Table - formulae deletion and amendment
    By Harrold in forum Excel General
    Replies: 0
    Last Post: 10-25-2011, 09:33 AM
  4. Excel 2007 : Summarising data from table
    By wardinho09 in forum Excel General
    Replies: 0
    Last Post: 07-09-2010, 01:28 PM
  5. Replies: 1
    Last Post: 05-18-2005, 06:06 PM

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