+ Reply to Thread
Results 1 to 3 of 3

Excel 2010 Pivot Table add Calculated Field based on certain text in a Report Filter

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    6

    Excel 2010 Pivot Table add Calculated Field based on certain text in a Report Filter

    Can someone please tell me if there is a way to create a calculated field in an Excel 2010 pivot table that will find all the Transaction Types (Report Filter) with “transportation” in them and make the field Quantity 0 and leave all other quantities the same? I do not want the quantity of transportation added in twice and may not have the flexibility of adding a column to the raw data.

    I used the formula below in a calculated field and it does not match the values using the added column to the data file.

    =IF(ISERROR(SEARCH("*transportation*",'Transaction Type')),Quantity, 0)

    I am trying to get the sum of Quantity field to equal the AdjQuantity field using a calculated Pivot field and not add a new column to the data.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-06-2013
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2007, 2010
    Posts
    127

    Re: Excel 2010 Pivot Table add Calculated Field based on certain text in a Report Filter

    MOstans,

    You have Transportation spelled wrong in some of your data. You spelled it "Transportion".

    Don't really know what your asking? How can you get the "adjQuantity" field to equal the "sum quantity" field when you have a formula that results in "0" values for those cells with "Transportation" in them. Here's what I did, let me know if I'm on the right track.

    TestPivotQuestion (2).xlsx
    BrownBoy

    If happy, mark "SOVLED" & add to "REP"

  3. #3
    Registered User
    Join Date
    07-16-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel 2010 Pivot Table add Calculated Field based on certain text in a Report Filter

    Thanks for your help! We have decided to take a difference approach.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to create a Calculated Field based off two Avg fields in a Pivot table?
    By rcocalm in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-22-2014, 03:18 AM
  2. [SOLVED] How to set a 'Date Filter' on a field in the 'Report Filter' section of a Pivot Table?
    By Rhino_dance in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-28-2013, 11:01 AM
  3. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  4. [SOLVED] Calculated Field in Pivot Table Based on Two Counted Fields
    By cmlits in forum Excel General
    Replies: 1
    Last Post: 03-30-2006, 12:50 AM
  5. Replies: 0
    Last Post: 03-23-2005, 11:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1