Pivot Table Calculated Field- Help

A

Ali

Hi,

I have a pivot table that is coming from a simple spreadsheet with following
columns:

Name, Credits - Where name is the name of an individual, and credit is the
credit amount they have. I want to add a calculated column on the pivot,
that has a value of "Allow" or "Deny" depending upon credit. So, if, Credit
< 5, the value of the calculated field should be Deny, else it shoudl be
Allow.

I tried using the If statement, but it doesn't seem to work for me when I
use string values. Is there a way for this to be done?

Will appreciate any help on this.

Thank you,

Ali
 
F

Faulk

Try adding a column to your data called "Allow/Deny" and use the
following formula:

Assuming Name is column A and Credit is column B, in column C type:

=if(B1<5,"Deny","Allow")

Then add the third column to your pivot table.
 

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