Contact

OFFSET Function in WPS Spreadsheet: Syntax, Examples and Compatibility

Lookup Intermediate WPS Spreadsheet

Use OFFSET in WPS Spreadsheet to return a cell or rectangular range shifted from a starting cell. Two original examples, expected results, cautions and official software documentation.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: OFFSET returns a reference displaced from an anchor; it does not move the cells. Optional height and width inherit the starting reference’s dimensions when omitted, as explicitly documented by WPS.

Availability and version history

  • Introduced: documented by 2019-05-07 in the official WPS lesson; original introduction is not established.
  • Availability: The lesson is scoped to WPS Office for Windows Personal.
  • Scope: exact current supported builds and equivalent behavior in other WPS clients remain unverified.
  • Checked: October 14, 2026. Complete function-specific references and independent reference/array models; no native WPS test was performed.

Syntax and arguments

=OFFSET(reference, rows, cols, [height], [width])

The first reference and both offsets are required. Positive rows move down, negative rows up; positive columns move right, negative columns left. The offsets identify the returned rectangle’s upper-left cell. Optional dimensions must be positive; omitting either preserves that dimension from the starting reference. A nonadjacent reference has documented #VALUE! behavior, and an offset beyond the sheet edge has #REF!.

Use English function names and comma separators, adapting separators for the workbook locale. Expected results are independent models of the stated WPS rules, not native application observations.

Set up the original controls

Keep the original inputs B2 = 10, B3 = 42 and B4 = 15. Put result formulas outside all ranges they will aggregate.

Example 1: original control

=OFFSET(B2,1,0)

Expected output: 42.

One row below B2 and zero columns to the right is B3.

Example 2: original comparison

=SUM(OFFSET(B2,0,0,3,1))

Expected output: 67.

The 3-row by 1-column reference starts at B2 and includes B2:B4, totalling 10 + 42 + 15.

Example 3: distinguish a displacement from a row number

=OFFSET(B4,-2,0)
=OFFSET(B4,-1,0)

Expected results are 10 and 42, from B2 and B3. The number -2 means “two rows above the anchor,” not “use row -2.”

Starting from another reference changes the destination even when the offsets are identical. Inspect both the anchor and the displacement before diagnosing a wrong result.

Advanced example: omitted dimensions retain the original shape

Add C2 = 2, C3 = 4 and C4 = 6 beside the original B values. Compare:

=SUM(OFFSET(B2:C3,1,0))
=SUM(OFFSET(B2:C3,1,0,1,1))

The first reference starts as a two-row, two-column rectangle. Moving down one row and omitting dimensions returns B3:C4, whose values 42,4,15,6 total 67.

The second formula explicitly requests a one-cell result, B3, totaling 42. Omission does not mean “one cell” unless the starting reference itself has that size.

Advanced example: movement and size are separate controls

Using the same B and C values:

=SUM(OFFSET(B2,0,1,3,1))
=SUM(OFFSET(B2,0,0,3,2))

Expected totals are 12 from C2:C4 and 79 from B2:C4. The first moves the anchor one column right and keeps a one-column result. The second leaves the anchor in place but requests two columns.

These formulas have different meanings even though both mention the neighboring C column. Keep offset inputs separate from height/width inputs in a configurable report.

Advanced example: a rolling two-record total

Extend the original B column with B5 = 9 and B6 = 24. Put a zero-based starting displacement 0,1,2 or 3 in F2:

=SUM(OFFSET($B$2,F2,0,2,1))

Expected totals are 52, 57, 24 and 33. The selected ranges are B2:B3, B3:B4, B4:B5 and B5:B6.

The locked anchor stays B2. F2 chooses the starting position, while height remains two. This is a two-record window; it is not necessarily two days unless each row represents exactly one intended day.

Advanced check: trace the official reference example

The WPS walkthrough starts at D4, moves two rows down and three columns left, and identifies A6. Adding height 3 and width 3 produces A6:C8:

=OFFSET(D4,2,-3)
=SUM(OFFSET(D4,2,-3,3,3))

These are reference-position controls. The second formula has no numerical total until actual values are assigned to that nine-cell rectangle. Do not invent a total from the address alone.

Errors, array entry and performance scope

An offset above A1 asks for a row outside the worksheet. =OFFSET(A1,-1,0) therefore has the source-supported #REF! expectation. It does not wrap around to the bottom.

Multi-cell references are wrapped in SUM here, so the examples do not claim a universal dynamic-array spill behavior. Decimal offsets or dimensions, invalid sizes and mixed source types need their own tests.

The older article suggested volatility and an INDEX performance alternative without WPS-specific evidence. This revision makes no WPS volatility or speed claim. INDEX may offer a different reference design, but performance must be measured in the relevant application rather than borrowed from Excel guidance.

Evidence level: Full article and complete product-specific formal definition and walkthrough reviewed. Original title, publication date, two worked formulas and input fixtures are preserved. Additional reference, selection and array controls are independently modeled; no native application, performance or file-interchange test is claimed.