+ Reply to Thread
Results 1 to 10 of 10

Getpivotdata not working excel 2013, options are on

  1. #1
    Registered User
    Join Date
    05-26-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft 365
    Posts
    8

    Getpivotdata not working excel 2013, options are on

    Hello,

    I'm trying to use getpivotdata to populate another table for my pivot charts. All options are turned on to generate pivot formulas. I enter "=" then click a cell in my pivot table and the getpivotdata formula is not automatically generating. I'm struggling to make the formula from scratch as well. Any ideas to get the formula working? I've restarted my workbook after unchecking the options to generate pivot table formulas. I can't update software on my work computer and I'm using Excel 2013.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Getpivotdata not working excel 2013, options are on

    You need to check, not uncheck, the option to generate the formulas. You also need to select a cell in the values area of the pivot table; GETPIVOTDATA does not work for fields in any other areas of the pivot table.
    Rory

  3. #3
    Registered User
    Join Date
    05-26-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft 365
    Posts
    8
    Quote Originally Posted by rorya View Post
    You need to check, not uncheck, the option to generate the formulas. You also need to select a cell in the values area of the pivot table; GETPIVOTDATA does not work for fields in any other areas of the pivot table.
    Sorry for the misunderstanding, they are/were checked. I was trying something another user did. But yes they are checked and I selected a value which happens to be a date and I'm still getting a normal cell reference. I've tried several cells with value and nothing is triggering getpivotdata. Thanks for your quick reply.

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Getpivotdata not working excel 2013, options are on

    Is that definitely a value field rather than a row/column field? It would probably help to post a workbook and state which cell(s) you are trying to reference

  5. #5
    Registered User
    Join Date
    05-26-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft 365
    Posts
    8
    Quote Originally Posted by rorya View Post
    Is that definitely a value field rather than a row/column field? It would probably help to post a workbook and state which cell(s) you are trying to reference
    I'll upload my file in 30 minutes (having lunch). Hopefully I'm allowed to now since I'm a new user. I'll find out soon. I appreciate the help Rorya.

  6. #6
    Registered User
    Join Date
    05-26-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft 365
    Posts
    8

    Re: Getpivotdata not working excel 2013, options are on

    It's attached. The table below the pivot table (Dashboard sheet) is where I'm trying to populate this information.
    I moved that table there temporarily from my "Workings" tab to see if it would make a difference and for ease of transferring data.
    I'm taking this step since I lose the conditional formatting in my gantt chart as soon as I use a slicer. Thank you again!
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-26-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft 365
    Posts
    8

    Re: Getpivotdata not working excel 2013, options are on

    Hi rorya!

    I forgot to reply to this message with my post. I posted the file in this thread below.

    Thank you again for taking a look. I'll check back in tomorrow.

    All the best

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Getpivotdata not working excel 2013, options are on

    As rorya mentioned it will only work if you click in either Forecast or Actual areas.
    Cheers
    Andy
    www.andypope.info

  9. #9
    Registered User
    Join Date
    05-26-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft 365
    Posts
    8

    Re: Getpivotdata not working excel 2013, options are on

    I've seen videos where you can getpivotdata with dates and you treat them as text. But I can't get the formula to pop-up which I now I understand with your help. Is there a work around for this? I just edited my data table and I lost my gantt bars for one project as well. I was hoping this getpivotdata would help with my gantt issues. Thanks for your reply.

  10. #10
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Getpivotdata not working excel 2013, options are on

    You cannot use Getpivotdata to return anything other than a value field value (Actuals or Forecast in your case).

+ 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. Senders Email Address: Outlook 2013 to Excel 2013 Not Working
    By Excel-Access in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2018, 09:48 AM
  2. Replies: 4
    Last Post: 09-12-2017, 12:20 PM
  3. [SOLVED] Excel 2013 - Adjust Excel Sheet Protection options to allow users to make some changes
    By aLi3nZ in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-21-2017, 12:54 AM
  4. Excel Model Not Working - GETPIVOTDATA and Dates Not Right
    By wesleyjf91 in forum Excel General
    Replies: 0
    Last Post: 07-14-2016, 01:10 PM
  5. [SOLVED] Excel to PPT - VBA no longer working with 2013
    By Jissenka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2015, 05:57 PM
  6. Replies: 2
    Last Post: 07-14-2014, 11:11 AM
  7. [SOLVED] Working with options from within Tools Options clears the Clipboar
    By Peter Rooney in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-18-2005, 12:55 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