Google Sheets: How to Fill Sequential Numbers
In this article
To fill sequential numbers in Google Sheets, type the first two numbers in a column (for example 1 and 2), select both cells, then drag the small blue square at the bottom-right corner down. Google Sheets recognises the pattern and continues it. You can also use the fill handle with a single starting number and hold Ctrl (Cmd on Mac) while dragging, or use a formula like =ROW()-1 for a dynamic sequence that updates automatically.
What You'll Need
- A Google account and access to Google Sheets (desktop browser or mobile app).
- A spreadsheet open with at least one empty column or row.
- Basic familiarity with selecting cells and using the fill handle (the small square at the bottom-right of a selection).
Step-by-Step
- Open your spreadsheet in Google Sheets. The steps below work on desktop; mobile steps differ slightly and are noted where relevant.
- Enter the first number in the cell where you want the sequence to start (e.g., type 1 in A1).
- Enter the second number directly below it (e.g., type 2 in A2). This tells Sheets the step size.
- Select both cells by clicking the first and dragging to the second, or click the first, hold Shift, and click the second.
- Hover over the fill handle — the small blue square at the bottom-right of the selection. The cursor changes to a crosshair.
- Drag the fill handle down (or across) as far as you need. Release the mouse. Sheets fills the cells with 1, 2, 3, 4… automatically.
- For a single starting number: type 1 in a cell, select it, then drag the fill handle while holding Ctrl (Windows) or Cmd (Mac). The cursor shows a small plus sign; releasing fills sequential numbers instead of copying the same value.
- Use a formula for a dynamic sequence: In the first cell, type
=ROW()-1(adjust the minus number if your data starts on a different row). Press Enter, then drag the fill handle down. The numbers update automatically if you insert or delete rows above. - On mobile: Tap the first cell, type 1, tap the cell below, type 2. Select both cells by long-pressing and dragging the selection handles. Tap the fill handle (small square) and drag it down. The Ctrl/Cmd trick is not available on mobile; use the two-number method or a formula instead.
- Verify the sequence by checking a few cells. If the numbers repeat instead of incrementing, see Troubleshooting.
Common Mistakes
- Dragging with only one number selected without Ctrl/Cmd: This copies the same number instead of creating a sequence. Always enter two numbers or hold Ctrl/Cmd.
- Not selecting both seed cells: If you select only the first cell and drag, Sheets may not recognise the pattern. Select both the first and second numbers before dragging.
- Using the fill handle on a filtered range: Hidden rows can cause the sequence to skip or misalign. Clear filters before filling.
- Forgetting to adjust the formula row offset:
=ROW()-1assumes data starts in row 2. If your first cell is in row 5, use=ROW()-4. - Dragging too far accidentally: Undo with Ctrl+Z (Cmd+Z on Mac) and re-drag more carefully.
Tips
- Use the two-number method for a fixed step (e.g., 5, 10, 15). Enter 5 and 10, select both, then drag.
- For a sequence that updates when rows are added, use
=ROW()-1or=SEQUENCE(COUNTA(B:B))where B is a column with data. - Double-click the fill handle to auto-fill down to the end of adjacent data — faster than dragging.
- To fill a series across columns, enter numbers in two adjacent cells horizontally and drag the fill handle right.
- Use
=SEQUENCE(10,1,1,1)to generate 10 numbers starting at 1 with step 1 in a single formula.
Troubleshooting
- Numbers repeat instead of incrementing: You likely dragged with only one cell selected and without Ctrl/Cmd. Undo, enter a second number, select both, and drag again.
- Fill handle not visible: Make sure you have selected a cell or range; the handle appears at the bottom-right corner. If using a touchscreen, tap the cell first.
- Sequence skips numbers: Check for hidden or filtered rows. Clear filters and try again. Also verify that the two seed numbers differ by the intended step.
- Formula shows an error: Ensure you are using the correct row offset. For example, if the formula is in row 3 and you want the sequence to start at 1, use
=ROW()-2. - Mobile drag not working: On mobile, you may need to long-press the fill handle until it highlights, then drag. If it still fails, use a formula instead.
- Undo not working: If you have made many changes, press Ctrl+Z (Cmd+Z) repeatedly, or use the undo history via the clock icon in the toolbar.
Frequently Asked Questions
How do I fill sequential numbers without dragging?
Use a formula: =ROW()-1 in the first cell, then copy it down. Or use =SEQUENCE(10,1,1,1) to generate 10 numbers at once.
Can I create a sequence with a custom step, like 2, 4, 6?
Yes. Enter 2 and 4 in two cells, select both, then drag the fill handle. Sheets continues the pattern with a step of 2.
Why does dragging the fill handle copy the same number?
Because Sheets treats a single selected cell as a copy operation. To create a sequence, either enter two numbers and select both, or hold Ctrl (Windows) or Cmd (Mac) while dragging a single cell.
How do I fill numbers down a column that already has data?
Enter the starting number in the first empty cell, then drag the fill handle down. If the column has adjacent data, double-click the fill handle to auto-fill to the end of that data.
Can I use sequential numbers in a filtered list?
Yes, but the sequence may not match visible rows. Use =SUBTOTAL(103, B$2:B2) to number only visible rows in a filtered range.
Do sequential numbers update if I insert a row?
Only if you used a formula like =ROW()-1. Numbers entered manually or via drag do not update automatically.