Gnumeric · Names and references · Beginner
Copy Formulas with A1 and R1C1 References in Gnumeric
Use relative, absolute and mixed references in Gnumeric, switch a sheet to R1C1, and check copied formulas with a downloadable price matrix.
Gnumeric 1.12.62 source-qualified UI; bounded native CLI calculations; GUI verification pending · Editorial standards
Make a price matrix in which each formula uses a quantity from the left, a unit price from above and one common surcharge. Copying should change only the intended coordinates. Then read the same formulas in R1C1 notation, where rows and columns use numbers.
Quick answer: In A1 notation, $ fixes a row or column. In R1C1 notation, an unbracketed number fixes that coordinate, while brackets indicate an offset from the formula cell. Gnumeric has a per-sheet Format → Sheet → Use R1C1 Notation toggle. The menu procedure below is source-checked for 1.12.62, not GUI-tested.
Download the completed example
Download the native Gnumeric reference matrix or the XLSX reference matrix. Both contain one completed Matrix sheet in A1 notation, editable inputs and formula results. Use the download as a comparison checkpoint, or follow the input list below in a new blank sheet to practice copying yourself. No macros or external workbook links are included.

Generated workbook preview, not a Gnumeric screenshot. The file calculations were checked with Gnumeric 1.12.62’s command-line engine; this image does not demonstrate the R1C1 menu or graphical application.
Prepare the inputs
Use a blank worksheet with ordinary A1-style references. Enter Quantity in A2; put quantities 2, 4, 6 in A3:A5. Enter unit prices 5, 7, 10 in B2:D2. Put Surcharge in G1 and 0.10 in G2. Leave B3:D5 empty.
The intended calculation is quantity Ă— unit price Ă— (1 + surcharge). This synthetic matrix compares three prices at three quantities; it is not a tax calculation.
Copy one checked formula
- In B3 enter
=$A3*B$2*(1+$G$2). Expect 11. - Select B3 and choose Edit → Copy. Select C3:D3 and choose Edit → Paste to repeat that one-cell formula across the two destinations.
- Select B3:D3 and copy it. Select B4:D5 and paste it into the two rows below. If your installed version requires a matching-sized selection, paste the copied row at B4 and again at B5.
- Inspect the editing area for each result, not just its number. Use Copy rather than Cut: moving an existing formula has different reference-maintenance behavior.
The cell reference documentation defines a dollar sign before the coordinate that must stay fixed. Here $A3 keeps column A but lets the row change; B$2 keeps row 2 but lets the column change; $G$2 fixes both.
Check all nine addresses
| Cell | Expected formula | Expected value |
|---|---|---|
| B3 | =$A3*B$2*(1+$G$2) |
11 |
| C3 | =$A3*C$2*(1+$G$2) |
15.4 |
| D3 | =$A3*D$2*(1+$G$2) |
22 |
| B4 | =$A4*B$2*(1+$G$2) |
22 |
| C4 | =$A4*C$2*(1+$G$2) |
30.8 |
| D4 | =$A4*D$2*(1+$G$2) |
44 |
| B5 | =$A5*B$2*(1+$G$2) |
33 |
| C5 | =$A5*C$2*(1+$G$2) |
46.2 |
| D5 | =$A5*D$2*(1+$G$2) |
66 |
To include a fully relative reference, enter =SUM(B3:D3) in E3 and copy it to E4:E5. The copied ranges should be B4:D4 and B5:D5. Expected row totals: 48.4, 96.8, 145.2. Their grand total is 290.4. Enter =SUM(E3:E5) in E6 to calculate that grand total; the download already includes it.
These numbers also have an independent structure check: doubling the quantity from 2 to 4 doubles every result; tripling it to 6 triples every result. A correct first cell does not establish that its copies work.
Change one kind of input at a time
Change C2 from 7 to 8. Only the middle price column should change, becoming 17.6, 35.2, 52.8. The other six matrix cells remain unchanged. Restore C2 to 7.
Change G2 from 0.10 to 0.20. All nine results should change. The first row becomes 12, 16.8, 24; the second 24, 33.6, 48; the third 36, 50.4, 72. The grand total becomes 316.8. Restore G2 to 0.10 and confirm 290.4.
Advanced case: diagnose a plausible copying error
In a disposable copy, replace B3 with =A3*B2*(1+G2), removing every dollar sign. B3 still shows 11, so checking only the starting result misses the fault. Copy it once to C3. The expected translated expression is =B3*C2*(1+H2): with H2 blank in this fixture, the result is 77, not 15.4.
Inspect the addresses to explain the failure. Quantity drifted to a result cell, and the surcharge drifted out of G2. Restore the correct formula in B3, copy it across and down again, then compare all nine expressions with the table. Restore the E-column totals if the experiment overwrote them.
Switch this sheet to R1C1 notation
Save a disposable copy before trying the switch. Complete the A1 checks above and restore C2 to 7 and G2 to 0.10 first.
- Select the Matrix sheet, or the sheet where you built the exercise. Finish any cell edit.
- Choose Format → Sheet → Use R1C1 Notation. This is a worksheet setting, not an instruction to change every sheet in the workbook.
- Expect the column headers to show 1, 2, 3… instead of A, B, C…. The former B3 is now at row 3, column 2, addressed as R3C2.
- Select that cell and inspect its formula in the editing area. The equivalent formula is
=RC1*R2C*(1+R2C7), still giving 11. - Check the former C4 and D5, now R4C3 and R5C4. Each has the same R1C1 formula text, but their expected results remain 30.8 and 66. All nine matrix formulas follow this identical positional pattern.
- Choose Format → Sheet → Use R1C1 Notation again to turn it off. Confirm letters return and B3 again displays
=$A3*B$2*(1+$G$2)in the editing area.
The released 1.12.62 manual describes the notation; the released menu and action definitions identify the toggle. These are expected UI observations to check in your installed version, not observations from a GUI run performed for this lesson.
Read absolute, relative and mixed R1C1 references
R is the row and C is the column. A bare R or C means the current row or column, equivalent to a zero offset. A bracketed positive number moves down or right; a bracketed negative number moves up or left. An unbracketed positive number is an absolute, one-based row or column number.
These pairs are equivalent when read from B3 (R3C2):
| A1 reference | R1C1 reference | What it means from B3 |
|---|---|---|
A3 |
RC[-1] |
Same row, one column left; both coordinates relative |
$A3 |
RC1 |
Same row, fixed column 1 |
B$2 |
R2C |
Fixed row 2, same column |
$G$2 |
R2C7 |
Fixed row 2, fixed column 7 |
A4 |
R[1]C[-1] |
One row down and one column left |
C2 |
R[-1]C[1] |
One row up and one column right |
The formula =RC1*R2C*(1+R2C7) therefore reads the quantity in column 1 on the current row, the price in row 2 of the current column, and the fixed surcharge in row 2, column 7. It keeps the same text when copied across and down this matrix. Its references still resolve to different quantity or price cells as the formula’s position changes.
The row total has a different position-dependent reference: from E3 (R3C5), =SUM(B3:D3) becomes =SUM(RC[-3]:RC[-1]). The range ends one column left of the total cell, so it does not include the total itself. The same R1C1 expression applies to E4 and E5. At E6, the grand-total formula is =SUM(R[-3]C:R[-1]C).
Enter and check a formula in R1C1 mode
In the disposable copy, turn on R1C1 notation again. Select R3C2, replace its formula with =RC1*R2C*(1+R2C7), and commit the edit. Enter the expression without quotation marks or a leading apostrophe. Expect 11. Copy that cell across the first matrix row and then copy the row down, using the same bounded copy/paste procedure above. Check all nine results and the three row totals before saving.
While R1C1 mode is on, the price input formerly called C2 is R2C3. Change it from 7 to 8 and expect 17.6, 35.2, 52.8 in R3C3:R5C3. Restore 7, then turn R1C1 off. This is a useful manual dependency check, not a claim that typing or pasting in the GUI was tested here.
Troubleshoot an R1C1 mismatch
- Letters still appear above the columns: confirm you toggled the intended sheet and that column headers are visible. Each worksheet has its own setting. Changing a number format does not change reference notation.
- A formula is shown as literal text: check for an apostrophe before
=or a text-formatted cell. In this disposable exercise, choose a general number format and re-enter the formula. Merely changing a text cell’s format may not reinterpret existing text. - The wrong cell is used: distinguish
RC1fromRC[-1]. The first fixes column 1; the second always means one column left. They point to the same cell from B3, but not from C3. - The value changes after a supposed notation-only switch: stop and inspect the formula and inputs. Switching notation is not meant to change the calculation. Check whether an edit, wrong sheet or copy operation also occurred; compare with the saved A1 checkpoint rather than rewriting all formulas.
- You are using address text inside INDIRECT: its style argument is separate. Use
FALSEfor R1C1 address text. Do not assume the sheet toggle rewrites quoted strings such as"B3"; see the INDIRECT guide.
Recovery and limits
Save a native workbook after the matrix passes. Reopen it and repeat the C2 test; this checks both stored formulas and their dependencies. If a paste overwrites an input, use Undo promptly or reopen the saved checkpoint instead of guessing the missing value.
Absolute references do not mean “immutable input.” Editing G2 still changes every dependent result. They control reference translation during copying. Inserting/deleting rows, moving cells and copying to another workbook introduce other rules and are outside this exercise.
Evidence and related work
Reviewed 2026-10-22 against the official Gnumeric 1.12.62 source distribution: the reference-notation manual section, GTK menu/action definitions, reference parser/formatter and worksheet convention setting. The original Edit-menu copy/paste documentation remains the basis for the graphical copy procedure.
Independent coordinate calculations and an independent workbook authoring engine checked the A1/R1C1 equivalents. Gnumeric ssconvert 1.12.62 calculated the A1 matrix, row/grand totals, changed-price and changed-surcharge cases, a zero-quantity case and the deliberate 77 copying-error control. The exported native workbook was reread by that command-line engine. A separate INDIRECT(...,FALSE) fixture checked the listed matrix/range R1C1 strings and a price change; it was not a direct R1C1 cell-entry test.
Not tested: graphical opening/reopening, menu toggling, direct R1C1 entry, native GUI copy/paste, application screenshots, other locales or preservation of reference-style settings in other file formats. The downloads start in A1 mode. Use the explicit result and address checks above to validate the GUI workflow in your installed version.
See SUM for row controls and file-format compatibility before exchanging the workbook.
Next skill: audit records without losing the source
Before moving on, compare the matrix formulas and changed-input results with this lesson’s checks. If inspecting a formula still feels unfamiliar, revisit the first expense workbook before working with copied references.
Next, audit duplicate records with sort and filter. The goal is to distinguish repeated keys from matching records, review a sorted copy and check a separate filter result without deleting source rows. Use that lesson’s separate order fixtures, not the price matrix, and follow its record-count and amount controls.
The matrix has Gnumeric 1.12.62 command-line calculation evidence, not verified graphical copying or notation switching. The next lesson’s native observations are from Gnumeric 1.12.57 on Debian Linux; its 1.12.62 source review is not a new GUI test. Keep those scopes separate when trying the exercises in your installed version.
Return to the Gnumeric learning route for the ordered lessons and their evidence limits.