# How to Auto Increment Values in Google Sheets

Auto Increment Values in Google Sheets

To auto increment values in Google Sheets, you can use the "ROW" function or the "ArrayFormula" function. Here are step-by-step instructions for both methods:

Method 1: Using ROW function

- Open your Google Sheet.
- Click on the cell where you want the auto-incremented value to begin.
- Type the following formula:
`=ROW(A1)`

or`=ROW()-ROW(A1)+1`

. You can replace`A1`

with the cell reference of the starting cell. - Press Enter. The cell will now have the value 1.
- Click on the bottom right corner of the cell containing the value 1, and drag it down to fill the cells below. The values will increment automatically.

Method 2: Using ArrayFormula

- Open your Google Sheet.
- Click on the cell where you want the auto-incremented value to begin.
- Type the following formula:
`=ArrayFormula(ROW(A1:A)-ROW(A1)+1)`

- Press Enter. The values will increment automatically in the column, starting from the cell you entered the formula in.
- To limit the number of auto-incremented values, modify the formula to include an "IF" statement:
`=ArrayFormula(IF(ROW(A1:A)<=10,ROW(A1:A)-ROW(A1)+1,""))`

. Replace "10" with the number of rows you want to auto-increment.

Example:

## Auto Increment Example

Suppose you want to create a list of numbers from 1 to 10 in column A.

- Open your Google Sheet.
- Click on cell A1.
- Type the following formula:
`=ArrayFormula(IF(ROW(A1:A)<=10,ROW(A1:A)-ROW(A1)+1,""))`

- Press Enter.

Now, the numbers 1 to 10 will be auto-incremented in column A.

Did you find this useful?