Solved

Pivot table - Calculate field

Posted on 2015-01-12
3
97 Views
Last Modified: 2015-01-16
Hi,

In my PivotTable, I have the calculate field:

=IF('Status CE'="Yes";1;0)

The result is always 0, even I have some 'Status CE' with Yes as value.

Any idea why it's doesn't work?

Thanks
0
Comment
Question by:Karl001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 250 total points
ID: 40546088
HI,

As far as I know Excel cannot use text in calculated field, you could add a column in your source data with your formula

Regards
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 40546645
A sample file would be helpful
0
 
LVL 20

Assisted Solution

by:ltlbearand3
ltlbearand3 earned 250 total points
ID: 40548221
I agree with Rgonzo that I don't believe you can use text in a pivot table to tally results.  As he suggests adding a column will work or another idea, if you cannot modify your source data, is to just add the Status CE column as a row or column filter.  Then you can just run a count of the Status CE column.  You will end up with a Yes column in the pivot table with a nice count of how many had Yes.  See the mockup sample attached.
Q-28595100.xlsx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question