Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Spencer Hutton
 
Posts: n/a
Default Calculated Field in Pivot Table

I have alist of data in columns
column A = Category
column B = subcategory
Column C = taxable (True/False)
i have other fields that are not crucial to this question. i have set up a
pivot table to view the data by category. i want to add a coolumn, or
calculated field, showing the amount of tax @ 7.5% for the items that are
taxable. can you use if/then statements in pivot tables?
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You could create a calculated item for the tax:

Select the field button for the Taxable field
From the Pivot toolbar, choose PivotTableFormulasCalculated Item
Type a name, e.g. Tax
Type a formula: ='TRUE'*0.075
Click OK

Note: This will create a calculated item for each subcategory in the
pivot table. You may prefer to calculate the tax in your source data,
and add that field to the pivot table.

Spencer Hutton wrote:
I have alist of data in columns
column A = Category
column B = subcategory
Column C = taxable (True/False)
i have other fields that are not crucial to this question. i have set up a
pivot table to view the data by category. i want to add a coolumn, or
calculated field, showing the amount of tax @ 7.5% for the items that are
taxable. can you use if/then statements in pivot tables?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Problems with Pivot Table Field Sorting in Excel 2002 Phoenix71555 Excel Discussion (Misc queries) 1 February 27th 05 11:25 PM
pivot table - hide details but show subtotal for calculated field tenneym Excel Discussion (Misc queries) 1 February 9th 05 03:07 AM
Calculated Field in Pivot Table Edgar Thoemmes Excel Worksheet Functions 0 December 23rd 04 11:59 AM
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 07:34 AM.

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"