Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default PivotTable count unique

I have several pivot tables linked to a single database with 12 fields
All database records are unique
One pivot table looks at just 2 fields from 12 as per the simplified example
below:
Field1 Field2
A abc
A abc
A def
B ghi
C hij

Would like the pivot table to count the unique occurences from Field2
against Field1

The result would be:
A 2
B 1
C 1

Any idea how this could be achieved within a pivot table?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default PivotTable count unique

Ok, not sure if ur using 2007 or pre-2007, but look at subtotals.

I have this in 2007:
Field1 Field2
A abc
A abc
A def
B ghi
C hij

Select the range of data, Click Subtotal.
Then, 'At each change in:'
Field2

Use Function:
Count

Add Subtotal to:
Field2

Check: Replace current Subtotals
Check: Summary below data

Click 'OK'


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"David" wrote:

I have several pivot tables linked to a single database with 12 fields
All database records are unique
One pivot table looks at just 2 fields from 12 as per the simplified example
below:
Field1 Field2
A abc
A abc
A def
B ghi
C hij

Would like the pivot table to count the unique occurences from Field2
against Field1

The result would be:
A 2
B 1
C 1

Any idea how this could be achieved within a pivot table?


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
Count unique dates within each unique ID CD27 Excel Worksheet Functions 6 August 15th 09 03:15 PM
PivotTable Row Count Mark R. Excel Discussion (Misc queries) 3 July 23rd 08 02:55 AM
Attempting to sort unique/only count first record in each unique g MJW[_2_] Excel Discussion (Misc queries) 3 August 10th 07 02:56 PM
Pivottable to count non-zeros janssenchoy Excel Discussion (Misc queries) 1 March 24th 06 11:19 PM
How do I count unique items in a pivottable data field. Jaywestern Excel Discussion (Misc queries) 2 December 29th 05 01:15 AM


All times are GMT +1. The time now is 09:55 AM.

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"