Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table Data Field Option

Thanks for your time.

My data is as follows:
Connection City Type
1 LA P
1 NY T
2 LA T
3 NY P
3 DC P
3 LA T

I have a standard Pivot Table with 1 heading on the left table and 1 heading
on the top. Nothing fancy. Here is the layout:

Count of Type City
Connection DC LA NY
1 1 1
2 1
3 1 1 1

What I'm looking to due is instead of showing "Count" of Type, I.E. the
number 1, I want it to give me the value (P or T) from the Type Column. Like
this:

Value of Type City
Connection DC LA NY
1 P T
2 T
3 P T P

Thanks again for your time.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot Table Data Field Option

In the source data, add a column where you assign a number to the type,
either manually or with a formula. For example:
=IF(C2="P",1,2)

Then, in the pivot table, add the new field to the data area.
Right-click on one of the data cells, and click on Field Settings
Summarize by Max, and click the Number button
Apply a custom format to the numbers:
[=1]"P";[=2]"T";General

Fred Smith wrote:
Thanks for your time.

My data is as follows:
Connection City Type
1 LA P
1 NY T
2 LA T
3 NY P
3 DC P
3 LA T

I have a standard Pivot Table with 1 heading on the left table and 1 heading
on the top. Nothing fancy. Here is the layout:

Count of Type City
Connection DC LA NY
1 1 1
2 1
3 1 1 1

What I'm looking to due is instead of showing "Count" of Type, I.E. the
number 1, I want it to give me the value (P or T) from the Type Column. Like
this:

Value of Type City
Connection DC LA NY
1 P T
2 T
3 P T P

Thanks again for your time.



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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Pivot Table Data Field Option

Genius. Sounds like you do the same stuff I do most of the time. Find a
nice work around for the issue. Thanks for you time. You have a great day.

"Debra Dalgleish" wrote:

In the source data, add a column where you assign a number to the type,
either manually or with a formula. For example:
=IF(C2="P",1,2)

Then, in the pivot table, add the new field to the data area.
Right-click on one of the data cells, and click on Field Settings
Summarize by Max, and click the Number button
Apply a custom format to the numbers:
[=1]"P";[=2]"T";General

Fred Smith wrote:
Thanks for your time.

My data is as follows:
Connection City Type
1 LA P
1 NY T
2 LA T
3 NY P
3 DC P
3 LA T

I have a standard Pivot Table with 1 heading on the left table and 1 heading
on the top. Nothing fancy. Here is the layout:

Count of Type City
Connection DC LA NY
1 1 1
2 1
3 1 1 1

What I'm looking to due is instead of showing "Count" of Type, I.E. the
number 1, I want it to give me the value (P or T) from the Type Column. Like
this:

Value of Type City
Connection DC LA NY
1 P T
2 T
3 P T P

Thanks again for your time.



--
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
pivot table data field Daniel Excel Discussion (Misc queries) 3 July 4th 07 02:18 AM
use field data from 1 pivot table in another? fdibbins Excel Worksheet Functions 1 November 6th 06 06:28 PM
use field data from 1 pivot table in another? fdibbins Excel Worksheet Functions 0 November 6th 06 06:15 PM
Pivot Table Field Data Annie Excel Worksheet Functions 4 January 9th 06 03:40 PM
Pivot Table Data Field Query Pepikins Excel Worksheet Functions 1 June 14th 05 10:58 PM


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