#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default GETPIVOTDATA = #N/A


In Excel 2000, I have used a spreadsheet for over 9 months without issue.

All of a sudden, the GETPIVOTDATA function returns #N/A for 75% of its use,
working normally for the other 25%.

The pivot table, and its underlying data, changes every day to the extent
that another day's transactions appear at the right-hand side of the pivot
data. The incremental label is a date; the analysis labels remain unchanged.

Why has GETPIVOTDATA sudden gone inconsistently stupid and what is the
solution?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default GETPIVOTDATA = #N/A

It's impossible to give you a correct answer without seeing the formula
you're referring to. However, be aware that the GETPIVOTDATA syntax is
different under XL 2000 than it is under later versions, so if you have
upgraded XL recently, that could be the issue.

See here for an explanation of how the function works among the various XL
versions: http://www.contextures.com/xlPivot06.html

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Martin James Thornhill" wrote:


In Excel 2000, I have used a spreadsheet for over 9 months without issue.

All of a sudden, the GETPIVOTDATA function returns #N/A for 75% of its use,
working normally for the other 25%.

The pivot table, and its underlying data, changes every day to the extent
that another day's transactions appear at the right-hand side of the pivot
data. The incremental label is a date; the analysis labels remain unchanged.

Why has GETPIVOTDATA sudden gone inconsistently stupid and what is the
solution?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default GETPIVOTDATA = #N/A

Thank you for the URL.

The problem nevertheless persists!

One of the formulae that work is:
=-GETPIVOTDATA('x.xls'!PIV,"GBP "&$A11&" "&TEXT(B$2,"dd/mm/yyyy"))

One of the formulae that don't work is:
=-GETPIVOTDATA('x.xls'!PIV,"GBP "&$A10&" "&TEXT(B$2,"dd/mm/yyyy"))

whe
PIV is the named range that includes the pivot table. The pivot table is -
and always has been - within range.

A10 and A11 are text strings that correspond (congruently) with row labels
in the pivot table.

B2 is a date, converted into the same format per the pivot table (done
specifically to make it work).

To emphasise:
* this worked for months and has now decided to give up!
* identical formaulae behave inconsistently!
* aaagh!

Re-typing the formula results in error, as does copy-paste from a working
formula.

The function and the pivot table sit on different worksheets in the same
workbook.

The version of Excel is 2000 and always has been.


"Dave F" wrote:

It's impossible to give you a correct answer without seeing the formula
you're referring to. However, be aware that the GETPIVOTDATA syntax is
different under XL 2000 than it is under later versions, so if you have
upgraded XL recently, that could be the issue.

See here for an explanation of how the function works among the various XL
versions: http://www.contextures.com/xlPivot06.html

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Martin James Thornhill" wrote:


In Excel 2000, I have used a spreadsheet for over 9 months without issue.

All of a sudden, the GETPIVOTDATA function returns #N/A for 75% of its use,
working normally for the other 25%.

The pivot table, and its underlying data, changes every day to the extent
that another day's transactions appear at the right-hand side of the pivot
data. The incremental label is a date; the analysis labels remain unchanged.

Why has GETPIVOTDATA sudden gone inconsistently stupid and what is the
solution?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GETPIVOTDATA help Matt Excel Discussion (Misc queries) 2 October 12th 06 03:39 PM
getpivotdata br549 Excel Discussion (Misc queries) 1 August 8th 06 08:23 PM
getpivotdata Alice Excel Worksheet Functions 0 June 23rd 06 05:26 PM
=GETPIVOTDATA refar Excel Discussion (Misc queries) 2 June 15th 06 01:28 PM
GETPIVOTDATA Sho Excel Worksheet Functions 1 April 8th 05 06:13 PM


All times are GMT +1. The time now is 02:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"