+ Reply to Thread
Results 1 to 2 of 2

Creating a pivot table from multiple worksheets

  1. #1
    Registered User
    Join Date
    06-09-2022
    Location
    Cambridge, UK
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    1

    Creating a pivot table from multiple worksheets

    Hi,

    I've inherited an Excel workbook with multiple worksheets all with vastly differing data relating to different studies.

    However, in each worksheet, we sometimes record the name of a person who has "referred" a patient to a study, alongside the date they were referred.

    I've been asked to summarise all the referrals people have made by month. I am able to create pivot tables for each worksheet showing a count of referrals but is there a way to amalgamate the information across all the worksheets? Example workbook attached.

    Thank you
    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: Creating a pivot table from multiple worksheets

    Try this VBA code on a copy of your file.

    After that pivot table.

    See the attached excel file, for the result of the code.


    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.

+ 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. Creating a pivot table using multiple date worksheets
    By NMDIVA in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-23-2017, 01:21 PM
  2. Creating a pivot table using multiple date worksheets
    By NMDIVA in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-23-2017, 01:17 PM
  3. [SOLVED] Speed up creating worksheets for all filters in pivot table
    By hdinkie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2016, 08:01 AM
  4. Replies: 10
    Last Post: 01-08-2013, 04:03 PM
  5. Replies: 0
    Last Post: 05-28-2012, 02:43 AM
  6. Creating a pivot table from multiple worksheets in one workbook
    By kiran654 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-20-2010, 07:25 PM
  7. [SOLVED] creating a pivot table w/ ranges from 2 worksheets
    By tl in forum Excel General
    Replies: 1
    Last Post: 08-20-2005, 03:05 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