Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default GETPIVOTDATA returns zero when copied to another sheet

I have a worksheet with a GETPIVOTDATA command that works perfectly.
When I copy this worksheet to a new worksheet, the GETPIVOTDATA
command returns a value of zero in the cell. However, if I go to the
formula bar on the worksheet with the copied cell that returns the
zero and click on the command text and then click back to a cell, the
GETPIVOTDATA returns the correct value.

What causes this? Is there a way to "recalc" the whole page at once
instead of cell be cell?

Thank you,

Frank Hayes
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default GETPIVOTDATA returns zero when copied to another sheet

Hi,

Is the source or target range formatted as text? Is your workbook in manual
calculation mode? Choose Tools, Options, Calculation and make sure Automatic
is checked.

You can recalculate by pressing F9. or clicking the Calc Sheet button in
the above dialog box.

F9 Recalculate all open workbooks
Shift+F9 Calculate active worksheet
Ctrl+Alt+F9 Recalculates all open workbooks regardless of changes - Full
recalc
Ctrl+Alt+Shift+F9 Rechecks dependent formulas and then calculates all cells
in all open workbooks, including cells not marked as needing to be calculated.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Frank Hayes" wrote:

I have a worksheet with a GETPIVOTDATA command that works perfectly.
When I copy this worksheet to a new worksheet, the GETPIVOTDATA
command returns a value of zero in the cell. However, if I go to the
formula bar on the worksheet with the copied cell that returns the
zero and click on the command text and then click back to a cell, the
GETPIVOTDATA returns the correct value.

What causes this? Is there a way to "recalc" the whole page at once
instead of cell be cell?

Thank you,

Frank Hayes

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default GETPIVOTDATA returns zero when copied to another sheet

Ctrl+Alt+F9 did the trick. Thank you for your help.

Frank

"Shane Devenshire" wrote in
message ...
Hi,

Is the source or target range formatted as text? Is your workbook in
manual
calculation mode? Choose Tools, Options, Calculation and make sure
Automatic
is checked.

You can recalculate by pressing F9. or clicking the Calc Sheet button in
the above dialog box.

F9 Recalculate all open workbooks
Shift+F9 Calculate active worksheet
Ctrl+Alt+F9 Recalculates all open workbooks regardless of changes - Full
recalc
Ctrl+Alt+Shift+F9 Rechecks dependent formulas and then calculates all
cells
in all open workbooks, including cells not marked as needing to be
calculated.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Frank Hayes" wrote:

I have a worksheet with a GETPIVOTDATA command that works perfectly.
When I copy this worksheet to a new worksheet, the GETPIVOTDATA
command returns a value of zero in the cell. However, if I go to the
formula bar on the worksheet with the copied cell that returns the
zero and click on the command text and then click back to a cell, the
GETPIVOTDATA returns the correct value.

What causes this? Is there a way to "recalc" the whole page at once
instead of cell be cell?

Thank you,

Frank Hayes


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 function only returns zero's Steven Cheng Excel Worksheet Functions 0 April 21st 08 07:16 PM
insert copied row on a protected sheet Oakie Excel Discussion (Misc queries) 0 July 26th 06 05:57 PM
GETPIVOTDATA returns #REF error yanf7 Excel Worksheet Functions 0 February 20th 06 06:00 PM
When Copying a sheet, the whole workbook gets copied Rugby Al Excel Discussion (Misc queries) 1 January 5th 06 01:03 AM
GetpivotData returns a #REF! error Jeff K Excel Worksheet Functions 2 December 6th 05 04:16 PM


All times are GMT +1. The time now is 06:44 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"