LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Florence
 
Posts: n/a
Default Pivot Table with Calculated Fields

Dear all,

I have a pivot table contained 2 calculated fields:

"RANGE" =IF(REVENUE <=250000, 1, IF(REVENUE <=1000000, 2, 3))
"Commission"=IF(RANGE=1,REVENUE*0.03,IF(RANGE=2,(2 50000+(REVENUE-250000)*0.5)*0.03,(625000+(REVENUE-1000000)*0.25)*0.03))

Then the pivot table has been generated like this:

REVENUE RANGE Commission
0.00 1 0.00
17,500.00 1 525.00
79,625.00 1 2,388.75
226,944.90 1 6,808.35
10,500.00 1 315.00
21,250.00 1 637.50
6,750.00 1 202.50
30,030.00 1 900.90
35,100.00 1 1,053.00
261,978.60 2 7,679.68

The total revenue is "689,678.50" which is correct. However, the RANGE has
been also calculated as "2" so that the "total of Commission" has been
calculated as "14,095.18" (i.e. Applied "689,678.50" and "2" into the
formula).

The desired result should be the summation of the "Commission" column (0.00
+ 525.00 + 2,388.75 ... + 1,053.00 + 7,679.68) = 20510.68

How can I control the Pivot Table that the formula is only applied to data
lines but not applicable for sub-total lines?

Much appreciate for your help!!

 
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
Using a Pivot Table Calculated Field to get a Unique Count Mike Struckman Excel Worksheet Functions 1 November 22nd 05 05:32 PM
How do I set up filter for page fields in pivot table? Mitsycat Excel Discussion (Misc queries) 3 May 6th 05 10:27 PM
Pivot Table Problems Rachel Gonsior Excel Discussion (Misc queries) 3 March 21st 05 07:24 PM
Calculated Field in Pivot Table Edgar Thoemmes Excel Worksheet Functions 0 December 23rd 04 11:59 AM
pivot table question, sum fields? Todd L. Excel Worksheet Functions 2 November 30th 04 05:07 AM


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