What to Do When Excel Auto-Numbering Only Repeats or Shows All 1s

Explain the common causes of Excel serial numbers that auto-generate only as repeated values or all 1s, including the fill method, text formatting, formula references, and calculation settings, and provide step-by-step troubleshooting and fix instructions in order.

Key Points of This Article

  • Dragging a single number by default copies it; if everything shows 1, this is usually the reason. Enter two numbers first, then drag.
  • The small green triangle in the top-left corner means the number is stored as text. Text does not take part in series calculations, so convert it to number format first.
  • If each row shows the same result after dragging a formula, the cause is often that references are locked with dollar signs. Change them to relative references.
  • If serial numbers have gaps after filtering or hiding rows, use a formula that counts visible rows instead of a plain row-number formula.

Failure to auto-generate serial numbers in Excel is a common problem for many people when organizing rosters, ledgers, or reports. Dragging the fill handle results in every cell in the column showing 1, or the first few rows are correct but the numbers start repeating from a certain row. It looks as though Excel isn't working, but the actual causes usually fall into a few categories, and most can be fixed within a few minutes.

This article is for people who already know how to generate sequence numbers by dragging or with a formula, but whose results are wrong. After reading it, you will be able to do three things: use two questions to work out which category your problem falls into; troubleshoot in order from easiest to hardest, changing the simple settings first; and rewrite your numbering so that it stays neat after you delete rows or filter the data. The formulas in this article use common forms as examples; when you actually use them, adjust them to match the column positions in your own table.

Why do the numbers only repeat or are all 1? One-line conclusion

In most cases, the problem is not a malfunction in Excel, but rather the dragging method, cell formatting, or formula references. First, find your situation in the table below, then work through the steps that follow one by one.

Your situationRecommended PracticesCause
I only typed a 1, and when I drag down, everything becomes 1.First enter 1 and 2, select both cells, then drag; or after dragging, choose the fill series option.When you drag a single number, the default behavior is to copy it.
There is a small green triangle in the upper-left corner of the number.Change the cell format to General or Number, then re-enter the value.Numbers in text format do not participate in sequence calculations.
Use a formula, and when you drag it down, every row gives the same result.Check the dollar signs in the formula and remove the locking on the current row.The reference doesn't change with the row when dragging after locking.
After filtering or deleting rows, the serial numbers have gaps or duplicates.Switch to a counting approach based on visible lines.The regular row-number formula cannot recognize the filter status.
I changed the data, but the serial numbers aren't updating.Change the calculation mode to automatic, and manually recalculate when necessaryIn manual calculation mode, results do not refresh automatically.

First, Determine Which Type of Problem It Is

First click the cell with the problematic serial number, then check the formula bar and the cell's appearance; this usually narrows down the issue within a minute.

SymptomsCommon causesHow do I confirm?
All the elements in the array are the same number, for example, all are 1.Dragging is treated as copying, or a formula references a blank cellCheck the formula bar: if it shows a plain number, it's a dragging issue; if it shows a formula, it's a formula issue.
The sequence increases normally at first, then at some point it starts repeating or stops changing.There are locked references in the formula, or a row has been manually overridden.Click the cell that contains the repeated formula, then check whether the cell references in the formula change as you move to other rows.
The formula hasn't changed, but the result doesn't update with the data.Calculation method: manualChange one source data item and observe whether the sequence numbers change accordingly.
There is a small green triangle in the upper-left corner of the number.Numbers are stored as textSelect the area and check whether a "Number stored as text" warning appears.
After filtering, the serial numbers show gaps.The ordinary row-number formula also counts hidden rows.Clear the filter and check whether the sequence numbers return to being consecutive.

Item-by-item troubleshooting and fixing

Check in the order below. The earlier steps are easy to do and come up often, so it's recommended to finish them before moving on to the later ones.

  1. Confirm the content type. Click the serial-number cell. If the formula bar shows a plain number, there is no formula, so start from step 3. If it is a formula, continue with step 2.
  2. Check the cell format. Select the serial-number column. If green triangles appear, follow the prompt to convert the values to numbers, or change the format to General, delete the existing numbers, and type them in again. Text-formatted numbers are only copied when dragged, not incremented.
  3. Correct the dragging method. Enter 1 and 2 in the first two cells, select both, and drag down. Excel will continue the pattern. If there is only one cell, drag it, then click the AutoFill Options button that appears beside it and choose Fill Series.
  4. Check the calculation mode. If the serial numbers do not change after you edit the source data, calculation may be set to manual. Change it to automatic in Excel's calculation settings, and the results will refresh with the data.
  5. Check the formula references. This is the main cause when dragging down produces the same number in every cell. The specific formula patterns are described in the next section.
  6. Handle merged cells and blank rows. If the serial-number column contains merged cells, dragging may fill only the first cell, so unmerge the cells before filling. If the cell above the formula reference is a header or blank, the numbering will start from the beginning, so adjust the starting point to the correct position.

Several Common Errors in Formula Writing

The most error-prone aspect of formula numbering is the referencing method. The following patterns are all very common in real tables:

  • Locked the starting cell: when writing "start plus 1" in the serial number column, if the starting cell is written as an absolute reference with dollar signs, dragging down makes every row point to the same cell, so the results are naturally identical. The correct approach is to lock only the header or the parts that do not change, while the reference to the previous row stays relative.
  • Referenced its own cell: if the serial number formula is written in column A but references the current cell in column A, it creates a circular reference, and the result shows as 0 or a warning pops up. The reference range should be changed to the previous row or earlier area.
  • Row-number formulas are affected by table structure: using "row number minus a fixed number" can produce consecutive serial numbers, but after the header position changes or rows are inserted or deleted, the subtracted number must be readjusted, so this method is not suitable for tables that change often.

How to Avoid This Happening Again

  • Before generating serial numbers, set the number column to General format first, then enter the numbers. This avoids most text-format problems.
  • When generating serial numbers with formulas, lock only the starting point that truly never changes, keep the references in between relative, and check the first few and last few rows once each.
  • For tables that are often filtered or have rows deleted, consider using a counting method based on visible rows instead, such as the SUBTOTAL function combined with a count, so that serial numbers stay continuous after filtering.
  • Once the table structure is fixed, convert the data range into a proper table. When new rows are added, formulas usually extend automatically, reducing the number of manual drags.
  • After bulk editing or importing data, don't just check the first row. Spot-check middle and last rows to confirm the serial numbers have no breaks or duplicates.

❓ Frequently Asked Questions (FAQ)

1. Why do I still get duplicates after entering 1 and 2 and dragging?

Usually one of the numbers is stored as text, or the selected range is wrong. Make sure both cells are formatted as numbers, then select both cells together and drag again. The problem should usually be resolved.

2. Why didn't the serial number automatically fill in after inserting a new row?

The newly inserted row is blank, and the serial number formulas from the adjacent rows above and below are not automatically copied into it. You can fill the serial number from the row above down into the new row, or convert the data range into a formal table so that the formulas extend automatically with newly added rows.

3. Why do the numbers in a spreadsheet someone else sent me all show as 1 when I open it?

The other party's spreadsheet may have manual calculation turned on, or the serial number column may be formatted as text, and copying and pasting may also bring the formatting along. Check the calculation mode and the serial number column format, then follow the steps in this article to resolve it.

4. Which is more stable: manually entering serial numbers or generating them with formulas?

When the data rarely changes, manual entry is simple and straightforward. For tables that are frequently filtered or have rows added and deleted, it is better to use formulas that count only visible rows; the results will be more reliable and less work.

📝 Summary

Excel automatic serial numbers that only repeat or stay at 1 are usually caused by the fill method, text formatting, formula references, or calculation settings. Check the formula bar and the green triangles first to diagnose the problem, then fix it step by step. When you filter or delete rows, use a formula that counts visible rows, and most serial-number problems can be avoided without repeated rework.

Open OmniDoc and process your spreadsheet file

Updated 2026-11-29