Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cdavidson
 
Posts: n/a
Default Calculated field options???

Here's my Data:

Country Status
--------- ----------
Canada Green
Canada Blue
Canada Green
Canada Green
Canada Blue

In my pivot table, 'Country' is an item, and 'Status' is my only data field.
What I really need to show in my data area is two column of data, one for
'Green' and one for 'Blue'. I tried creating two 'Calculated' fields with
the following formulas, but they don't seem to be working:

'CalculatedField1' = IF((STATUS="Green"),1,0)
'CalculatedField2' = IF((STATUS="Blue"),1,0)

Can you help please?

Many thanks.

Craig
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Calculated field options???

Try this:
Edit the Pivot Table
Click the [Layout] button
Drag the Status field to the COLUMN SECTION

Now that field should be in 2 places. In DATA as Count of Status and in the
COLUMNS.

Does that help?

***********
Regards,
Ron


"cdavidson" wrote:

Here's my Data:

Country Status
--------- ----------
Canada Green
Canada Blue
Canada Green
Canada Green
Canada Blue

In my pivot table, 'Country' is an item, and 'Status' is my only data field.
What I really need to show in my data area is two column of data, one for
'Green' and one for 'Blue'. I tried creating two 'Calculated' fields with
the following formulas, but they don't seem to be working:

'CalculatedField1' = IF((STATUS="Green"),1,0)
'CalculatedField2' = IF((STATUS="Blue"),1,0)

Can you help please?

Many thanks.

Craig

  #3   Report Post  
Posted to microsoft.public.excel.misc
cdavidson
 
Posts: n/a
Default Calculated field options???

Great! Thanks for the help.

"Ron Coderre" wrote:

Try this:
Edit the Pivot Table
Click the [Layout] button
Drag the Status field to the COLUMN SECTION

Now that field should be in 2 places. In DATA as Count of Status and in the
COLUMNS.

Does that help?

***********
Regards,
Ron


"cdavidson" wrote:

Here's my Data:

Country Status
--------- ----------
Canada Green
Canada Blue
Canada Green
Canada Green
Canada Blue

In my pivot table, 'Country' is an item, and 'Status' is my only data field.
What I really need to show in my data area is two column of data, one for
'Green' and one for 'Blue'. I tried creating two 'Calculated' fields with
the following formulas, but they don't seem to be working:

'CalculatedField1' = IF((STATUS="Green"),1,0)
'CalculatedField2' = IF((STATUS="Blue"),1,0)

Can you help please?

Many thanks.

Craig

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
Using a Pivot Table Calculated Field to get a Unique Count Mike Struckman Excel Worksheet Functions 1 November 22nd 05 05:32 PM
Pivot calculated field not summing correctly cgcordry Excel Worksheet Functions 0 October 28th 05 02:30 AM
Pivot Table Calculated field item Tim Excel Discussion (Misc queries) 1 September 24th 05 12:31 AM
Using a MIN, MAX formula on a calculated field in a pivot table fhaberland Excel Discussion (Misc queries) 0 August 2nd 05 07:47 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 09:03 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"