Rixoffice Documentation
RixSheets — Spreadsheets

Subtotal and Consolidate in RixSheets

Published September 4, 2026Updated September 4, 20265 min read

Group totals with RixSheets Subtotal and merge ranges with Consolidate: two tools for summarizing grouped data and combining sheets without rewriting formulas.

On this page

Two situations come up constantly: you need totals inside a table at each change of region, rep or category, and you need several similar ranges — monthly sheets, regional exports, department workbooks — merged into one. RixSheets covers both with dedicated tools: Subtotal writes grouped totals directly into the table with outline controls, and Consolidate folds multiple ranges into a single summary using the function you pick. Neither requires you to write a formula.

Subtotal: grouped totals in place

Subtotal works on a table with a grouping column and value columns:

  1. Sort first by the grouping column — Region, Category, Salesperson. The tool inserts a subtotal row wherever the group value changes, so unsorted data produces garbage.
  2. Open Data, Subtotal.
  3. Choose the group column — the one you sorted by.
  4. Choose the function: sum, count or average.
  5. Tick the value columns to aggregate — Units, Amount, both.
  6. Confirm. Subtotal rows appear after each group, a grand total lands at the bottom, and the left margin gains outline buttons.

The outline controls are the payoff: click the top-level button to collapse everything to a one-line-per-region summary, expand to see every row again. For a printed report or a manager who wants totals where the data is, this beats sending everyone to a separate summary sheet.

Two refinements separate a tidy subtotal from a messy one. Keep the original values visible — subtotal rows sit between groups, so a reader can always trace a total back to the rows beneath it, which is exactly the auditability a separate summary sheet loses. And remember the rule is one grouping column per pass: if you need subtotals nested by region and then by rep, sort by region then rep and run the tool twice, outer group first, leaving "replace current subtotals" unticked the second time.

Consolidate: merge many ranges into one

Consolidate answers "how do the months add up?" or "what do the regions total together?":

  1. Open Data, Consolidate.
  2. Add each source range — the January block, the February block, the regional exports — one at a time.
  3. Choose the function: sum is the default, with count, average, maximum and minimum among the options.
  4. Decide how rows and columns are matched — by their labels so "Office supplies" in March lines up with "Office supplies" in April, or by position when the ranges are identical layouts.
  5. Run the consolidation. RixSheets writes a merged summary into the destination range.

Label-based matching is the forgiving mode: categories can appear in a different order on each sheet, and missing categories simply contribute nothing. Position-based matching is faster but assumes every range has the same shape — use it only when you know they do.

Consolidation is also the right answer for files, not just sheets: a monthly routine where each branch emails its workbook becomes a five-minute job — open each file in a tab, add its summary range to the Consolidate list, run once. The merged output is an ordinary range, so it feeds a pivot, a chart or a printed subtotal report without any further ceremony.

Choosing among Subtotal, Consolidate and pivots

NeedReach for
Totals inside the table, collapsible groupsSubtotal
Merge several ranges or sheets into oneConsolidate
Re-arrangeable summary with drag-and-drop fieldsPivot table
Interactive filtering for other readersPivot plus slicers

They are not rivals. A common flow: Consolidate twelve monthly sheets into one annual table, sort it, then hand it to Subtotal for the printed grouped report — or pivot it when the questions start changing; see pivot tables in RixSheets.

Practical cautions

  • Subtotal over an unsorted table is the classic mistake; sort is step one, always.
  • Consolidate by label requires exact spelling — "Transport" and "Transport " are different labels, so run find and replace first; see sort, filter and dedupe.
  • Both tools write results into the sheet; keep the sources untouched and re-run after corrections rather than hand-editing the summary.

One more distinction saves rework: Subtotal and Consolidate produce static results, recalculated only when you re-run them, while a pivot refreshes from its source with a click. If the summary needs to track changing data automatically, build the pivot; if the summary is a snapshot for a meeting or a printout — which is most of them — Subtotal and Consolidate are lighter and produce exactly the shape asked for.

That static quality is a feature for audit, too. A consolidated total that was correct when the meeting pack was printed stays correct on paper, even if the underlying sheets change the next morning — and the re-run after corrections takes seconds, with the trail recorded in the sheet rather than in someone's memory.

A worked example that covers both

A quarterly close pulls it all together in one sitting:

  1. Twelve monthly sheets sit in one workbook, identical layout, from the accounting system.
  2. Consolidate merges them by label into a single annual range on a summary sheet.
  3. Find and replace fixes the three spellings of "Transport" that crept in during March.
  4. The range is sorted by cost center and Subtotal adds group sums, collapsed to the outline view.
  5. The collapsed view prints — two pages, where the raw data was forty.
  6. When someone questions a number, the outline expands and the rows are right there.

Six steps, no formulas written, and every figure traceable from total to transaction. That is the standard both tools are aiming at, and why they have outlived every flashier alternative for grouped totals.

What to explore next

Quick steps

  1. Sort your table by the column that defines the groups, such as Region.
  2. Open Data, Subtotal and choose the grouping column.
  3. Pick the function — sum, count or average — and tick the value columns to aggregate.
  4. Confirm and use the outline buttons to collapse or expand the groups.
  5. For combining ranges, open Data, Consolidate, add each source range and choose the function.
  6. Run the consolidation and review the merged summary range.

Frequently asked questions

What does Subtotal do in RixSheets?

Subtotal sorts your data by a grouping column, inserts subtotal rows at each group change with the function you choose — sum, count or average — and adds an overall total, with outline controls to expand or collapse the groups.

What is Consolidate for?

Consolidate merges several ranges — often the same table on different sheets or months — into one summary, applying a function such as sum to each matching label or position. Monthly sheets roll up into a year view without manual copying.

Should I use Subtotal, Consolidate or a pivot table?

Use Subtotal for grouped totals printed in the table itself, Consolidate for combining multiple ranges into one, and a pivot table when you need a flexible, re-arrangeable summary — each solves a different shape of problem.

Related documentation