Skip to main content

How to auto number a column in Excel?

Author: Sun Last Modified: 2024-08-22

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.

a screenshot showing how to use the ROW function to automatically number rows in column A

a screenshot of kutools for excel ai

Unlock Excel Magic with Kutools AI

  • Smart Execution: Perform cell operations, analyze data, and create charts—all driven by simple commands.
  • Custom Formulas: Generate tailored formulas to streamline your workflows.
  • VBA Coding: Write and implement VBA code effortlessly.
  • Formula Interpretation: Understand complex formulas with ease.
  • Text Translation: Break language barriers within your spreadsheets.
Enhance your Excel capabilities with AI-powered tools. Download Now and experience efficiency like never before!

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.

a screenshot showing how to use the OFFSET function to automatically number rows in column A

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.

a screenshot showing that removing a number from the series resets subsequent numbers to start from 1


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.

a screenshot of using Fill Series to auto number a column

Note: If you delete one number of the number series, the other numbers are kept.
a screenshot showing that removing a number from a series does not affect other numbers


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.

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

1. Click Kutools > Insert > Insert Sequence Number.
a screenshot of enabling the Insert Sequence Number feature

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:
doc-number-column-7 a screenshot of setting your custom sequence number

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.
a screenshot of the generated sequence

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 Toolsets12 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
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

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!