Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SteveM
 
Posts: n/a
Default count of totals for pivot table

I have the below table in a pivot table. When I change the sub total field
to a 'count' I would expect it to change to 2 but it stays on 3.

1st Jan

heading 1 apples
oranges 2
pears
bananas 1

heading 1 sub total 3

I need another cell on another worksheet to look up the heading 1 sub total
cell as a 'count' not a 'total'. The source data keeps changing and new
fruits are added to the list etc.

Thanks very much,
Steve



  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

In your raw data for "Heading 1", do you have two rows with oranges on it? If
yes, then the pivottable is doing its job and counting each row with data.

If you're trying to find out a count of unique items, take a look at Debra
Dalgleish's site:
http://contextures.com/xlPivot07.html#Unique

And if your range keeps growing, you may want to use a dynamic range for the
source. Visit Debra's site one more time:

http://contextures.com/xlNames01.html#Dynamic

SteveM wrote:

I have the below table in a pivot table. When I change the sub total field
to a 'count' I would expect it to change to 2 but it stays on 3.

1st Jan

heading 1 apples
oranges 2
pears
bananas 1

heading 1 sub total 3

I need another cell on another worksheet to look up the heading 1 sub total
cell as a 'count' not a 'total'. The source data keeps changing and new
fruits are added to the list etc.

Thanks very much,
Steve


--

Dave Peterson
  #3   Report Post  
SteveM
 
Posts: n/a
Default

Yes the pivot table is doing it's job and counting each row with data but I
want to get a count of all the counts rather than a total (adding up) of the
counts?

Does that make sense? Cheers.

"Dave Peterson" wrote:

In your raw data for "Heading 1", do you have two rows with oranges on it? If
yes, then the pivottable is doing its job and counting each row with data.

If you're trying to find out a count of unique items, take a look at Debra
Dalgleish's site:
http://contextures.com/xlPivot07.html#Unique

And if your range keeps growing, you may want to use a dynamic range for the
source. Visit Debra's site one more time:

http://contextures.com/xlNames01.html#Dynamic

SteveM wrote:

I have the below table in a pivot table. When I change the sub total field
to a 'count' I would expect it to change to 2 but it stays on 3.

1st Jan

heading 1 apples
oranges 2
pears
bananas 1

heading 1 sub total 3

I need another cell on another worksheet to look up the heading 1 sub total
cell as a 'count' not a 'total'. The source data keeps changing and new
fruits are added to the list etc.

Thanks very much,
Steve


--

Dave Peterson

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

It makes sense, kind of...

But pivottables count the stuff in the raw data table.

SteveM wrote:

Yes the pivot table is doing it's job and counting each row with data but I
want to get a count of all the counts rather than a total (adding up) of the
counts?

Does that make sense? Cheers.

"Dave Peterson" wrote:

In your raw data for "Heading 1", do you have two rows with oranges on it? If
yes, then the pivottable is doing its job and counting each row with data.

If you're trying to find out a count of unique items, take a look at Debra
Dalgleish's site:
http://contextures.com/xlPivot07.html#Unique

And if your range keeps growing, you may want to use a dynamic range for the
source. Visit Debra's site one more time:

http://contextures.com/xlNames01.html#Dynamic

SteveM wrote:

I have the below table in a pivot table. When I change the sub total field
to a 'count' I would expect it to change to 2 but it stays on 3.

1st Jan

heading 1 apples
oranges 2
pears
bananas 1

heading 1 sub total 3

I need another cell on another worksheet to look up the heading 1 sub total
cell as a 'count' not a 'total'. The source data keeps changing and new
fruits are added to the list etc.

Thanks very much,
Steve


--

Dave Peterson


--

Dave Peterson
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
Using a Pivot Table Calculated Field to get a Unique Count Mike Struckman Excel Worksheet Functions 1 November 22nd 05 05:32 PM
Pivot Table Totals Adam New Users to Excel 0 March 25th 05 04:57 PM
Totals For a Pivot Table?? Adam Excel Discussion (Misc queries) 0 March 25th 05 04:55 PM
Pivot Table Grand Totals Adam Excel Worksheet Functions 0 March 25th 05 04:55 PM
Count in Pivot Table waxwing Excel Worksheet Functions 5 February 21st 05 08:37 PM


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