Function Problems

How to Display the Next Available Number in an Excel Sequence in WPS Office

Steve KSteve K Nov 13, 2026 869 views

Question details

The user needs to automatically show the next number in a sequence based on the highest number already used in a worksheet.

How to Display the Next Available Number in an Excel Sequence in WPS Office
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user maintains a numbered list in a worksheet and wants a cell to display the next available number without manual counting.
Observed behavior
The result cell should automatically return one greater than the largest number currently used in the source column.
Before you start

Confirm the worksheet that holds the existing numbers has the exact name used in the formula, and note which column contains the numbers. If the sheet name includes spaces, keep the single quotation marks around it.

Solution 1Recommended

Use the MAX function to return the next number

Use this method when the existing numbers are stored in a single column and you want the next available number to update automatically.

The MAX function ignores text and empty cells, so the formula works as long as the source column contains at least one numeric value.

1
Select the result cell

Click the cell on your home sheet where you want the next available number to appear, such as B2.

2
Enter the MAX formula

Type =MAX('Data Sheet'!A:A)+1 in the formula bar and press Enter. Replace Data Sheet with the exact name of your source sheet and A:A with the column that contains the existing numbers.

3
Verify the auto-update

Change the highest number in the source column to a larger value and confirm the result cell immediately shows the new next number.

Use the MAX function to return the next number
Formula applied successfully: The formula now returns one greater than the largest number in the source column and updates whenever that maximum changes.
WPS Spreadsheets solution

Display the Next Available Number in an Excel Sequence with WPS Office

WPS Office Spreadsheets can directly calculate the next available number using a simple MAX formula, so your worksheet always shows the next value without manual counting.

  1. 1. Open your workbook in WPS Office Spreadsheets: Launch WPS Office and open the Excel workbook that contains the existing sequence numbers.
  2. 2. Select the home sheet result cell: Click the cell where the next available number should appear.
  3. 3. Enter the MAX formula: Type =MAX('Data Sheet'!A:A)+1 and press Enter, using your actual sheet name and number column.
  4. 4. Confirm automatic updates: Change the highest number in the source column and check that the result cell updates to the next number.
Live formula result that updates when the highest number changesFull compatibility with Microsoft Excel .xlsx and .xls filesFree, lightweight, and familiar spreadsheet workspaceNo manual counting or sorting needed for sequence values
microsoft office alternative - wps office

Frequently Asked Questions

What does the formula =MAX('Data Sheet'!A:A)+1 do?

It finds the largest number in column A of the Data Sheet worksheet and adds 1, returning the next available number in the sequence.

How do I adjust the formula if my sheet name or column is different?

Replace Data Sheet with your exact sheet name, keeping single quotes if the name contains spaces, and replace A:A with the column that holds your numbers, such as B:B or C:C.

Will the next available number update automatically when I add a new number?

Yes. The MAX function recalculates when values in the source column change, so the result cell updates as soon as a new highest number is entered.

Can I use this formula if my source column contains blank cells or text?

Yes. MAX ignores text and empty cells. If the column contains no numeric values, the formula returns 1.