![]() |
|
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Feb 2002
Location: Adelaide, Australia
Posts: 182
|
I am having difficulty with a GETPIVOTDATA function in a workbook. I have set up the functions on my own PC, and they work fine, but when someone else tries to open the file on their own PC, 3 of the functions (out of 10 GETPIVOTDATA functions) change to #Ref errors. Can anyone tell me why??
Thnx in advance Stuart |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,653
|
Can you provide one of the 3 failing GETPIVOTDATA formulas?
|
|
|
|
|
|
#3 |
|
Join Date: Feb 2002
Location: Adelaide, Australia
Posts: 182
|
Sorry to be so long in replying.
=GETPIVOTDATA('JBarrey Tables'!$A$65:$E$174,"Week 1 Value Disbursed HL") doesn't work. =GETPIVOTDATA('JBarrey Tables'!$A$1:$J$58,"Week 1 Self") does work. Thnx Stuart [ This Message was edited by: svmac on 2002-03-04 18:50 ] |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,653
|
From the Help topic for GETPIVOTDATA...
GETPIVOTDATA(pivot_table,name) "If the syntax of name does not describe a visible field, if name is omitted, or if name includes a page field that is not displayed, GETPIVOTDATA returns #REF!." Are all of the fields for these items visible? |
|
|
|
|
|
#5 |
|
Join Date: Feb 2002
Location: Adelaide, Australia
Posts: 182
|
All fields are visible.
I have had further chance to look at this, and I am now even more confused. I have been able to get all formulae to work, until I sort the table using the drop down field at the top of the table. When I change the name of the person whose sales details I am sorting, the formula result changes from a value to #Ref error. The only difference to the table is the initials at the top, and the formula does not change. Let me know if more clarification is needed. Thnx in advance Stuart |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|