+ Reply to Thread
Results 1 to 4 of 4

Grabbing Info from a Pivot table and placing it into another excel non pivot file

  1. #1
    Registered User
    Join Date
    05-04-2020
    Location
    Oregon, USA
    MS-Off Ver
    17
    Posts
    2

    Grabbing Info from a Pivot table and placing it into another excel non pivot file

    Hello,

    I was curious if anyone would be able to help me with something I've been working on. I currently have a Python file that reads excel files but I'm having problems grabbing information from an excel file that's also a pivot table (as I would like to change filters automatically in my Python script to grab different information). If this isn't possible that's fine but, if there is a different way to do this, that would be fantastic and I would love to be pointed in the right direction or somewhere with tutorials. The over all goal is to grab information from multiple pivot tables based on different filters for each category from one excel file and place them in another excel file into certain rows/columns.

    Many Thanks,

    #0!

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Grabbing Info from a Pivot table and placing it into another excel non pivot file

    what's the source of the pivot table data? why not just grab the source data and process them in python, e.g. with pandas.pivot_table?
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Registered User
    Join Date
    05-04-2020
    Location
    Oregon, USA
    MS-Off Ver
    17
    Posts
    2

    Re: Grabbing Info from a Pivot table and placing it into another excel non pivot file

    Is there a way to grab the csv from the excel file using python? cause if so that would make everything so much easier.

  4. #4
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Grabbing Info from a Pivot table and placing it into another excel non pivot file

    of course, you can read all kind of files with python - e.g. csv, excel (xlsx, xls), json, connect to db

    if you need help with python - you may want to join dedicated python forum
    Last edited by buran; 05-07-2020 at 10:53 AM.

+ 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. Macro is grabbing from Pivot table wrong
    By alesha711 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2019, 10:59 AM
  2. Placing a SUM column in a pivot table
    By taylorsm in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-08-2017, 12:55 PM
  3. Replies: 1
    Last Post: 08-02-2016, 05:55 PM
  4. Placing non pivot data near to pivot table
    By yossip in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-05-2015, 09:07 AM
  5. Using Macros - info from sheet go into a Pivot Table - how Can I hide the Pivot Table?
    By traceylreed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 09:54 AM
  6. Grabbing text from software screen & placing it in excel
    By frankcase in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2009, 11:05 PM
  7. Grabbing the next column value in a pivot table
    By Alexandre in forum Excel General
    Replies: 1
    Last Post: 06-27-2005, 11:05 AM

Tags for this Thread

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