+ Reply to Thread
Results 1 to 11 of 11

Pivot table help over multiple sheets

  1. #1
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    Pivot table help over multiple sheets

    Hi guys,

    I am a bit stuck and need some expert help!

    I have a spreadsheet attached (I've taken out the personal details columns), so just 2 columns that the pivot looks at - Country and Paid.

    I have all the months in different sheets including emerging and 'Switzerland' for each month which need to be kept seperate.

    I have started to create a test pivot on the 1st months sheet, I would like to know whether i have to do this on each sheet or can I do 1 pivot that adds up 'country' and 'paid' columns for each month and displays this info?

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help over multiple sheets

    With the code below and after that an pivot table.

    See the attached file.

    Please Login or Register  to view this content.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    Re: Pivot table help over multiple sheets

    Hi Thanks for reply, however thats abit confusing! I was thinking about created a pivot for each sheet then a sheet to add all the pivots on each sheet, anyone have any ideas or quicker ways to do this?

    Thanks

  4. #4
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    Re: Pivot table help over multiple sheets

    I have attached a new test workbook as 1 of the country columns was incorrect, Please could anyone give some help - I need something to add up all paid status's for each country and each month and display this, I was thinking of doing a pivot table for each sheet then somehow adding up this figures on a new totals sheet, is there an easier way?

    Thank you
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help over multiple sheets

    "I was thinking of doing a pivot table for each sheet then somehow adding up this figures on a new totals sheet, is there an easier way?"

    But why do you think that is easier than having all data on 1 sheet (and after that just make 1 pivot table).

  6. #6
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    Re: Pivot table help over multiple sheets

    Hi thanks for reply, its because each month has to be kept separate, so is there anyway to do this please?

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help over multiple sheets

    You don't explain why each month has to be be seperated.

    Please explain.

    P.s. In my solution each month is also kept seperated.

  8. #8
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    Re: Pivot table help over multiple sheets

    Because each month has to be laid out on separate sheets as they originally came from separate workbooks, thanks for your solution however thats not really what im looking for as i would like eg. greece to show total amount 'paid' 'unpaid' 'cancelled' etc in a neat sheet.

  9. #9
    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: Pivot table help over multiple sheets

    Hi,

    I agree with oeldere the PT is the optimum approach, and he's very helpfully written a macro that will enable you to bring everything together on a single consolidated sheet. What is there not to like about this?

    You've said yourself that the data comes from separate workbooks which suggests you are already copying and pasting to this one albeit in separate sheets. Why not instead of doing that stack the pasted items underneath each other on a single sheet

    If by 'neat sheet' you mean something other than a completely separate Pivot Table sheet then you could create whatever sheet layout you want and use a Data Advanced filter to populate it.
    You'd still need a database to work off though so one way or another and without a great deal of time and trouble, getting all your data on a single sheet is the most logical and sensible way to go.
    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.

  10. #10
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    Re: Pivot table help over multiple sheets

    Hi thanks for your replies Im very grateful for the help! The problem i have is the months data will be updated by other people aswell so i need to be able to refresh the data, I am using excel 2007 at the moment and I can't edit the sheet you kindly created (oeldere)?

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help over multiple sheets

    If you want to refresh the data, just run the VBA code again and (also) all new data are in the consolidated sheet.

+ 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. Excel 2007 : Pivot table using multiple sheets
    By mcmuney in forum Excel General
    Replies: 0
    Last Post: 03-10-2012, 12:40 AM
  2. Replies: 5
    Last Post: 07-01-2011, 01:36 AM
  3. Multiple Sheets, One Pivot Table?
    By anon in forum Excel General
    Replies: 1
    Last Post: 12-26-2010, 05:32 AM
  4. pivot table from multiple sheets?
    By kileil in forum Excel General
    Replies: 1
    Last Post: 07-26-2007, 08:15 PM
  5. Pivot table - Multiple sheets?
    By Vjicecool in forum Excel General
    Replies: 1
    Last Post: 03-28-2007, 11:22 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