Function Problems

How to Reference Sequentially Numbered Sheets in WPS Office Spreadsheets with a Formula

Kushani NimanthikaKushani Nimanthika Nov 13, 2026 869 views

Question details

The user needs to create a summary formula in WPS Office Spreadsheets that returns the same cell from worksheets named 1, 2, 3, and so on without manually editing each reference.

How to Reference Sequentially Numbered Sheets in WPS Office Spreadsheets with a Formula
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
A workbook contains multiple sequentially numbered sheets and a summary sheet. The user wants to pull the same cell from each numbered sheet into successive summary rows.
Observed behavior
Manually writing a separate reference for each sheet is time-consuming, and the user needs a fillable formula that updates the sheet name automatically.
Before you start

Confirm that the numbered sheets are named exactly 1, 2, 3, and that the target cell, such as C25, exists on each sheet. Also check that the summary sheet starts in a row where row 1 corresponds to sheet 1.

Solution 1Recommended

Use INDIRECT with ROW to build sheet references automatically

Best when you want one fillable formula that updates the sheet number for each summary row.

The ROW function returns the current row number when given a reference such as ROW(1:1). INDIRECT converts the resulting text string into a real worksheet reference, so filling the formula down changes 1 to 2, 3, and so on. Apostrophes around the sheet number help avoid errors when sheet names are numeric.

1
Select the first summary cell

Click the cell in the summary sheet where the first referenced value should appear, for example A1.

2
Enter the INDIRECT formula

Type =INDIRECT("'"&ROW(1:1)&"'!C25") and press Enter. This creates a reference to cell C25 on the sheet named 1.

3
Fill the formula down

Select the cell again, drag the fill handle down the summary column, and release it to create references for sheets 2, 3, and later sheets.

Use INDIRECT with ROW to build sheet references automatically
Formula filled correctly: Row 2 returns the value from '2'!C25, row 3 returns '3'!C25, and so on.
WPS Spreadsheets formula solution

Build dynamic cross-sheet references in WPS Office Spreadsheets

WPS Office Spreadsheets lets you use the same INDIRECT and ROW formula as Excel to pull values from sequentially numbered sheets. Once you create the first formula, fill it down and the sheet references update automatically.

  1. 1. Open the workbook in WPS Office Spreadsheets: Launch WPS Office, open the workbook containing the numbered sheets, and click the summary sheet tab.
  2. 2. Create the first INDIRECT formula: In the first summary cell, type =INDIRECT("'"&ROW(1:1)&"'!C25") and press Enter.
  3. 3. Fill the formula down the summary rows: Use the fill handle to drag the formula down so each row references the next numbered sheet.
  4. 4. Check and save the workbook: Verify the returned values match the numbered sheets, then save the workbook in .xlsx or your preferred compatible format.
Automatically updates sheet numbers as you fill down, removing manual formula editingUses Excel-compatible INDIRECT and ROW functions for a familiar workflowOpens and saves .xlsx, .xls, and .csv files with Microsoft Office format compatibilityWorks in the free WPS Office suite on Windows, macOS, Linux, Android, and iOS
microsoft office alternative - wps office

Frequently Asked Questions

Why do numeric sheet names need apostrophes in the INDIRECT formula?

Numeric sheet names such as 1, 2, and 3 can be mistaken for row or cell references in some formulas. Wrapping the sheet name in apostrophes, like '1'!C25, tells WPS Office Spreadsheets to treat it as a sheet name and helps prevent #REF! errors.

Can I start the sequence at a sheet other than 1?

Yes. Change the ROW reference to start on the matching row. For example, use ROW(2:2) for sheet 2 in the first formula cell, or use ROW(1:1)+5 to start at sheet 6.

What should I do if the fill down shows the same sheet number instead of increasing?

Make sure the formula uses ROW(1:1) and not a fixed number. Then select the cell and drag the fill handle rather than copying and pasting the formula, so the row reference changes.

Does this formula work when sheet names contain spaces or text?

Yes, but the text must match exactly. For names with spaces or punctuation, use the same apostrophe method, for example =INDIRECT("'"&A1&"'!C25"), where A1 contains the sheet name.