Set a Logarithmic Y-Axis for an Excel Histogram on Mac
Question details
The user wants to display histogram frequencies on a logarithmic vertical axis in Excel for Mac.

- Product
- Microsoft Excel for Mac
- Device & OS
- Mac
- Scenario
- The user is creating a histogram and wants to show its vertical frequency axis on a logarithmic scale.
- Observed behavior
- The Logarithmic scale option may not be available for some Excel histogram chart types or versions.
Check whether your chart is an Excel Histogram chart or a standard column chart built from frequency counts. A logarithmic axis can display only positive values, so identify any bins with zero counts before creating the chart.
Check the Vertical Axis Settings in Excel for Mac
Use this method first to see whether your chart supports a logarithmic value axis.
Select the chart's vertical axis, then Control-click it and choose Format Axis.
In the Format Axis pane, open Axis Options and select Logarithmic scale if it is available.
Review the chart's frequency counts and ensure the values plotted on the logarithmic axis are greater than zero.

Create a Binned Column Chart with a Logarithmic Axis
Use this workaround when the built-in Histogram chart does not offer a logarithmic vertical axis.
Create a Logarithmic Frequency Chart in WPS Spreadsheet
Use WPS Spreadsheet to chart pre-binned frequency counts as columns, then apply a logarithmic scale to the vertical value axis where supported.
- 1. Open your data: Open WPS Spreadsheet and use File > Open to load your workbook.
- 2. Prepare the bins: Enter bin labels and their frequency counts in adjacent columns. Exclude zero counts from the data plotted on the logarithmic axis.
- 3. Insert a chart: Select the bin labels and positive counts, then choose Insert > Chart and select a column chart.
- 4. Set the axis scale: Select the vertical axis, open Format Axis, and enable Logarithmic scale under Axis Options if your WPS version offers it.

Frequently Asked Questions
Why is Logarithmic scale missing from my Excel histogram?
Some Excel histogram chart types and versions do not offer that setting. Create a standard column chart from bin labels and frequency counts, then check Format Axis > Axis Options.
Can a logarithmic axis show a bin with a zero count?
No. A logarithmic axis cannot display zero or negative values. Exclude zero-count bins from the plotted data and make their omission clear when interpreting the chart.
Do the original measurements have to be positive?
Not necessarily. For a histogram with a logarithmic frequency axis, the plotted bin counts must be positive; the original measurements can include zero or negative values.
How do I count values in each histogram bin?
Use COUNTIFS with lower and upper boundaries for each bin. For example, =COUNTIFS($A$2:$A$100,">="&C2,$A$2:$A$100,"<"&D2) counts values from C2 up to, but not including, D2.




