Solved

Pivot table - Calculate field

Posted on 2015-01-12
3
87 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
3 Comments
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 250 total points
Comment Utility
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
Comment Utility
A sample file would be helpful
0
 
LVL 20

Assisted Solution

by:ltlbearand3
ltlbearand3 earned 250 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

771 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now