Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default can i avoid repeating rows when adding calculated item in pivot ta

I need to add a calculated item for a pivot table
I tried to add a caculated item to field F3. Formula1 = C + H (see below)
The resulting PT has some added unnecessary rows.
This is a simplified version of the table. The original table has 500 rows
under f2 field and they are all repeated for each of field F1 and given a
formula1 item with zero values.
Is there a way to avoid these unnecessary rows.
Many thanks for your time.

original Pivot table


Data
F1 F2 F3 oct nov dec
R1 m mn C 2 1 4
R2 G 5 6 3
R3 H 9 5 5
R4 ms C 3 5 1
R5 G 5 4 3
R6 H 4 3 2
R7 w wn C 6 8 7
R8 G 10 13 15
R9 H 6 8 9



Pivot table after adding item to field F3. Row R9,R10,R11 are unneeded.

Data
F1 F2 F3 oct nov dec
R1 m mn C 2 1 4
R2 G 5 6 3
R3 H 9 5 5
R4 Formula1 11 6 9
R5 ms C 3 5 1
R6 G 5 4 3
R7 H 4 3 2
R8 Formula1 7 8 3
R9 wn Formula1 0 0 0
R10 w mn Formula1 0 0 0
R11 ms Formula1 0 0 0
R12 wn C 6 8 7
R13 G 10 13 15
R14 H 6 8 9
R15 Formula1 12 16 16


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 189
Default can i avoid repeating rows when adding calculated item in pivot ta

Hi,

Please do the entries in the source data and refresh the pivot tabe. The
table will display the data as disired.
While entering any data in the source data be sure that the entries are made
with in the selected table array for pivot table.
--
Thanks
Suleman Peerzade


"sophie" wrote:

I need to add a calculated item for a pivot table
I tried to add a caculated item to field F3. Formula1 = C + H (see below)
The resulting PT has some added unnecessary rows.
This is a simplified version of the table. The original table has 500 rows
under f2 field and they are all repeated for each of field F1 and given a
formula1 item with zero values.
Is there a way to avoid these unnecessary rows.
Many thanks for your time.

original Pivot table


Data
F1 F2 F3 oct nov dec
R1 m mn C 2 1 4
R2 G 5 6 3
R3 H 9 5 5
R4 ms C 3 5 1
R5 G 5 4 3
R6 H 4 3 2
R7 w wn C 6 8 7
R8 G 10 13 15
R9 H 6 8 9



Pivot table after adding item to field F3. Row R9,R10,R11 are unneeded.

Data
F1 F2 F3 oct nov dec
R1 m mn C 2 1 4
R2 G 5 6 3
R3 H 9 5 5
R4 Formula1 11 6 9
R5 ms C 3 5 1
R6 G 5 4 3
R7 H 4 3 2
R8 Formula1 7 8 3
R9 wn Formula1 0 0 0
R10 w mn Formula1 0 0 0
R11 ms Formula1 0 0 0
R12 wn C 6 8 7
R13 G 10 13 15
R14 H 6 8 9
R15 Formula1 12 16 16


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default can i avoid repeating rows when adding calculated item in pivotta

No need for a Calculated Item
Delete Formula1.
Field settings for F1, F2 and F3 respectively:
None, Automatic, None
In the dropdown list for F3
uncheck G
The subtotals will show C+H.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default can i avoid repeating rows when adding calculated item in pivo

thank you for the reply, but in the actual listing is too long to go in and
insert the formula line for each group.

"Suleman Peerzade" wrote:

Hi,

Please do the entries in the source data and refresh the pivot tabe. The
table will display the data as disired.
While entering any data in the source data be sure that the entries are made
with in the selected table array for pivot table.
--
Thanks
Suleman Peerzade


"sophie" wrote:

I need to add a calculated item for a pivot table
I tried to add a caculated item to field F3. Formula1 = C + H (see below)
The resulting PT has some added unnecessary rows.
This is a simplified version of the table. The original table has 500 rows
under f2 field and they are all repeated for each of field F1 and given a
formula1 item with zero values.
Is there a way to avoid these unnecessary rows.
Many thanks for your time.

original Pivot table


Data
F1 F2 F3 oct nov dec
R1 m mn C 2 1 4
R2 G 5 6 3
R3 H 9 5 5
R4 ms C 3 5 1
R5 G 5 4 3
R6 H 4 3 2
R7 w wn C 6 8 7
R8 G 10 13 15
R9 H 6 8 9



Pivot table after adding item to field F3. Row R9,R10,R11 are unneeded.

Data
F1 F2 F3 oct nov dec
R1 m mn C 2 1 4
R2 G 5 6 3
R3 H 9 5 5
R4 Formula1 11 6 9
R5 ms C 3 5 1
R6 G 5 4 3
R7 H 4 3 2
R8 Formula1 7 8 3
R9 wn Formula1 0 0 0
R10 w mn Formula1 0 0 0
R11 ms Formula1 0 0 0
R12 wn C 6 8 7
R13 G 10 13 15
R14 H 6 8 9
R15 Formula1 12 16 16


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default can i avoid repeating rows when adding calculated item in pivo

Thank you for your answer. however, i still need to display the data for all
of the catagories in F3 (C, G , and H) in addition to the the total for C+H
where applicable. my difficulty is in not being able to find a quick way to
avoid such formula rows where it does not make sense ( as when there is no
data for C and H).



"Herbert Seidenberg" wrote:

No need for a Calculated Item
Delete Formula1.
Field settings for F1, F2 and F3 respectively:
None, Automatic, None
In the dropdown list for F3
uncheck G
The subtotals will show C+H.


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
Calculated Item in Pivot Table Adds Rows with Zero Values Marc Forget Excel Discussion (Misc queries) 0 July 16th 07 06:24 PM
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM
Pivot Table Calculated Item jerry Excel Discussion (Misc queries) 6 October 26th 05 07:30 PM


All times are GMT +1. The time now is 06:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"