Loss of number formatting in Pivot Table

Avra

New Member
Joined
Jul 1, 2020
Messages
24
Office Version
  1. 365
Platform
  1. Windows
I am working in Microsoft Office 365.

ZeoRelief 5 Proto Build BOM 2020 07 19 V1.xlsx
ABCDEFGHIJ
3Part NumberPurchase DescriptionSupplierOEMOEM Part NumberCostOn HandBldQtyPurchase RequirementsExtended
4010-001Cord, power, 18 AWG, 5-15P, 9.84 ftDigi-KeyQualtek312010-01$7.00 4.0051 $ 7.00
5035-001Switch, pushbutton, SPST, 3A, 250VDigi-KeyTE ConnectivityAV1911PB12T5Q04$26.50 6.005-1 $ -
6040-001Fuse, glass, 6.3A, 125VAC, 5X20MMDigi-KeySchurter7010.351$2.89 12.005-7 $ -
7040-002Fuse, drwr for pwr mod f'grip, 2plDigi-KeySchurter4301.1014.04$9.55 6.005-1 $ -
8055-002Sensor, probe, temperature, thermistor, NTC, -20°C - 85°C, 10kΩDigi-KeyTDK Electronics, Inc.B57504K0103A009$4.93 32.0025-7 $ -
9056-001Temperature element, Peltier, 40 x 4.0 mm, 6.0ADigi-KeyCP60440102-1678-ND$23.05 20.0015-5 $ -
10056-002Temperature element, heater, cartridge, 8mm x 120mm, 110V, 250WAmazonTwidecB07PNDL7SD$9.99 5.0050 $ -
11065-001Plug, male, pwr ent mod rcpt, 2W fuse, 8A, 125-250VDigi-KeySchurterDD11.0114.1110$10.71 6.005-1 $ -
12075-003Power supply, AC/DC, external wall mount, 5V, 13WDigi-KeyCUI IncSWI12-5-N-P5R$13.32 5.0050 $ -
13075-005Power supply, sw, 12V, 25A, 300WMouserMean WellSPV-300-12$79.23 5.0050 $ -
14076-002Heat Sink Compound - High DensityDigi-KeyChip Quick IncTC1-10G$8.95 8.003022 1.969
MRP


I have a pivot table that brings dollar amounts over from one of my queries. The problem I am running into is that some of my values are coming over as text even though the source data, the PivotTable Field (in the ∑Values area) and the Query data are all formatted as Accounting . What causes this error and how do I fix it?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
the PivotTable Field (in the ∑Values area) and the Query data are all formatted as Accounting .
They might be formatted as accounting but that doesn't necessarily mean that they are in accounting format. Applying formats to data that starts as text does nothing, it is still text.
Try going to the source and changing the format to date, if the dollar amounts change to random dates then that tells you that they are valid accounting format. If they stay as dollar amounts then they are text strings.
 
Upvote 0
@jasonb75 I reformatted everything as you suggested. Everything was and is back to accounting format. I had no text strings anywhere.
 
Upvote 0
If the amounts didn't change to dates when you changed the format then that means that they are text strings.

$ 7.00 in proper accounting format would change to 01/07/1900 when you format it as date.

Selecting the column, then using text to columns 'might' fix it. On the first screen of the text to columns options, choose 'delimited'. On the second screen uncheck all of the boxes, click Next, then Finish.

If that doesn't work then it usually means hidden / non standard characters from the data source, this is quite common with data imported from web pages.
 
Upvote 0
After checking everything you suggested, I went back to the beginning and verified the formatting of every column in all the tables, queries, and connections related to this pivot table. All were correct, which led me to revisit the measure I had created. I deleted it and tried to bring the column of data back in without a measure. This worked. I suspect that all of the format checking solved the problem allowing me to no longer need a measure. Format, format, format... Thanks @jasonb75
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,128
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top