Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default USING IsNull Function in PivotTable

Thanks in advance for the feedback!! I create Pivot Tables that use the
following code to create a calced field. The only problem is I get a table
that has tons of zeros in it. I can't use the universal turn of zeros on
worksheet because there are some zeros that don't result from a calced field
that should be displayed. I was wondering if anyone knew how or if I could
use the IsNull function so that resulting display would be a blank cell
instead of zero. When I replace ,0 in the formula with ,"" the entire calced
field disappears.

ActiveSheet.PivotTables("PivotTable2").CalculatedF ields.Add _
"Weighted Avg Price", " If(PosSold 0,rev / PosSold,0)"

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
Test for null - insert a row if isnull Bonnie Excel Discussion (Misc queries) 3 July 10th 07 09:20 PM
Having trouble with a IsNull function Brett Smith[_2_] Excel Programming 1 January 18th 06 10:43 PM
ISNULL( ) or something else... Shane Excel Programming 4 October 20th 05 06:02 PM
Curious IsNull test Tim[_44_] Excel Programming 4 August 31st 05 08:19 PM
ISNULL function - can't find it KitKat Excel Worksheet Functions 6 December 3rd 04 04:55 AM


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