Calculated field options???

G

Guest

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
 
G

Guest

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
 
G

Guest

Great! Thanks for the help.

Ron Coderre said:
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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top