Format Data labels to get integers.

Livin404

Well-known Member
Joined
Jan 7, 2019
Messages
743
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Good evening,

My workbook uses slicers and it covers multiple years, which is why you see three Septembers. There is no problem if I am selecting just one year. It is when I select multiple years I get the problem. In this workbook I have a pivot table displayed as bar graph. In the example I provided I have values 32, 32, and 26. However, the label wants to display the value as .032, .032, and .026. I am trying to adjust the number to get the who integer. I can use the "Value from Cells", but that will include all the cells whether it includes blank cells or subtotals which I don't want. I only want a whole number to be shown which will match the value of the particular in the graph. Bottom line how can I get the numbers as whole numbers.

Thank you

Value.JPG
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I presume Values from Cells would work if you change the pivot table layout to Tabular and remove subtotals.

Check the number format of the labels. A format of 0.000, (with a trailing comma) would make whole numbers look like decimals with three digits.

Why are the count values left-aligned in the cells? Are they not numeric?
 
Upvote 0
Solution
I presume Values from Cells would work if you change the pivot table layout to Tabular and remove subtotals.

Check the number format of the labels. A format of 0.000, (with a trailing comma) would make whole numbers look like decimals with three digits.

Why are the count values left-aligned in the cells? Are they not numeric?
I think it worked; I provide an image. I used the tabular form. I see the blank rows are now gone. Please tell me this is exactly what you were talking about?



Value 1a.JPG
 
Upvote 0
Yes, that's what I meant, though I don't know why regular data labels showing Y values wouldn't work.
 
Upvote 0

Forum statistics

Threads
1,213,482
Messages
6,113,916
Members
448,533
Latest member
thietbibeboiwasaco

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