12 Ways to AutoFill Numbers in Excel

Method 1: AutoFill a Column with a Series of Numbers

Example Model:

Use the Fill Handle option to autofill the series of numbers starting from 1.

Autofill a Column with a Series of Numbers

Steps:

  • Select Cell B5.
  • Select the cell and find the Plus (+)

Autofill a Column with a Series of Numbers

  • Drag the Plus (+) icon downward.
  • Click on the options menu and select the Fill Series

Autofill a Column with a Series of Numbers

Note: A series of numbers will appear starting from 1 to 9.

Autofill a Column with a Series of Numbers

Read More: How to Auto Number Cells in Excel


Method 2: AutoFill Numbers by Using the ROW Function in Excel

In the following picture, Cell B5 is situated in Row 5. So if you apply the ROW function in that cell, the function will return ‘5’.

Autofill Numbers by Using ROW Function in Excel

Steps:

  • Enter the following formula into cell
=ROW()-4

Autofill Numbers by Using ROW Function in Excel

  • To start the number with ‘1’, input the following formula in Cell B5:
=ROW()-4

Note: Since the data was in the 5th row, the ROW function returned the number ‘5’. To replace it with number ‘1’, we have to subtract ‘4’ from the ROW function.


Method 3. Insert the OFFSET Function to AutoFill Numbers in a Column

Steps:

  • Enter the following formula into cell
=OFFSET(B4,-1,0)+1

Insert OFFSET Function to Autofill Numbers in a Column

  • After pressing Enter, the number ‘1’ will appear.

Note: Keep in mind that while using this formula immediate upper cell blank must be blank.

Insert OFFSET Function to Autofill Numbers in a Column

  • Use the Fill Handle to autofill the column.

Note: You don’t have to choose the Fill Series option anymore as shown in the first method.

Insert OFFSET Function to Autofill Numbers in a Column

Read More: How to Autofill Numbers in Excel Without Dragging


Method 4: AutoFill Numbers by Using the Fill Series Command

Steps:

  • From the Home , go to the Editing group of commands.
  • Select the Series command from the Fill drop-down under the Editing group of commands.

Note: A dialogue box named ‘Series’ will open up.

Autofill Numbers by Using Fill Series Command in Excel

Let’s assume we want to create a series of numbers with a common difference of ‘2’ and the series will end with the last value of not more than 20.

  • Select the Columns radio button from the Series in options.
  • Input ‘2’ and ‘20’ in the Step value and the Stop Value.
  • Press OK.

Autofill Numbers by Using Fill Series Command in Excel

Note: You’ll find the series of numbers with the mentioned criteria right away.

Autofill Numbers by Using Fill Series Command in Excel


Method 5. AutoFill Numbers While Skipping Rows (Blank Cells)

Example Model:

Select two successive cells starting from the first input data as shown in the following screenshot.

Autofill Numbers While Skipping Rows (Blank Cells)

Steps:

  • After auto-filling the column with the Fill Handle, you’ll find the series of numbers starting with ‘1’ while skipping a row at regular intervals.

Autofill Numbers While Skipping Rows (Blank Cells)


Method 6: AutoFill Formulas in a Column in Excel

Steps:

  • Enter the following formula into cell D5.
=C5*5%

Autofill Formulas in a Column in Excel

  • Use the Fill Handle from Cell D5 and drag it down to Cell D11.

Autofill Formulas in a Column in Excel


Method 7: Double-Click the Fill Handle to AutoFill Numbers

Steps:

  • Click the Fill Handle icon in the right-bottom corner of Cell D5 twice.

Double-Click Fill Handle to Autofill Numbers

Double-Click Fill Handle to Autofill Numbers

Read More: How to AutoFill Numbers in Excel with Filter 


Method 8: AutoFill Numbers using a Geometric Pattern

Steps:

  • Open the Series dialogue box from the Fill options in the Editing group of commands.
  • Select the Columns button as the Series in option.
  • Choose Growth as the Type of the series.
  • Input ‘2’ and ‘200’ as the Step value and the Stop value
  • Press OK.

Autofill Numbers with a Geometric Pattern in Excel

Note: You’ll find the geometric series starting from 2 with a growth rate of 2, which means each value will be multiplied by 2 until the final output exceeds 200.

Autofill Numbers with a Geometric Pattern in Excel


Method 9: AutoFill a Date Series in a Column

  • Select the Columns radio button from the Series in options.

Autofill a Date Series in a Column

Note: After pressing OK the dates are as shown in the following picture.

Autofill a Date Series in a Column


Method 10: AutoFill Row Numbers with COUNTA Function to Ignore Blank Cells

In the following picture, Column B will represent the serial numbers. We have to assign a formula in Cell B5, drag it down to the bottom, and define the serial numbers for all non-blank rows.

Autofill Row Numbers with COUNTA Function to Ignore Blank Cells

Steps:

  • Enter the following formula into cell B5.
=IF(ISBLANK(C5),””,COUNTA($C$5:C5))
  • Press Enter for the first serial number ‘1’ as the first row in the table is not empty.

Autofill Row Numbers with COUNTA Function to Ignore Blank Cells

  • Use the Fill Handle to autofill the entire Column B.

Note: The serial numbers for all non-empty rows appear at once.

Autofill Row Numbers with COUNTA Function to Ignore Blank Cells

Read More: Excel Formulas to Fill Down Sequence Numbers Skip Hidden Rows


Method 11: Use the SUBTOTAL Function to AutoFill Numbers for Filtered Data

Use SUBTOTAL Function to Autofill Numbers for Filtered Data

In the following table, we’ve filtered the data for Sam only. We’ve extracted the sales values of greater than $1500 for Sam here. However, after filtering the table, the serial numbers have also been modified. Let’s assume, we want to maintain the serial numbers as they were shown initially.

Use SUBTOTAL Function to Autofill Numbers for Filtered Data

Steps:

  • Enter the following formula into cell B5.
=SUBTOTAL(3,$C$5:C5)
  • Use Fill Handle to autofill the entire column.

Use SUBTOTAL Function to Autofill Numbers for Filtered Data

  • Now filter the sales values of Sam to show the amounts that are greater than $1500 only.

Note: The serial numbers have not been modified here as they’re maintaining the sequence of the numbers.

Use SUBTOTAL Function to Autofill Numbers for Filtered Data

Read More: How to Repeat Number Pattern in Excel


Method 12: Create an Excel Table to AutoFill Row Numbers (ROW Function)

Steps:

  • Select the entire table data (B5:F19) and name it with Sales Data by editing in the Name Box.

Create an Excel Table to Autofill Row Numbers (ROW Function)

  • Enter the following formula into cell
=ROW()-ROW(SalesData[#Headers])

Note: The entire Column B in the data table will display the serial numbers.

Create an Excel Table to Autofill Row Numbers (ROW Function)

  • Right-click any of the row numbers on the left of the spreadsheet with your mouse cursor.
  • Select the Insert option.

Create an Excel Table to Autofill Row Numbers (ROW Function)

Note: A new row will be added in the selected region and the serial numbers of the entire data table will be updated simultaneously.

Create an Excel Table to Autofill Row Numbers (ROW Function)


Download Practice Workbook

You can download the Excel workbook that we’ve used to prepare this article.


AutoFill Numbers in Excel: Knowledge Hub


<< Go Back to Excel AutoFillLearn Excel

Get FREE Advanced Excel Exercises with Solutions!
Nehad Ulfat
Nehad Ulfat

NEHAD ULFAT is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including ABACUS, AutoCAD, Rhinoceros, Maxsurf, and Hydromax. He got his B.Sc in Naval Architecture & Marine Engineering from BUET but switched gears, working as a content developer.  In this role, he creates techy content all about Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo