Chart & Visualization Issues

How to Set Whole-Number Histogram Axis Labels in Excel

Tauseeq MagsiTauseeq Magsi Oct 15, 2026 869 views

Question details

The user wants to configure a frequency histogram in Excel to display whole-number labels and tick marks instead of decimal values.

How to Set Whole-Number Histogram Axis Labels in Excel
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.
Before you start

Verify that your Microsoft Excel is fully updated, as available axis settings can differ across Microsoft 365 updates or be affected by organizational policies.

Solution 1Recommended

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.

1
Calculate frequency data

Use the FREQUENCY function or create a PivotTable to group your raw data into specific whole-number bins manually.

2
Insert a Column Chart

Highlight your calculated frequency data, go to the 'Insert' tab, and select a standard 2D Clustered Column Chart.

3
Format the axis intervals

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.

4
Remove the gap width

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.

Use a Column Chart as a Histogram Alternative
Better Customization: Using a column chart gives you complete freedom to customize gridlines, tick marks, and axis labels exactly how you want them.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website to download and install WPS Office for free.
  2. 2. Open your Excel data: Launch WPS Spreadsheet and open your existing .xlsx file containing the chart data.
  3. 3. Create and customize your chart: Select your data, insert a chart, and easily adjust the axis labels to whole numbers without restrictions.
Highly compatible with Microsoft Excel formats (.xlsx, .xls)Flexible chart formatting with precise control over axis labels and tick marksFree, lightweight, and fast-loadingFamiliar user interface with zero learning curve
QA img-9

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.