#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Pivot Table

I have a table like this:

Type Number
AA 1
aa 2
Aa 3
aA 4


When I use the Pivot wizard i get this result:

Sum of Number
Type Total
AA 10
Grand Total 10


Is there a setting that will enable the Pivot to recognize the upper and
lower case types as unique ?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Pivot Table

Carl,

A comment first - using exact strings with the exception of case is a prescription for data
corruption. BAD, BAD idea. Far better to have completely unique values for the type values.

That said, if you need to work with existing data, either do a replace (check the match case option)
and insert new values for the type, or use a formula like this in a new column

=IF(EXACT(B2,"AA"),1,IF(EXACT(B2,"aa"),2,IF(EXACT( B2,"Aa"),3,IF(EXACT(B2,"aA"),4,"NA"))))

to categorize your types, then use that category as the first of your row fields, with type as the
second. Excel will group the 1s, 2s etc if you do it that way.

HTH,
Bernie
MS Excel MVP


"carl" wrote in message
...
I have a table like this:

Type Number
AA 1
aa 2
Aa 3
aA 4


When I use the Pivot wizard i get this result:

Sum of Number
Type Total
AA 10
Grand Total 10


Is there a setting that will enable the Pivot to recognize the upper and
lower case types as unique ?

Thank you in advance.



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 to create pivot table from existing pivot table in excel 2007 Udayraj Dhulekar Excel Discussion (Misc queries) 2 July 8th 13 08:22 PM
Copying values from pivot table to cells outside pivot table richzip Excel Discussion (Misc queries) 4 January 16th 08 11:03 PM
Filter lines with Pivot table and non pivot table columns Grover Charts and Charting in Excel 4 September 28th 07 03:16 AM
Filter lines with Pivot table and non Pivot table columns Grover Excel Discussion (Misc queries) 1 September 26th 07 12:48 AM
Filter lines containing pivot table and non pivot table data Grover Excel Worksheet Functions 0 September 24th 07 07:20 PM


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