Excel 2010 Move Decimal Point to the Right with a Number Format

Hello,

I have data in Excel (via an SSAS cube) where the values are shown in thousands of dollars.  The numeric value is 1234.567 which represents $1,234,567.  Normally I'd just divide it by 1000 to move the decimal point back, but I can't do that within the pivot table that is linked to the SSAS data cube.

So is there a way to use a custom number format to move the decimal three spaces to the right?  I can go the other way using $0.000, (which returns $1.235), but I need to shift it to the right, so it shows $1,234,567.

Any ideas? 

May 12th, 2015 6:01pm

Re:  format thousands to millions

An alternative...

  $0.000," MM"

'---
Jim Cone
Portland, Oregon USA
https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2
-or-
http://jmp.sh/K95N3ee
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2015 12:48am

Re:  format thousands to millions

An alternative...

  $0.000," MM"

'---
Jim Cone
Portland, Oregon USA
https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2
-or-
http://jmp.sh/K95N3ee
  • Edited by James Cone Thursday, May 14, 2015 1:32 PM
May 13th, 2015 12:48am

Hi AHubbard,

With your sample $1,234,567 I test your issue in my own environment, and please try these steps and get the result.

1.Please right click the value in Pivot Table and choose Number Formatting.

2.Then select CUSTOM you can enter the TYPE as $0.000, as shown in the following figure.

So you can get the result you need.

Hope its helpful.

Regards,

George Zhao
TechNet Community Support

Free Windows Admin Tool Kit Click here and download it now
May 15th, 2015 1:47am

Hi AHubbard,

No, what you are looking is not doable via available Custom Formatting options.

You can modify the Pivot Calculated formula to some extent but this would not meet your requirement as I have understood.

Let me know incase this is not what you are looking for.

Requirement:

Pivot Table Output 1234.567 to appear as 1234567. (You can add formatting $ etc. as required later). You want this without modifying the Input Sheet which contains values as 1234.567.

I guess you had a typo on the question "Normally I'd just divide it by 1000 to move the decimal point back". Hope you meant Multiply.

1234.567*1000=1234567 (move the decimal three spaces to the right)

Solution:

The solution I have is building a custom column with the desired formulars using 'Calculated item field'  feature of Pivot Tables in Excel.

Steps and screenshots as below:

1. Select the Pivot Table

2. Under Pivot Tools

On the Options tab, in the Calculations group, click Fields, Items, & Sets, and then click Calculated Field. 

3. In Insert Calculated Field
Name: Value Formatted (Can be anything you want)
Formula: = Value*1000 [Double Click on the 'Value' field from the list, which you want to modify then append "*1000" to the end]

4. Click OK [to Directly Add the new Calculated field]

5. Remove the auto calculated field, Rt. click Remove 'Sum of Value'

6. Now you are left with the desired output.

7. Also note that the Custom Formula fields will be available for your future usage as well from the 'Pivot Table Field List' for this workbook.

References:

Create a formula in a PivotTable report

How to modify a calculated field in a pivot table

May 15th, 2015 3:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics