View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Bonnie Bonnie is offline
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!!