Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Lookup letters and display highest values in a pivot table

EMPNAME Type c1 c2 c3
Name SE Y Y N
Name r4 O Y O
Name r3 Y Y O
Name2 SW Dev N N Y
Name2 SE Y Y N
Name3 r3 Y Y O

Pivot table result should be

Data
EMPNAME Max of c1 Max of c2 Max of c3
Name Y Y N
Name2 Y Y Y
Name3 Y Y O


Where Y = 3, N = 2, O=1



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Lookup letters and display highest values in a pivot table

In the source data, add columns to calculate the number for each letter.
For example, in cell F2:
=VLOOKUP(C2,NumLU,2,0)
where NumLU is a table of the letters and their number values

Then, add the new columns to the pivot table, instead of using the
original c1, c2, c3 columns.

Format the fields in the pivot table with custom number formats:
Right-click on a data field heading, and choose Field Settings
Click the Numbers button
From the Category list, choose Custom
In the text box, enter:
[=1]"O";[=2]"N";"Y"
Click OK, click OK

notso wrote:
EMPNAME Type c1 c2 c3
Name SE Y Y N
Name r4 O Y O
Name r3 Y Y O
Name2 SW Dev N N Y
Name2 SE Y Y N
Name3 r3 Y Y O

Pivot table result should be

Data
EMPNAME Max of c1 Max of c2 Max of c3
Name Y Y N
Name2 Y Y Y
Name3 Y Y O


Where Y = 3, N = 2, O=1





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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Lookup letters and display highest values in a pivot table

Thanks this works! How do I update the headings to just show c1 c2 c3 instead
of Max of c1, etc.?

"Debra Dalgleish" wrote:

In the source data, add columns to calculate the number for each letter.
For example, in cell F2:
=VLOOKUP(C2,NumLU,2,0)
where NumLU is a table of the letters and their number values

Then, add the new columns to the pivot table, instead of using the
original c1, c2, c3 columns.

Format the fields in the pivot table with custom number formats:
Right-click on a data field heading, and choose Field Settings
Click the Numbers button
From the Category list, choose Custom
In the text box, enter:
[=1]"O";[=2]"N";"Y"
Click OK, click OK

notso wrote:
EMPNAME Type c1 c2 c3
Name SE Y Y N
Name r4 O Y O
Name r3 Y Y O
Name2 SW Dev N N Y
Name2 SE Y Y N
Name3 r3 Y Y O

Pivot table result should be

Data
EMPNAME Max of c1 Max of c2 Max of c3
Name Y Y N
Name2 Y Y Y
Name3 Y Y O


Where Y = 3, N = 2, O=1





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


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Lookup letters and display highest values in a pivot table

You're welcome.
To change the heading, select the cell, and type c1 followed by a space
character: c1<space
You can't use the exact field name from the source table, but if you add
the space character it will look the same, and Excel will accept it.

notso wrote:
Thanks this works! How do I update the headings to just show c1 c2 c3 instead
of Max of c1, etc.?

"Debra Dalgleish" wrote:


In the source data, add columns to calculate the number for each letter.
For example, in cell F2:
=VLOOKUP(C2,NumLU,2,0)
where NumLU is a table of the letters and their number values

Then, add the new columns to the pivot table, instead of using the
original c1, c2, c3 columns.

Format the fields in the pivot table with custom number formats:
Right-click on a data field heading, and choose Field Settings
Click the Numbers button
From the Category list, choose Custom
In the text box, enter:
[=1]"O";[=2]"N";"Y"
Click OK, click OK

notso wrote:

EMPNAME Type c1 c2 c3
Name SE Y Y N
Name r4 O Y O
Name r3 Y Y O
Name2 SW Dev N N Y
Name2 SE Y Y N
Name3 r3 Y Y O

Pivot table result should be

Data
EMPNAME Max of c1 Max of c2 Max of c3
Name Y Y N
Name2 Y Y Y
Name3 Y Y O


Where Y = 3, N = 2, O=1





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





--
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
how do i program alphabet letters to represent numerical values? Jo Excel Discussion (Misc queries) 4 October 8th 06 11:37 PM
ASSIGN NUMERICAL VALUES FOR LETTERS in EXCEL 2003 legman Excel Worksheet Functions 4 May 14th 06 04:09 AM


All times are GMT +1. The time now is 05:51 AM.

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"