How to Auto Update the Sequence Numbers in Your Excel Worksheet

The sequence numbers can always be seen in an Excel worksheet. In this article, we will show you how to auto update the sequence numbers when you insert or delete rows in a range.

You will certainly have used the sequence numbers in a worksheet. With those numbers, the range will be clearer and you can manage your data and information better. When you insert a new row or delete a row in the range, the sequence numbers will be discontinuous.Example

And you need to update the numbers. It will be annoying as you need to modify them every time you change the range. In order to help you improve your work pace, you can follow the steps below.

Use Function to Update Sequence Numbers

  1. Click the first cell of the list in the target range. In this example, we will click cell A2.
  2. And then input this formula into the cell:

=ROW()-1

If the cell is not in the second row, you need to modify it according to your actual worksheet.

  1. And then press the button “Enter” on the keyboard. Now, the first number 1 will appear in the cell A1.
  2. After that, click the cell again.
  3. And then double click the fill handle of the cell. Thus, you have filled the whole column with the formula.
  4. Now insert a new column in this range.
  5. Click the first two cell of this column.
  6. And then click the fill handle and drag downwards.Fill Handle
  7. Next release your mouse. Now the sequence numbers are continuous.

If you delete a row in the range, you can also use the fill handle to update the numbers.

Create a Table to Update the Sequence Numbers

The above methods are actually semi-automatically. If you need to update the numbers when you insert the rows, you can create a table for the range.

  1. After step 5 in the previous part, click a cell within the range.
  2. And then press the shortcut keys “Ctrl +T” on the keyboard.
  3. In this step, check the option for the header according to your need.
  4. And then click the button “OK” in the window.Create Table

When you insert a row in the range, the sequence numbers will automatically.Result

If you need to delete a row, remember to delete the table rows instead of clearing the items in the row.

Although using a table seems to be better, sometimes you don’t necessarily need a table in a worksheet. And an additional table in the worksheet may mess up your worksheet. Therefore, you can choose to use only formulas or use formulas with tables according to your actual needs.

Data Recovery is a Complex Issue

Everyone will meet with data disaster. At this moment, your Excel files will also be affected. You will certainly need to recover your files. Actually, data recovery is indeed a complex issue. If you know nothing about it, you’d better turn to specialist for help. Besides, you can also repair corrupt Excel file by using a powerful Excel repair tool.

Author Introduction:

Anna Ma is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including repair Word docx document corruption and outlook repair software products. For more information visit www.datanumen.com

Leave a Reply

Your email address will not be published.