+ Reply to Thread
Results 1 to 2 of 2

Calculated Field in Pivot Table - stumped

  1. #1
    Registered User
    Join Date
    01-14-2004
    Location
    Va Beach, VA
    Posts
    71

    Calculated Field in Pivot Table - stumped

    Hey - Trying to use a Calculated field in a pivot table to format my cells. For example if account number 7241972, needs to display to a full 10 digits adding the leading zeros (which I have accomplished). However if the value is zero it's still showing up as the full 10 digits with leading zero's as such 0000000000 and it needs to be blank.
    Below is the formula that is currently being used.
    =IF('LOAN NUMBER'<>0,TEXT('LOAN NUMBER',"0000000000"),TEXT('LOAN NUMBER',""))

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Calculated Field in Pivot Table - stumped

    Calculated fields are for doing calculations, not formatting. All you need is a numberformat on the cells that hides 0 values, like:
    0000000000,-0;;
    Remember what the dormouse said
    Feed your head

+ 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] A pivot table field calculated using other field values as fields?
    By chrisf78 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 05-07-2015, 03:08 AM
  2. [SOLVED] Referring to a Sub-Field on Calculated Field Pivot Table Column?
    By figo12 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-27-2014, 02:02 PM
  3. [SOLVED] Pivot Table calculated field
    By rosehill in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-16-2013, 01:26 AM
  4. Calculated pivot table field using pivot table data in calculation
    By BrittleStar in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-10-2012, 05:35 PM
  5. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  6. Pivot Table Calculated Field
    By Branno in forum Excel General
    Replies: 1
    Last Post: 02-21-2012, 08:00 PM
  7. [SOLVED] pivot table formulas for calculated field or calculated item
    By Vicky in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 12:10 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