#1   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Getpivotdata problem

Hoping you can help.

I have a Getpivotdata function as per below that successfully returns the
relevant data for all of my records with the exception of one. I believe
this is down to the data itself but as this is based on query results from a
core system I can't change this data.

The Data specifically in question is in cell B43 within my Reports sheet and
contains "US & Canada". I believe that it's the & that is causing the
problem, is there anyway I can adapt my function to cater for this being
valid?

Thanks, Al.

C43 (Reports Sheet):
=GETPIVOTDATA('Remedy Reports'!B$182,$C$32 &" " & "Sum of " &Report!$C$5 &"
" &Report!$B43)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Getpivotdata problem

Include single quotes around that part of the formula:

=GETPIVOTDATA('Remedy Reports'!B$182,$C$32 &" " &
"Sum of " &Report!$C$5 &" '" &Report!$B43 & "'")


Al wrote:
Hoping you can help.

I have a Getpivotdata function as per below that successfully returns the
relevant data for all of my records with the exception of one. I believe
this is down to the data itself but as this is based on query results from a
core system I can't change this data.

The Data specifically in question is in cell B43 within my Reports sheet and
contains "US & Canada". I believe that it's the & that is causing the
problem, is there anyway I can adapt my function to cater for this being
valid?

Thanks, Al.

C43 (Reports Sheet):
=GETPIVOTDATA('Remedy Reports'!B$182,$C$32 &" " & "Sum of " &Report!$C$5 &"
" &Report!$B43)



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

  #3   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Getpivotdata problem

Fantastic - works brilliantly!!

Cheers for your help Debra, really appreciated.

Al.

"Debra Dalgleish" wrote:

Include single quotes around that part of the formula:

=GETPIVOTDATA('Remedy Reports'!B$182,$C$32 &" " &
"Sum of " &Report!$C$5 &" '" &Report!$B43 & "'")


Al wrote:
Hoping you can help.

I have a Getpivotdata function as per below that successfully returns the
relevant data for all of my records with the exception of one. I believe
this is down to the data itself but as this is based on query results from a
core system I can't change this data.

The Data specifically in question is in cell B43 within my Reports sheet and
contains "US & Canada". I believe that it's the & that is causing the
problem, is there anyway I can adapt my function to cater for this being
valid?

Thanks, Al.

C43 (Reports Sheet):
=GETPIVOTDATA('Remedy Reports'!B$182,$C$32 &" " & "Sum of " &Report!$C$5 &"
" &Report!$B43)



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


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 problem Laurence Lombard Excel Discussion (Misc queries) 4 January 11th 08 03:11 PM
Problem with getpivotdata function conniemm Excel Discussion (Misc queries) 1 September 18th 07 05:32 AM
getpivotdata refresh problem Derrick Excel Worksheet Functions 0 August 9th 06 07:19 PM
GETPIVOTDATA - Pivot table name problem? Kobayashi Excel Worksheet Functions 0 November 9th 04 04:46 PM
GETPIVOTDATA - Pivot table name problem? Kobayashi Excel Worksheet Functions 2 November 8th 04 11:12 PM


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