How to Set Whole-Number Histogram Axis Labels in Excel
Question details
The user wants to configure a frequency histogram in Excel to display whole-number labels and tick marks instead of decimal values.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Formatting the horizontal or frequency axis on a histogram to display clean, whole-number intervals.
- Observed behavior
- Excel's built-in histogram chart lacks separate controls for integer label and tick-mark intervals in the Format Axis pane, often forcing the display of decimal values.
Verify that your Microsoft Excel is fully updated, as available axis settings can differ across Microsoft 365 updates or be affected by organizational policies.
Use a Column Chart as a Histogram Alternative
Since the built-in histogram chart restricts axis formatting, creating a column chart from frequency data provides full control over tick marks and whole-number labels.
Excel's default histogram automatically determines bin sizes and intervals, which disables many manual axis controls. Building a histogram manually using a column chart bypasses these limitations.
Use the FREQUENCY function or create a PivotTable to group your raw data into specific whole-number bins manually.
Highlight your calculated frequency data, go to the 'Insert' tab, and select a standard 2D Clustered Column Chart.
Right-click the horizontal axis and select 'Format Axis'. Under 'Axis Options', specify your 'Major units' as an integer (whole number) to ensure decimals are not displayed.
Right-click any of the data columns, select 'Format Data Series', and adjust the 'Gap Width' slider to 0% so the columns touch, mimicking a true histogram.

Adjust Built-in Histogram Bin Options
Try adjusting the bin width on your existing histogram to force whole numbers, and configure the number format to remove decimals.
Create Customized Charts Easily with WPS Office
If Excel's built-in histogram limitations are frustrating, try WPS Office. It provides a lightweight, user-friendly spreadsheet tool with excellent chart formatting flexibility and full compatibility with your existing Excel files.
- 1. Download WPS Office: Visit the official WPS website to download and install WPS Office for free.
- 2. Open your Excel data: Launch WPS Spreadsheet and open your existing .xlsx file containing the chart data.
- 3. Create and customize your chart: Select your data, insert a chart, and easily adjust the axis labels to whole numbers without restrictions.

Frequently Asked Questions
Why can't I change the tick marks on my Excel histogram?
Excel's built-in histogram chart type is designed to automatically manage bins and intervals. Because of this automation, Microsoft disables many of the manual axis and tick-mark controls that are normally available in standard column or line charts.
How do I remove decimals from a histogram axis?
You can remove decimals by right-clicking the horizontal axis, selecting 'Format Axis', expanding the 'Number' section, and changing the 'Decimal places' to 0. However, this only rounds the display and may not fix the actual intervals.
Can organizational policies restrict chart features in Excel?
Yes. In enterprise environments, IT administrators can disable certain optional connected experiences or restrict specific Microsoft 365 features, which may occasionally affect advanced formatting panes and available chart configurations.




