+ Reply to Thread
Results 1 to 16 of 16

how to get data from several sheets on to pivot table

  1. #1
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    how to get data from several sheets on to pivot table

    Hi everyone, i am looking for little bit of help i have recently created my works off duty for all the staff and would like to know how to filter by name so it shows up what days they are working for each week..each week is on a separate sheet.


    Name Monday 27th Tuesday 28th Wednesday 29th Thursday 30th Friday 31st Saturday 1st Sunday 2nd

    joe 0800-1600 0800-1600 0800-1600 0800-1230


    each sheet represents a new week

    how do i get to filter the name Joe so that it shows me his off duty for the six weeks

    Please help
    Dougers1

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

    Re: how to get data from several sheets on to pivot table

    http://www.excelforum.com/the-water-...-question.html
    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
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    how to i add attachment of my spreadsheet so that others can see

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

    Re: how to get data from several sheets on to pivot table

    To attach a Workbook
    (please do not post pictures or links to worksheets)•Click Advanced (next to quick post),
    •Scroll down until you see "Manage Attachments",
    •Click that then select "add files" (top right corner).
    •Click "Select Files" find your file, click "open" click "upload"
    •Once the upload is completed the file name will appear below the input boxes in this window.
    •Click "Done" at bottom right to close the Attachment Manager.
    •Click "Submit Reply"

  5. #5
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    here is my workbook hope this helps with what im trying to get across
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    is this a simple procedure or is it quite difficult to arrange.im hoping to be able to do this as it would make life much easier at work

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

    Re: how to get data from several sheets on to pivot table

    See the attached file.

    Rearange the data with an macro and after that a pivot table.

  8. #8
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    this is what im looking for in the consolidation sheet i can filter by name and sheet.....now just need to work out how to do this

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

    Re: how to get data from several sheets on to pivot table

    I ran this code to get those data.

    It is also in the file I posted.

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    thank you very much. this is going to help me

  11. #11
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    this has been great help to me and has now got me thinking....if i was to and 2 rows at bottom of the off duty with numbers for each day ie: early and late where it tells me many people have on a early & late shift each day of the week. would it be possible to add code so that i could let staff ask for annual leve and if the number is low then it says No.

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

    Re: how to get data from several sheets on to pivot table

    Not understand what you are asking.

    Show it in your excel file.

  13. #13
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    basically what i mean is is it possible for so that it set up a input box asking to check what day of week the want annual leave,and if number is lower than 7 then answer is no
    Attached Files Attached Files

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

    Re: how to get data from several sheets on to pivot table

    Have no idea, what you are asking, and the file doesn't tell it to me either.

  15. #15
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: how to get data from several sheets on to pivot table

    You can use the Pivot Table Wizard:
    To get the Pivot Table Wizard on the Ribbon, Right click in the ribbon and choose CUSTOMIZE THE RIBBON.

    Select POPULAR COMMANDS and MAIN TABS

    Scroll down the COMMANDS and select PIVOT TABLE WIZARD.

    Add the PIVOT TABLE WIZARD to the INSERT TAB and click OK.

    Click on the Pivot Table Wizard and select Multiple Consolidation Ranges click NEXT

    Select CREATE SINGLE PAGE FILE FOR ME click NEXT

    Select the range, including title row and click ADD...repeat for each page and click NEXT.

    Select where you want the Pivot Table and click finish.

    Create the Pivot table the way that you want it to appear.

    To calculate the No Annual Leave, enter this formula in G6 next to the Pivot Table and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by newdoverman; 09-09-2014 at 01:21 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  16. #16
    Forum Contributor
    Join Date
    11-26-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    429

    Re: how to get data from several sheets on to pivot table

    imagine you were looking for annual leave ...the code would check how many staff are on the day (early & late)...and if numbers are below 7 then answer would come back saying no to annual leave

    also can you recommend a good programming book.ive done some before but it was 10 yr ago and want to self teach myself again

+ 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. using two data sheets in Pivot table
    By vivekdevkar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-31-2010, 07:06 AM
  2. Refreshing pivot table data when moving between sheets
    By sayed in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-16-2010, 09:50 AM
  3. Two Data Sheets to make One Pivot Table
    By Sarina2424 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2010, 06:15 AM
  4. Normal Pivot table from data in Multiple sheets
    By pnair in forum Excel General
    Replies: 0
    Last Post: 08-19-2009, 09:35 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