Gnumeric · Statistical analysis · Intermediate
Build a Histogram with Custom Bins in Gnumeric
Use Gnumeric histogram cutoffs, bin boundaries and frequency output to understand numeric measurements without miscounting edges.
Gnumeric 1.12 manual reviewed; independent arithmetic checked; native application verification pending · Editorial standards
A histogram groups numeric observations into intervals, called bins. Gnumeric’s Histogram analysis tool can create a frequency table and optional chart, with controls for cutoffs and which side of each interval includes an exact boundary value.
Scope: This is a documentary workflow based on the Gnumeric Manual, version 1.12, not a claim about an installed version. The expected counts below were checked independently, not produced by Gnumeric.
Example data
Download weekly readings (CSV) and open a working copy. Check the imported layout before continuing:
| Cells | Contents |
|---|---|
A1 |
Week |
B1 |
Reading |
A2:A9 |
Week numbers 1 through 8 |
B2:B9 |
Readings 12, 14, 16, 18, 20, 22, 24 and 26 |
Use Reading, not the week numbers, as the measured variable. There must be eight numeric readings. If the CSV is still in one column or its numbers imported as text, fix the import before analyzing it.
In unused cells on this working sheet, enter Cutoff in D1, 16 in D2, and 22 in D3. Keep the original CSV unchanged. The input range will include its heading; the cutoff range will exclude its heading.
Suppose the three bins are defined this way:
| Interval rule | Values included | Count |
|---|---|---|
| Less than 16 | 12, 14 | 2 |
| 16 up to, but not including, 22 | 16, 18, 20 | 3 |
| 22 or greater | 22, 24, 26 | 3 |
These counts assume each cutoff belongs to the bin on the right. Together, the bins contain all eight readings exactly once.
Configure the Gnumeric histogram tool
Open the Histogram statistical-analysis tool with the data sheet active. Use these settings:
| Tab | Setting for this example |
|---|---|
| Input | Range B1:B9; group by Columns; enable Labels. |
| Cutoffs | Predetermined Cutoffs; range D2:D3, excluding D1. |
| Bins | Include both open-ended outer bins; put exact cutoffs in the right-hand bin: (-∞,16), [16,22), [22,∞). |
| Graphs & Options | No chart; Percentages off; Cumulative answers off; Count numbers only on. |
The cutoff and boundary controls are described in the manual’s Histogram Tool section. Parentheses exclude a boundary; square brackets include it. Do not select a rule that drops either outer bin.
On the separate Output tab, choose a new sheet and enable Autofit Columns. For these comparisons, choose values rather than formulas so each run is a snapshot. Then press OK. Do not place output over the input or cutoff cells. The manual warns that an existing output range can lose data and a too-small range can truncate results. See common statistical-analysis output options.
Read the three non-cumulative frequency counts in ascending bin order. Expect 2, 3, 3, totaling 8. These are counts, not percentages or density values. The table above is the comparison target, not a reproduction of the application’s output layout.
Test the boundary rule, then restore it
Keep D2=16, D3=22 and all eight readings unchanged. Run the tool again from the data sheet, keeping the same settings except for Bins: assign exact cutoffs to the left bin, with both outer bins still present. Send this run to another new sheet.
| Left-bin interval rule | Values included | Expected count |
|---|---|---|
| 16 or less | 12, 14, 16 | 3 |
| Greater than 16, up to and including 22 | 18, 20, 22 | 3 |
| Greater than 22 | 24, 26 | 2 |
The expected result is 3, 3, 2, still totaling 8. The reading 16 moves into the first bin, and 22 moves into the middle bin. The middle count stays at three because one reading leaves and one enters. A total of eight alone therefore does not prove that the intended boundary rule was used.
Restore the right-bin rule and rerun to a fresh output sheet: expect 2, 3, 3 again. Reselect B1:B9 and D2:D3 on the original data sheet if necessary; do not accidentally analyze a previous output sheet.
For a separate cutoff-value check, keep the restored right-bin rule and temporarily change only D2 from 16 to 18. A fresh run should give 3, 2, 3: 12, 14 and 16 are below 18; 18 and 20 are between 18 and 22; 22, 24 and 26 are at least 22. Restore D2 to 16 and rerun for 2, 3, 3. Earlier value-only output sheets remain comparison snapshots, not evidence that a new run succeeded.
Why histogram numbers sometimes look wrong
- If 16 is counted in the left bin, check the boundary convention.
- For frequency bars, choose Column chart. Histogram chart plots density: frequency divided by bin width.
- A bar chart of categories is not the same as a numeric histogram.
- Disabled outer bins can omit out-of-range observations.
For non-numeric categories such as Pass, Fail, and Pending, use the categorical frequency-table guide instead.
Verification note: Independent arithmetic checks cover the eight readings, both boundary conventions, the temporary cutoff change and its restoration. Actual Gnumeric output, GUI behavior, screenshots and save/reopen persistence remain unverified. This does not establish complete coverage of Gnumeric’s statistical tools.
Official sources: Gnumeric 1.12 manual: Descriptive Statistics and statistical-analysis overview. Reviewed 28 October 2026; the steps have not been independently tested in the application.