Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Change Bin Width in Excel on Mac

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

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

  1. Open your Excel file containing the dataset you want to visualize.
  2. Click on the histogram chart to select it. You’ll see small circles or handles appear around the chart edges, indicating it’s active.
  3. 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.
  4. In the Chart Design tab, click Add Chart Element on the left side of the ribbon.
  5. From the dropdown menu, hover over Axes, then click More Axis Options at the bottom.
  6. 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.
  7. In the Format Axis pane, scroll down until you see the Bin Width option. It’s under the Horizontal (Value) Axis section.
  8. 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.
  9. 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.
  10. Press Enter or click outside the box to apply the change. The histogram will update instantly to reflect your new bin width.
  11. 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.

Frequently Asked Questions

Can I change bin width for a bar chart in Excel on Mac?

No. Bar charts don’t use bins — they display individual categories. Only histograms, which group continuous numerical data, support bin width adjustments.

Why is my histogram showing too many bins even after setting a bin width?

Excel may override your bin width if it detects that the data range is too wide or too narrow for the setting. Try adjusting the bin count instead, or manually set both bin width and number of bins to force consistency.

Does changing bin width affect the underlying data?

No. Bin width only changes how the data is visualized in the chart. Your original dataset remains untouched and unchanged.

Can I set different bin widths for multiple histograms in the same file?

Yes. Each histogram chart is independent. Right-click any chart, select Format Axis, and adjust its bin width separately from others.

What happens if I set bin width to 0.5 with whole number data?

Excel will still create bins like 0–0.5, 0.5–1.0, etc. This is valid but may produce odd-looking gaps. It’s best to match bin width to your data’s precision — use whole numbers for integers, decimals for measurements.

Is there a keyboard shortcut to open the Format Axis pane?

No. You must use the Chart Design > Add Chart Element > Axes > More Axis Options path. There is no direct keyboard shortcut in Excel for Mac for this specific function.