How to auto number a column in Excel?

Have you ever wanted to number a column in Excel? This tutorial will talk about some methods for numbering a column.

Auto number a column by formula =ROW()

Auto number a column by formula =OFFSET()

Auto number a column by Auto Fill Handle

Number a column by Insert Sequence Number of Kutools for Excel

Auto number a column by formula =ROW()

If you want to number the column based on the row numbers, you can type this formula =ROW() into a cell and press Enter key then drag the autofill handle to the cells you need to number.

Auto number a column by formula =OFFSET(A2,-1,0)+1

If you want to auto number the column cells not based on the row number, you can type this formula =OFFSET(A2,-1,0)+1 into Cell A2 which you want to begin the number series from 1, and press Enter key then drag the autofill handle to cells you need.

Note:

1. With above formula to auto number a column, A2 is current cell's address, and the cell above this cell must be blank or 0. For example, if you want to enter this formula into Cell K5, the formula should be modified to =OFFSET(K5,-1,0)+1, and the Cell K4 must be blank or 0.

2. If you remove one number from the number series, the below numbers will be start from 1 again.

 Insert Sequnce Number in Excel If you want to insert customized sequential numbers in Excel, such as KTE-0001-Jone, KTE-0002-Jone, KTE-0003-Jone..., the sequence strings will not be filled normally when dragging the mouse in Excel. Now, with the Insert Sequence Number utility of Kutools for Excel, you can create any customizing sequence numbers and insert them quickly.  Click to download 30-day free trial.

Auto number a column by AutoFill function

In Excel, AutoFill function also can help you to number a column.

Type 1 into a cell that you want to start the numbering, then drag the autofill handle at the right-down corner of the cell to the cells you want to number, and click the fill options to expand the option, and check Fill Series, then the cells are numbered. See screenshot.

Note: If you delete one number of the number series, the other numbers are kept.

Insert column number by Insert Sequence Number of Kutools for Excel

If you want to insert custom sequence number to number a column, you can try the Insert Sequence Number tool of Kutools for Excel.

 with more than 300 handy functions, makes your jobs more easier. Free Downloadfree full-featured in 30 days

After free installing Kutools for Excel, please do as below:

1. Click Kutools > Insert > Insert Sequence Number.

2. Click New button to expand the dialog, then set your custom sequence as you need, you can specify the prefix and suffix, also can define the number of digits you want. See screenshot:

3. Click Add to create this sequence, then select a column range you want to insert the numbers, click Fill Range to fill the numbers into cells.

Tips:

1. In the Insert Sequence Number dialog box, it will mark the last inserted sequential numbers in the Previous list, and if you insert this sequence number at next time, the first sequential number will be marked in Next list.

2. You can click New button to create more sequential numbers.

3. You can click Reset to reset the sequence.

4. With Insert Sequence Number tool, you also can do following operations:

Quickly create and insert repeated sequential numbers in a range of cells

Quickly create and insert sequential numbers in merged cells

Relative Articles:

• How to change or convert number to text in Excel?
Sometimes you may not want the numbers in the cells getting involved in calculating, or you may want to display leading zeros in numbers in cells. For doing so, you may need to change a number into text.

• How to remove numbers from text strings in Excel?
For example there are many numbers mixed in a text string, and you want to remove these numbers from the text string. How to get it done? This article will introduce a couple of tricky methods to remove numbers from text string cells in Excel easily.

• How to identify missing numbers sequence in Excel?
Let's say you have a long list of sequence numbers to mark items, such as check numbers in bank statements, normally we scrolling through and locate the missing sequence numbers manually. However, here are some tricky ways to deal with it.

Best Office Productivity Tools

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ... Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup .... Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List .... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ... Featured Features: Grid Focus   |  Design View   |  Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
This comment was minimized by the moderator on the site
Drag and fill isn't doing anything. When I put in formula and hit enter, it puts a 0 there. No numbers anywhere else. It's faster to renumber it manually than trying to get this to work.
This comment was minimized by the moderator on the site
Sziasztok
Szeretném megkérdezni excellben van egy sorszámozott oszlopom, kiveszek egy nevet és a sorszámot újra kell 1 essel kezdenem
ha lehúzom a kis sarokban akkor nem számozza át újra
marad a 2 től 2 3 4 5 6 stb
tehát át kell számoznia 1 től de nem teszi meg
pl 2 osztályosok vannak 21 en, kivettem egy tanulót és a sorszámot át kellene írnia ha lehúzom a kis kockába de nem teszi meg utánuk rögtön jön a 3 osztályosok névsora 1 essel kezdődő sorszámmal
tehát nem sorszámoz ha kiveszek egy tanulót...
hogy tudom ezt megoldani mert sokszor van ilyen
köszönöm szépen
This comment was minimized by the moderator on the site
Hi, I do not understand your question. Could you upload a file or a picture to describe your question in details?
This comment was minimized by the moderator on the site
Надеюсь, это поможет, по крайней мере в умных таблицах работает отлично.
Требуется: начать нумерацию с A2. Тогда в этой ячейке следует ввести:
=СТРОКА()-СТРОКА(\$A\$1)
Если нужно начать с Q26: =СТРОКА()-СТРОКА(\$Q\$25) [Главное, чтобы ссылка на строку была зафиксированной, фиксация столбца не обязательна.]
Если нужен формат 01, 02 ... 10, 11 (две цифры до 10), тогда формула примет следующий вид:
=ТЕКСТ(СТРОКА()-СТРОКА(\$A\$1);"00")
Нужно больше нулей - меняем в формуле "00" на столько, сколько душе угодно.
This comment was minimized by the moderator on the site
Ещё вариант, чтобы не быть зависимым от верхней ячейки. Требуется то же самое, начать нумерацию с A2.
=СТРОКА()-СТРОКА(СМЕЩ(\$A\$2;-1;0))
Отличие от предыдущей формулы состоит в одном - разное поведение в случае, если необходимо вставить новую строку над первой пронумерованной строкой.
There are no comments posted here yet