+ Reply to Thread
Results 1 to 2 of 2

GetPivotData Returns Ref Error On Cell Refs

  1. #1
    Forum Contributor
    Join Date
    01-07-2004
    Posts
    314

    GetPivotData Returns Ref Error On Cell Refs

    Hi all,

    Using Excel 2016.
    Pivot Report Layout is Tabular
    Item labels are repeating

    I clicked on a cell, type "=" and clicked on a value in PivotTable.
    Returned a GetPivotData formulas like :
    =GETPIVOTDATA("JobComplete",Pivot!$D$11,"WorkType","PM","Site","Control","FY","FY2012","FP","OCT","Market","NorCal","AssetDescription","400 to 500")
    I tried changing the references to cell references, but I receive a Ref error
    =GETPIVOTDATA("JobComplete",Pivot!$D$11,"WorkType",C3,"Site",D3,"FY",F3,"FP",G3,"Market",B3,"AssetDescription",E3)
    Any thoughts?
    thx

    Got it. I have to test for possibility of all FY/FP combinations. IF it does not exist in the Pivot, a Ref errors is retuned. I added an IFERROR() wrapper to handle it.

    thx
    Last edited by goss; 04-25-2017 at 11:00 AM. Reason: Solved
    Kind regards,
    w

    http://dataprose.org

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: GetPivotData Returns Ref Error On Cell Refs

    Hi goss,

    Is this solved?

    If not, can you post your example?

    Thanks
    Remember you are unique, like everyone else

+ 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] Cell Reference returns error
    By wiwchar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-23-2015, 05:28 PM
  2. null value in cell returns #value error
    By bbheli in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-30-2011, 08:32 PM
  3. Moving cell refs
    By bobbych in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-2008, 09:48 AM
  4. GETPIVOTDATA returns #REF error
    By yanf7 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-20-2006, 02:00 PM
  5. [SOLVED] GetpivotData returns a #REF! error
    By Jeff K in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-06-2005, 12:20 PM
  6. [SOLVED] VLOOKUP using a cell calculated with NOW returns Error
    By Chris Berding in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  7. [SOLVED] VLOOKUP using a cell calculated with NOW returns Error
    By Chris Berding in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 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