How to Change Bin Width in Excel on Mac
In this article
To change bin width in Excel on Mac, you must adjust the histogram’s bin settings after creating one from your data. This lets you control how data is grouped into ranges, making patterns clearer or more detailed. You need a dataset and a histogram chart already created in Excel for Mac — bin width cannot be adjusted without a histogram.
What You'll Need
- A dataset with numerical values (e.g., test scores, sales figures, temperatures)
- Microsoft Excel for Mac (2016 or later)
- An existing histogram chart created from your data
Step-by-Step
- Open your Excel file containing the dataset you want to visualize.
- Click on the histogram chart to select it. You’ll see small circles or handles appear around the chart edges, indicating it’s active.
- Go to the top menu and click Chart Design. If you don’t see this tab, make sure the chart is selected — it only appears when a chart is active.
- In the Chart Design tab, click Add Chart Element on the left side of the ribbon.
- From the dropdown menu, hover over Axes, then click More Axis Options at the bottom.
- A pane labeled Format Axis will appear on the right side of the screen. If it doesn’t, click the chart again and repeat steps 3–4.
- In the Format Axis pane, scroll down until you see the Bin Width option. It’s under the Horizontal (Value) Axis section.
- Click the box next to Bin Width and type a number. For example, if your data ranges from 0 to 100 and you want 10 bins, enter 10. If you want finer detail, use 5 or 2.
- Alternatively, you can adjust the Number of Bins instead. Excel will automatically calculate the bin width based on your data range and the number you enter. This can be easier if you’re unsure of the ideal width.
- Press Enter or click outside the box to apply the change. The histogram will update instantly to reflect your new bin width.
- To reset to default settings, click the Reset to Match Style button at the bottom of the Format Axis pane, or delete and recreate the chart.
Common Mistakes
- Trying to change bin width before creating a histogram — bin controls only appear after a histogram chart is inserted.
- Entering a bin width of zero or a negative number, which causes Excel to show an error or reset to default.
- Confusing bin width with bin count — bin width sets the size of each group (e.g., 0–10, 10–20), while bin count sets how many groups there are. Both affect the appearance but work differently.
- Using a bin width too small for the data range, which creates hundreds of tiny bars and makes the chart unreadable.
- Not selecting the correct axis — ensure you’re adjusting the horizontal (value) axis, not the vertical (frequency) axis.
Tips
- Start with the default bin width to see how your data is distributed, then adjust incrementally. A good rule of thumb is to aim for 5 to 15 bins for most datasets.
- Use bin width to highlight specific patterns — for example, set bins to match salary brackets or age groups you’re analyzing.
- If your data has outliers, consider using a larger bin width to avoid skewing the chart with extreme values.
- Copy the bin width value and paste it into a cell next to your data as a reference — this helps you replicate the same settings in other charts.
- Hold the Option key while dragging the chart edges to resize it proportionally after adjusting bins, so the bars remain visually balanced.
- For precise control, calculate bin width manually: (Max value - Min value) / Desired number of bins. Then enter that result into the Bin Width box.
Troubleshooting
- If the Format Axis pane doesn’t appear, make sure you clicked the histogram, not the data table. Click the chart area (the background), not individual bars.
- If bin width options are grayed out, you may have selected a different chart type. Delete the chart and recreate it using the histogram option: select your data, go to Insert > Charts > Histogram.
- If Excel crashes or freezes when adjusting bins, restart the app. Large datasets (10,000+ rows) can strain Excel’s chart engine on older Macs.
- If the histogram doesn’t update after changing bin width, check that you’re not in Edit Mode (click a cell to exit). Also ensure you’re not viewing a cached version — press Command + R to refresh the view.
- If you see gaps between bars that shouldn’t be there, your data may contain blank cells or non-numeric entries. Clean your data range first — remove empty rows or text values.
- If Excel doesn’t have the Histogram option under Insert > Charts, you’re likely using an outdated version. Update Excel via the App Store or Microsoft AutoUpdate.