How to Make a Histogram and Frequency Table in Google Sheets
Google Sheets can draw a histogram chart, but it hides the counts and picks the bins for you. If you need the actual frequency table (for a report, a homework answer or a quality check), use the FREQUENCY function or a Histogram tool like Excel's.
Option 1: the FREQUENCY function
Type your bin upper limits in a column (60, 70, 80, 90, 100), then enter =FREQUENCY(A2:A17, C2:C6) next to the first bin. Sheets fills in one count per bin plus one more for values above the last bin.
Option 2: a full histogram table and chart
- Install SheetStats from the Google Workspace Marketplace (button below).
- Open your sheet and go to Extensions → SheetStats → Data Analysis.
- Pick Histogram, select your input range. Add a Bin range (or leave it blank for evenly spaced bins), and tick Labels in first row if row 1 holds column names.
- Choose where the output goes (a new sheet, or a cell you pick) and click Run.
Tick Cumulative percentage for a running total, Pareto to sort bins from most to least frequent, and keep Chart output on for a chart next to the table.
Example
Sixteen test scores with bins 60, 70, 80, 90, 100:
| Bin | Frequency | Cumulative % |
|---|---|---|
| 60 | 0 | 0% |
| 70 | 2 | 12.5% |
| 80 | 5 | 43.75% |
| 90 | 7 | 87.5% |
| 100 | 2 | 100% |
| More | 0 | 100% |
Each bin counts values up to and including its number and above the previous bin, so the 80 row counts scores from 71 to 80.
Free to install. Data Analysis, Goal Seek, Solver and Monte Carlo in one add-on.
Questions
How are automatic bins chosen?
With no bin range, SheetStats makes about √n evenly spaced bins between the minimum and maximum.
What is the "More" row?
Values above the highest bin. It is 0 when your last bin covers the maximum.
Is a value equal to a bin counted in that bin?
Yes. A score of 80 goes in the 80 bin, the same as Excel and the FREQUENCY function.