+ Reply to Thread
Results 1 to 15 of 15

Help with Pivot table

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    70

    Help with Pivot table

    Hi Friends,

    I have a question on Pivot tables, please can anyone let me know if it is possible to add a formula to pivot table.
    I have almost 6 pivots looking at the same data source but picking up information based on month and week.

    I would like to know if it is possible to enter a formula in pivot to pickup this information (that is the month) from another sheet and update the pivots as per this items.

    Thanks

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    HI muheeb,

    Can you show a sample file along with your expected results ?

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with Pivot table

    Hi Dilip,

    Thanks again for pitching in.

    The attached is the sample file i have two pivots in the sheet, i need these pivots to pick up the month from a different source.

    Example i have month in sheet 3, is it possible for the pivot to take the month from sheet 3 and update the and refresh the pivot table.
    Attached Files Attached Files

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    Not sure what is your ultimate goal is.. but you can extract month from sheet 3 in sheet 1 and then you are already using sheet 1 as pivot data source - so all set




    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Registered User
    Join Date
    04-22-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with Pivot table

    hi Dilip,

    I work on a citrix environment hence not able to send the actual file.and its huge as well. so i tried to create a sample file for you.

    What i am doing here is i am trying to create a control tab where the pivots are picking up information from source data and validating the entries.

    SO i have these pivots on a separate sheet say sheet 3 and i have data from Jan to Dec in the source file.

    I want these pivots to check the month which is being used in sheet1 and pick it up by itself in sheet 3 and refresh the pivots as per that month... hope this helps.

    please tell me if i can do this.
    Last edited by muheebrahman; 05-03-2013 at 08:57 AM.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    I want these pivots to check the month which is being used in sheet1 and pick it up by itself in sheet 3 and refresh the pivots as per that month... hope this helps.
    I found that Sheet 1 has month as March in column A.. now you want this month to appear in B2 of sheet 3 and based on this month, pivots on sheet 4 should be filtered.. correct ?

    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    Okay.. as a option try the below excel workbook.

    Pivot(1).xlsm

    Regards,
    DILIPandey
    <click on below * if this helps>

  8. #8
    Registered User
    Join Date
    04-22-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with Pivot table

    Ah Sorry, I failed to make you understand at first.

    WHat i need is the pivots in sheet 4 need to pick up month from sheet 3.

    I have working sheet where the month is the criteria and all the data is picked up as per the month.
    So i want the pivots to also use the month which is in sheet 3 and update and refresh accordingly.

    Hope this sheds some light on..

  9. #9
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    sorry.. I am not able to understand.
    I can assume few things here but don't like to


    Regards,
    DILIPandey
    <click on below * if this helps>

  10. #10
    Registered User
    Join Date
    04-22-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with Pivot table

    Hi,

    I tried to put my workings on a word to explain it to you.
    please tell me this helps.Example.docxExample.docx

  11. #11
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    Okay .. see my above post #7 where two pivots are picking up month from a single source.
    i.e, two pivots on sheet 4 are getting filtered using b2 of sheet 3.


    Regards,
    DILIPandey
    <click on below * if this helps>

  12. #12
    Registered User
    Join Date
    04-22-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with Pivot table

    Sorry Dilip,

    I still fail to understand how did u make the pivots pick up the month from different sheet.

    I want the pivots to pick up the month from sheet 3.

    the pivot table should select which month i am using in sheet 3 to be picked up and update the pivots with that particular months data.
    Last edited by muheebrahman; 05-04-2013 at 03:15 AM.

  13. #13
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    I used vba code to do this.
    Open my attachment to see the code. thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>

  14. #14
    Registered User
    Join Date
    04-22-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with Pivot table

    Yup saw that now,

    But trust me i am a noob when it comes to VBA i dont know a thing about it.
    Is it possible for me to copy the codes and use it in my file?

  15. #15
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with Pivot table

    Yes.. you can use that code in your file.

    See the code and wherever you find any reference to sheet / range /cell etc, change that to suit your file's data arrangement.

    Regards,
    DILIPandey
    <click on below * if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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