Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default GETPIVOTDATA with date in referenced cell

Hi. Using xl2000 on XP.

I've written the formula =IF(ISNA(GETPIVOTDATA(threewtpt,$A$2&" "&
$A4&" "&$C$16))=TRUE,0,GETPIVOTDATA(threewtpt,$A$2&" "&$A4&" "&$C$16))

When I enter a date in $C$16, referring to a field containing date
items, the formula returns an incorrect result of $0.00. When I
change the field to one containing text and enter a corresponding text
item in $C$16, the formula returns the correct result of $5.00. If I
write the formula referring to the items using text, e.g.
=GETPIVOTDATA(threewtpt,"'Seattle' 'BHL' Date[1/1/2008]), instead of
cell references, it works just fine. I tried to exchange the $C$16
cell reference in the formula with Date[1/1/2008], but I get the same
result of $0.00. Is there something I can do differently?

Thanks,
Chris
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 and Date-type field (Excel 2007) Victoria@dig Excel Worksheet Functions 0 April 21st 10 10:59 PM
Return Results of a cell based on cell referenced in a cell Drew Excel Worksheet Functions 4 September 3rd 09 06:19 PM
GETPIVOTDATA with date in referenced cell [email protected] Excel Worksheet Functions 1 January 18th 08 04:16 AM
Automate a date referenced in a formula pointing to another sheet Birt36 Excel Worksheet Functions 9 November 16th 05 02:03 PM
Can I get a day(eg.Monday) referenced from a date cell?(2/May/05) murdot Excel Discussion (Misc queries) 1 May 29th 05 11:44 PM


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