+ Reply to Thread
Results 1 to 6 of 6

Copying Data from Pivot and pasting it to specific location

  1. #1
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    88

    Copying Data from Pivot and pasting it to specific location

    Hi All,

    I am working on a report and need some help in order to automate some stuff. Id someone can help me with VBA code to copy specific data from pivot.
    I am attaching the sample file. I want to copy years, months and data of each stage in specific sheets.
    For example I have filled tab 'Stage 1' manually and in same way I want this data to be copied whenever run the code

    Any help will be appriciated

    Thanks
    Dinesh
    Last edited by dinesh_ltjd; 11-22-2014 at 06:50 PM.

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Copying Data from Pivot and pasting it to specific location

    Do you really required a macro!!!

    Another option..
    Place Subcategory at Page FILTER section.
    Go to Analyze > Pivot Table > Show PivotReport Filter Pages and in the next screen select "SubCategory"

    ExcelForum#1051309.jpg
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    88

    Re: Copying Data from Pivot and pasting it to specific location

    Hi Debraj,

    Thanks for quick response

    This option will create 5 different Pivots. I just want the values in next sheet because I have created another Macro to do Time series modeling with this data and forecast the future month.

    Only problem I am facing is to reconcile the data from the pivot to sheet without manual intervention

    Thanks
    DInesh

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Copying Data from Pivot and pasting it to specific location

    Without viewing your already developed code.. here is a less bullet-prrof idea.. check the attached..

    Please Login or Register  to view this content.
    ExcelForum#1051309.xlsm

  5. #5
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    Re: Copying Data from Pivot and pasting it to specific location

    Hi Dinesh,

    does this help?

    Sample2 - Decar.xlsm

    As a little tip for posting dummy data. Check the Data Source of the Pivot, it still shows the path of the original file on your computer which includes the Name of the company this data is from.


    *Edit: Just realised Debraj already posted a solution. Thanks for that, I did not know you could do it like this. Way more efficient than how I did it.
    Last edited by Decar; 11-22-2014 at 06:37 PM.
    Say thanks, Click *

  6. #6
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    88

    Re: Copying Data from Pivot and pasting it to specific location

    Thanks All for your help

+ 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. [SOLVED] Macro for copying data from sheet1 and pasting to another when specific conditions are met
    By MathewPol in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-04-2014, 10:00 AM
  2. [SOLVED] Extracting specific data from lists and copying to another location
    By Glenn Kennedy in forum Excel General
    Replies: 5
    Last Post: 08-27-2012, 09:50 AM
  3. Copying Specific Data from One Workbook and Pasting to Another
    By dgarant in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-06-2012, 09:17 PM
  4. VBA Macro Help: Copying and pasting data that is date specific
    By bleedUTorange in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-03-2011, 02:00 PM
  5. Pivot table - copying & pasting the data into another sheet
    By chedges in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2007, 10:30 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