Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Pivot Table question or a simpler suggestion


Hello,

I have a group of data. Among the data fields are the following:

Name Group/Association Number of rankings

The number of rankings are either 0, 1, or 2. I would like to be able
to know for a given group, how many members of the group have at least
1 ranking.

My first thought was a Pivot Table but if I use the count field
setting, it counts all populated cells. If I leave the cell blank,
that works instead of using a zero but I would prefer not to leave it
blank as it may cause confusion to others I pass the sheet on to.

I thought about writing something in VBA but this seems a little
advanced for my vba skills.

Is there a way to count only non zero values with a pivot table? Is
there a simpler solution that I may be overlooking?

Thanks.

-Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Pivot Table question or a simpler suggestion

Hi Michael,

Add a helper column,
heading 'One Rank or More'
formula =IF(C20,1,0)

Then build a pivot table with Sumof One Rank or More

Ed Ferrero
www.edferrero.com

Hello,

I have a group of data. Among the data fields are the following:

Name Group/Association Number of rankings

The number of rankings are either 0, 1, or 2. I would like to be able
to know for a given group, how many members of the group have at least
1 ranking.

My first thought was a Pivot Table but if I use the count field
setting, it counts all populated cells. If I leave the cell blank,
that works instead of using a zero but I would prefer not to leave it
blank as it may cause confusion to others I pass the sheet on to.

I thought about writing something in VBA but this seems a little
advanced for my vba skills.

Is there a way to count only non zero values with a pivot table? Is
there a simpler solution that I may be overlooking?

Thanks.

-Mike

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot Table question or a simpler suggestion

In the pivot table, add Group to the Row area, add Number of Rankings to
the Column area, and add Name to the Data area, as Count of Name.
On the field button for Number of Rankings, click the dropdown arrow
Remove the check mark for zero, and click OK

Michael C wrote:
Hello,

I have a group of data. Among the data fields are the following:

Name Group/Association Number of rankings

The number of rankings are either 0, 1, or 2. I would like to be able
to know for a given group, how many members of the group have at least
1 ranking.

My first thought was a Pivot Table but if I use the count field
setting, it counts all populated cells. If I leave the cell blank,
that works instead of using a zero but I would prefer not to leave it
blank as it may cause confusion to others I pass the sheet on to.

I thought about writing something in VBA but this seems a little
advanced for my vba skills.

Is there a way to count only non zero values with a pivot table? Is
there a simpler solution that I may be overlooking?

Thanks.

-Mike



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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
Apply a formula as a pivot table calc or suggestion Todd F. Excel Worksheet Functions 2 March 30th 06 02:22 AM
Pivot Table Question : If statment in Pivot Table?? seve Excel Discussion (Misc queries) 2 November 22nd 05 01:00 AM
Pivot Table Question dallin Excel Worksheet Functions 1 September 12th 05 05:54 PM
Pivot Table Question Barb R. Excel Discussion (Misc queries) 0 March 9th 05 02:31 PM
QUESTION- Simpler Way to Add a Data Series to Other Graphs? phil6666 Excel Discussion (Misc queries) 0 February 10th 05 05:57 PM


All times are GMT +1. The time now is 01:02 PM.

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"