EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips Excel Auto Numbering
Secondary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup and Reference Functions in Excel (36+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course

Excel Auto Numbering

By Madhuri ThakurMadhuri Thakur

Autonumbering-in-Excel-example

Excel Auto Numbering (Table of Contents)

  • Auto Numbering in Excel
  • Methods to number rows in Excel
    • By Using the Fill handle
    • By Using Fill series
    • By Using the COUNTA function
    • By Using Row Function
    • By Using Subtotal for filtered data
    • By Creating an Excel Table
    • By adding one to the previous row number

Auto Numbering in Excel

Auto Numbering in Excel is used to generate the number automatically in a sequence or in some pattern. We can fill and drag the numbers down the limit we want. We can enable the option of Auto numbering available in the Excel Options’ Advanced tab. In another way, we can use the ROW function. This function starts counting the row by returning its number as per the number mentioned in Row numbers. We can also generate auto numbers by adding +1 to the number located above.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Methods to number rows in Excel

The auto-numbering of rows in excel would depend on the kind of data used in excel. For Example –

    • A continuous dataset that starts from a different row.
    • A dataset that has a few blank rows and only filled rows to be numbered.
You can download this Auto Numbering excel Excel Template here – Auto Numbering excel Excel Template

Methods are as follows:

      • By Using the Fill handle
      • By Using Fill series
      • By Using the CountA function
      • By Using Row Function
      • By Using Subtotal for filtered data
      • By Creating an Excel Table
      • By adding one to the previous row number

1. Fill handle Method

It helps in auto-populating a range of cells in a column in a sequential pattern, thus making the task easy.

Auto numbering in Excel example 1-1

Steps to be followed:

      • Enter 1 in the A2 cell and 2 in the A3 cell to make the pattern logical.

Auto numbering in Excel example 1-2

      • There is a small black box on the bottom right of the selected cell.
      • The moment the cursor is kept on the cell, it changes to a plus icon.

Auto numbering in Excel example 1-3

      • Drag the + symbol manually till the last cell of the range or double click on the plus icon, i.e. fill handle; a number will appear automatically in serial order.

Autonumbering in Excel example 1-3

Note:

      • The row number will get updated in case of addition/deletion of row(s)
      • It identifies the pattern of the series from the two filled cells and fills the rest of the cells.
      • This method does not work on an empty row.
      • Numbers are listed serially; however, the roman number format and alphabet listing are not considered.
      • The serial number inserted is a static value.

Autonumbering in Excel example 1-4

2. Fill Series Method

This method is more controlled and systematic in numbering the rows.

Auto numbering in Excel example 2-1

Steps to be followed:

      • Enter 1 in the A2 cell -> go to ‘Home tab of the ribbon.

Auto numbering in Excel example 2-2

      • Select “Fill”drop-down -> Series

Auto numbering in Excel example 2-3

      • Series dialog box will appear.

Auto numbering in Excel example 2-4

      • Click the Columns button under Series and insert number 9 in the Stop value: input box. Press OK. The number series will appear.

Autonumbering in Excel example 2-5

Fill the first cell and apply the below steps.

      • This method works on an empty row also.
      • Numbers are listed serially, but the roman number and alphabets listing are not considered.
      • The serial number inserted is a static value. A serial number does not change automatically.

Autonumbering in Excel example 2-6

3. COUNTA function Method

 The COUNTA function is used in numbering only those rows that are not empty within a range.

Steps to be followed:

Select the cell A5, corresponding to the first non-empty row in the range and paste the following formula –

=IF(ISBLANK(B5),” “,COUNTA($B$5:B5))

Then, the cell gets populated with the number 1. Then drag the fill handle (+) to the last cell within the column range.

Autonumbering in Excel example 3-1

Autonumbering in Excel example 3-2

      • The number in a cell is dynamic in nature. When a row is deleted, existing serial numbers are automatically updated, serially.
      • Blank rows are not considered.

4. Row function method

The Row function can be used to get the row numbering.

Follow the below process.

Enter the ROW() function and subtract 1 from it to assign the correct row number. ROW() calculates to 2; however, we want to set the cell value to 1, being the first row of the range; hence 1 is subtracted. Hence formula will be,

=ROW()-1

 Autonumbering in Excel example 4-1

If the row starts from 5th, the formula will change accordingly, i.e. =ROW() – 4

Autonumbering in Excel example 4-2

      • The row number will get updated in case of the addition/deletion of row(s).
      •  It is not referencing any cell in the formula and will automatically adjust the row number.
      • It will display the row number even if the row is blank.

Autonumbering in Excel example 4-3

5. SUBTOTAL For Filtered Data

The SUBTOTAL function in Excel helps in the serial numbering of a filtered dataset copied into another datasheet.

Steps to be followed:

Here is a dataset which we intend to filter for marks in Maths greater than or equal to 20.

Autonumbering in Excel example 5-1 

Autonumbering in Excel example 5-2

Autonumbering in Excel example 5-3

Now we will copy this filtered data into another sheet and delete the “Roll no” serial values.

Autonumbering in Excel example 5-4

Then, select the first cell of the column range and use the ‘SUBTOTAL’ function wherein the first argument is 3, denoting ‘COUNT A’.

=SUBTOTAL(3,$B$2:B2)

This will populate the cell with a value of 1.

Autonumbering in Excel example 5-5

Autonumbering in Excel example 5-6

Now, with the selected cell, drag the fill handle (+) downwards along the column. This will populate the rest of the cells serially.

Autonumbering in Excel example 5-7

      • The SUBTOTAL function is useful in rearranging the row count, serially, of a copied filtered dataset in another sheet.
      • The serial numbers are automatically adjusted on the addition/deletion of rows.

6. By creating an Excel Table

Here, tabular data is converted into the Excel table.

Steps to be followed:

Firstly, select the whole dataset ->go to Insert Tab->Click on Table icon(CTRL+T) under Table group

Autonumbering in Excel example 6-1

Create Table dialog box will appear. Specify range or table name

Autonumbering in Excel example 6-2.1

or

Autonumbering in Excel example 6-2.2

Click OK.

Tabular data is converted into Excel Table (named as Table 3).

Autonumbering in Excel example 6-3

In the A2 cell, enter the formula.

Formula:

=Row()-Row(Table[#Header])

This will automatically fill the formula in all the cells.

Auto numbering in Excel example 6-4

      • Row numbering will automatically adjust and update on the addition/deletion of rows.

7. By adding one to the previous row number

Subsequent rows get incremented by 1.

Steps to be followed:

As seen in the attached screenshot, enter 1 in cell A2 of the first row.

Auto numbering in Excel example 7-1

      • Enter =A2+1 in cell A3

Auto numbering in Excel example 7-2

      • Select A3 and drag the fill handle (+) to the last cell within the range. This will auto-populate the remaining cells.

Autonumbering in Excel example 7-3

      • The cell value is relative to the previous cell value.
      • Does not update serial number automatically on addition/deletion of rows.

Things to Remember about Auto Numbering in Excel

      • The best way for auto numbering in excel depends on the type of data set you to have to enable.
      • Auto Numbering in Excel is not an inbuilt function.
      • Ensure to check if the Fill option is enabled for Auto Numbering in Excel.

Conclusion

There are different ways for Auto Numbering in Excel and number rows in serial order in excel. Some of the methods will do static numbering, whereas others would do dynamic updates on the addition/deletion of rows.

You can download this Auto Numbering Excel Excel Template here – Auto Numbering Excel Template.

Recommended Articles

This has been a guide to Auto Numbering in Excel. Here we discuss how to use Auto Numbering in Excel and Methods to number rows in Excel along with practical examples and downloadable excel template. You can also go through our other suggested articles –

    1. Excel Autofit
    2. Number Format In Excel
    3. Auto Format in Excel
    4. Numbering in Excel
Popular Course in this category
Excel Training (23 Courses, 9+ Projects)
  23 Online Courses |  9 Hands-on Projects |  110+ Hours |  Verifiable Certificate of Completion
4.9
Price

View Course

Related Courses

Excel Data Analysis Training (17 Courses, 8+ Projects)4.9
Excel for Finance Training (18 Courses, 7+ Projects)4.8
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2023 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

Download Auto Numbering excel Excel Template

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download Auto Numbering excel Excel Template

EDUCBA

डाउनलोड Auto Numbering excel Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more