Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Getpivotdata and #REF

I want to return a zero value if the result of my getpivotdata formula is
going to return #REF. How do I do this?

Here is the formula:
=+GETPIVOTDATA("USD TOTAL",'[0407 COMBO Pivots.xls]OEM'!$A$3,"Region per
L/U","CAN")

Also.... Is there a way to pull the getpivotdata results onto my report when
the external workbook that it is pulling from is not opened? I've tried
adding the filepath name to the formula string, but that only returns
#REF....please help!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Getpivotdata and #REF

Try this...

=if(iserror(GETPIVOTDATA("USD TOTAL",'[0407 COMBO
Pivots.xls]OEM'!A$3,"Region per L/U","CAN"), 0, GETPIVOTDATA("USD
TOTAL",'[0407 COMBO Pivots.xls]OEM'!A$3,"Region per L/U","CAN"))
--
HTH...

Jim Thomlinson


"Bonnie" wrote:

I want to return a zero value if the result of my getpivotdata formula is
going to return #REF. How do I do this?

Here is the formula:
=+GETPIVOTDATA("USD TOTAL",'[0407 COMBO Pivots.xls]OEM'!$A$3,"Region per
L/U","CAN")

Also.... Is there a way to pull the getpivotdata results onto my report when
the external workbook that it is pulling from is not opened? I've tried
adding the filepath name to the formula string, but that only returns
#REF....please help!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Getpivotdata and #REF

i tried it and i get an error message pointing to the , 0,
I tried taking out the space and that didn't do anything. Is there anything
that I'm missing?

"Jim Thomlinson" wrote:

Try this...

=if(iserror(GETPIVOTDATA("USD TOTAL",'[0407 COMBO
Pivots.xls]OEM'!A$3,"Region per L/U","CAN"), 0, GETPIVOTDATA("USD
TOTAL",'[0407 COMBO Pivots.xls]OEM'!A$3,"Region per L/U","CAN"))
--
HTH...

Jim Thomlinson


"Bonnie" wrote:

I want to return a zero value if the result of my getpivotdata formula is
going to return #REF. How do I do this?

Here is the formula:
=+GETPIVOTDATA("USD TOTAL",'[0407 COMBO Pivots.xls]OEM'!$A$3,"Region per
L/U","CAN")

Also.... Is there a way to pull the getpivotdata results onto my report when
the external workbook that it is pulling from is not opened? I've tried
adding the filepath name to the formula string, but that only returns
#REF....please help!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Getpivotdata and #REF

Sorry I missed a bracket...

=if(iserror(GETPIVOTDATA("USD TOTAL",'[0407 COMBO
Pivots.xls]OEM'!A$3,"Region per L/U","CAN")), 0, GETPIVOTDATA("USD
TOTAL",'[0407 COMBO Pivots.xls]OEM'!A$3,"Region per L/U","CAN"))

--
HTH...

Jim Thomlinson


"Bonnie" wrote:

i tried it and i get an error message pointing to the , 0,
I tried taking out the space and that didn't do anything. Is there anything
that I'm missing?

"Jim Thomlinson" wrote:

Try this...

=if(iserror(GETPIVOTDATA("USD TOTAL",'[0407 COMBO
Pivots.xls]OEM'!A$3,"Region per L/U","CAN"), 0, GETPIVOTDATA("USD
TOTAL",'[0407 COMBO Pivots.xls]OEM'!A$3,"Region per L/U","CAN"))
--
HTH...

Jim Thomlinson


"Bonnie" wrote:

I want to return a zero value if the result of my getpivotdata formula is
going to return #REF. How do I do this?

Here is the formula:
=+GETPIVOTDATA("USD TOTAL",'[0407 COMBO Pivots.xls]OEM'!$A$3,"Region per
L/U","CAN")

Also.... Is there a way to pull the getpivotdata results onto my report when
the external workbook that it is pulling from is not opened? I've tried
adding the filepath name to the formula string, but that only returns
#REF....please help!!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Getpivotdata and #REF

it worked :) Thank you tons!!!

"Jim Thomlinson" wrote:

Sorry I missed a bracket...

=if(iserror(GETPIVOTDATA("USD TOTAL",'[0407 COMBO
Pivots.xls]OEM'!A$3,"Region per L/U","CAN")), 0, GETPIVOTDATA("USD
TOTAL",'[0407 COMBO Pivots.xls]OEM'!A$3,"Region per L/U","CAN"))

--
HTH...

Jim Thomlinson


"Bonnie" wrote:

i tried it and i get an error message pointing to the , 0,
I tried taking out the space and that didn't do anything. Is there anything
that I'm missing?

"Jim Thomlinson" wrote:

Try this...

=if(iserror(GETPIVOTDATA("USD TOTAL",'[0407 COMBO
Pivots.xls]OEM'!A$3,"Region per L/U","CAN"), 0, GETPIVOTDATA("USD
TOTAL",'[0407 COMBO Pivots.xls]OEM'!A$3,"Region per L/U","CAN"))
--
HTH...

Jim Thomlinson


"Bonnie" wrote:

I want to return a zero value if the result of my getpivotdata formula is
going to return #REF. How do I do this?

Here is the formula:
=+GETPIVOTDATA("USD TOTAL",'[0407 COMBO Pivots.xls]OEM'!$A$3,"Region per
L/U","CAN")

Also.... Is there a way to pull the getpivotdata results onto my report when
the external workbook that it is pulling from is not opened? I've tried
adding the filepath name to the formula string, but that only returns
#REF....please help!!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Getpivotdata and #REF

For your second question, no, the other workbook must be open if you
refer to it in a GetPivotData formula.

Perhaps you could create the GetPivotData formulas on a hidden sheet in
the other workbook, and link to those cells instead.

Bonnie wrote:
I want to return a zero value if the result of my getpivotdata formula is
going to return #REF. How do I do this?

Here is the formula:
=+GETPIVOTDATA("USD TOTAL",'[0407 COMBO Pivots.xls]OEM'!$A$3,"Region per
L/U","CAN")

Also.... Is there a way to pull the getpivotdata results onto my report when
the external workbook that it is pulling from is not opened? I've tried
adding the filepath name to the formula string, but that only returns
#REF....please help!!



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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 Dave F Excel Discussion (Misc queries) 3 November 22nd 06 09:26 PM
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 ??? Eric Excel Worksheet Functions 3 October 18th 05 09:53 PM
GetPivotData Paul Smith Excel Worksheet Functions 0 January 20th 05 07:23 PM


All times are GMT +1. The time now is 11:07 AM.

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"