Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kreed
 
Posts: n/a
Default Pivot - need to recount based on results

Hi!

I have a data source that contains client information with several different
attributes (which results in several rows of data for each client). I
created a pivot table that will allow users to filter and look at the clients
in a variety of different way, using the PAGE area within the layout of the
pivot. What I am looking for is a formula/function within the pivot that
will recount the number of unique clients depending on the filter selected.
Is there a way that I can do this within the pivot as I need to have this
count updated with each change to the filters?

Here is an example, I hope it helps:

City City X
State (All)
Line Line A
Sub Line (All)

Data
Product Industry Clients Sum of Clients
Product 1 Industry A Client A 8 would expect to see 1 client count
Industry A Total 8 would expect to see 1 client count
Industry B Client B 3 would expect to see 1 client count
Client C 3 would expect to see 1 client count
Client D 1 would expect to see 1 client count
Industry B Total 7 would expect to see 3 client count

  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

A pivot table won't calculate a unique count. You could add a column to
the list, then add that field to the pivot table.

There's an example he

http://www.contextures.com/xlPivot07.html#Unique


Kreed wrote:
Hi!

I have a data source that contains client information with several different
attributes (which results in several rows of data for each client). I
created a pivot table that will allow users to filter and look at the clients
in a variety of different way, using the PAGE area within the layout of the
pivot. What I am looking for is a formula/function within the pivot that
will recount the number of unique clients depending on the filter selected.
Is there a way that I can do this within the pivot as I need to have this
count updated with each change to the filters?

Here is an example, I hope it helps:

City City X
State (All)
Line Line A
Sub Line (All)

Data
Product Industry Clients Sum of Clients
Product 1 Industry A Client A 8 would expect to see 1 client count
Industry A Total 8 would expect to see 1 client count
Industry B Client B 3 would expect to see 1 client count
Client C 3 would expect to see 1 client count
Client D 1 would expect to see 1 client count
Industry B Total 7 would expect to see 3 client count



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Kreed
 
Posts: n/a
Default Pivot - need to recount based on results

That is pretty much what I thought...thanks for the information, I did get it
to work.!

"Debra Dalgleish" wrote:

A pivot table won't calculate a unique count. You could add a column to
the list, then add that field to the pivot table.

There's an example he

http://www.contextures.com/xlPivot07.html#Unique


Kreed wrote:
Hi!

I have a data source that contains client information with several different
attributes (which results in several rows of data for each client). I
created a pivot table that will allow users to filter and look at the clients
in a variety of different way, using the PAGE area within the layout of the
pivot. What I am looking for is a formula/function within the pivot that
will recount the number of unique clients depending on the filter selected.
Is there a way that I can do this within the pivot as I need to have this
count updated with each change to the filters?

Here is an example, I hope it helps:

City City X
State (All)
Line Line A
Sub Line (All)

Data
Product Industry Clients Sum of Clients
Product 1 Industry A Client A 8 would expect to see 1 client count
Industry A Total 8 would expect to see 1 client count
Industry B Client B 3 would expect to see 1 client count
Client C 3 would expect to see 1 client count
Client D 1 would expect to see 1 client count
Industry B Total 7 would expect to see 3 client count



--
Debra Dalgleish
Excel FAQ, Tips & Book List
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
how do I create a pivot table based on multiple sheets Angel Excel Discussion (Misc queries) 1 September 20th 05 06:33 PM
pivot table based on 4 others (in seperate workbooks)? neowok Excel Discussion (Misc queries) 1 September 9th 05 07:19 PM
format cell based on results of vlookup function Edith F Excel Worksheet Functions 1 July 21st 05 07:39 PM
Pivot Table for survey results with set of possible answers in PT's Rows Field? [email protected] Excel Discussion (Misc queries) 0 May 16th 05 10:35 PM
How to create a calculated field formula based on Pivot Table resu dha17 Excel Discussion (Misc queries) 1 December 15th 04 05:39 AM


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