How to Quickly Insert Unique Sequence Numbers in Excel

Whether you’re managing data, creating reports, or organizing lists — inserting unique serial numbers is a common and essential task in Excel. Below are 5 easy methods to do it effectively.


✅ 1. Fill Handle (Drag Method) – Best for Short Lists

Steps:

  1. In A1, type 1; in A2, type 2.
  2. Select both cells.
  3. Drag the fill handle (bottom-right corner) down as far as needed.

👉 Excel auto-extends the sequence: 3, 4, 5...


✅ 2. Fill Series (For Larger Lists)

Steps:

  1. In A1, type 1.
  2. Go to Home > Editing Group > Fill > Series.
  3. Choose:
    • Columns (or Rows)
    • Step Value: 1
    • Stop Value: (e.g., 1000)
  4. Click OK.

🚀 Instantly generates hundreds or thousands of sequence numbers!


✅ 3. ROW() Formula (Dynamic Numbering)

Use this when data is added/deleted frequently.

Formula Example in A2:
=ROW()-1 (if your data starts at row 2)

Customize by adjusting based on your starting row.
e.g., =ROW()-4 if starting from row 5.

📌 Benefits:

  • Auto-adjusts when you add/remove rows
  • Works well with filters/sorting

✅ 4. Power Query (Advanced Users)

If you’re importing data or cleaning up large datasets:

  1. Load data into Power Query.
  2. Go to Add Column > Index Column > From 1.
  3. Click Close & Load.

💡 Perfect for automated data workflows.


✅ 5. Using VBA (For Automation Lovers)

If you frequently need sequence numbers, use this macro:

vbaCopyEditSub AddSerialNumbers()
    Dim i As Long
    Dim lastRow As Long
    
    lastRow = Cells(Rows.Count, "A").End(xlUp).Row
    
    For i = 2 To lastRow
        Cells(i, 1).Value = i - 1
    Next i
End Sub

📌 How to Use:

  1. Press Alt + F11 to open the VBA Editor.
  2. Insert a new Module.
  3. Paste the code.
  4. Run the macro.

⚙️ It will insert serial numbers in Column A, starting from row 2.


🎓 Want to Learn Excel Step-by-Step, From Basics to Advanced?

If you found these methods helpful, imagine what you can do with structured, hands-on Excel training!

🔥 Mastering MS Excel – A Comprehensive Training Course

✔️ Covers:

  • Excel formulas & functions (VLOOKUP, IF, INDEX/MATCH)
  • Pivot Tables & Charts
  • Data Analysis & Automation
  • VBA Basics
  • Real-world case studies

📦 100% Self-paced
📥 Downloadable resources
💡 Perfect for students, professionals, business owners

👉 Enroll Now:
https://trainingbyhimanshu.in/product/mastering-ms-excel-a-comprehensive-training-course-for-excel-proficiency/


On sale products