SEQUENCE Function

 

Example 1: Simple SEQUENCE Function (Fixed List)

This method generates sequential numbering automatically based on the number of rows. If you add new names, the sequence extends automatically.

Dataset Example (Before Applying SEQUENCE)

NamePercentageSequence-1
Singh Bisht95%
Kumar Arya94%
Singh Kanyal93%
Singh Mehta83%
Singh Bajetha78%
Nandan Singh67%
Naryan Dutt62%
Govind Ram56%
Singh Mehta53%
Chandan Singh49%

Formula in C2 (Apply in First Row Under "Sequence-1") 

=SEQUENCE(ROWS(A2:A11), 1, 1, 1)

Dataset Example (After Applying SEQUENCE)

NamePercentageSequence-1
Singh Bisht95%1
Kumar Arya94%2
Singh Kanyal93%3
Singh Mehta83%4
Singh Bajetha78%5
Nandan Singh67%6
Naryan Dutt62%7
Govind Ram56%8
Singh Mehta53%9
Chandan Singh49%10

📌 Key Benefits:

  • If you add more rows, the numbering automatically extends.
  • No need to manually type numbers.
  • Ensures accurate sequencing without manual errors.

Example 2: SEQUENCE with Sorting (Dynamic Ranking by Percentage)

This method dynamically updates numbering based on sorting by Percentage.

Dataset Example (Before Sorting)

NamePercentageSequence-1
Naryan Dutt62%
Chandan Singh49%
Singh Mehta53%
Kumar Arya94%
Govind Ram56%
Singh Mehta83%
Nandan Singh67%
Singh Kanyal93%
Singh Bajetha78%
Singh Bisht95%

Step 1: Sort Data in Descending Order (Based on Percentage)

  • Select the Percentage columnGo to "Data" → Click on "Sort"
  • Choose Sort by "Percentage" → Select Largest to Smallest

Dataset Example (After Sorting)

NamePercentageSequence-1
Singh Bisht95%
Kumar Arya94%
Singh Kanyal93%
Singh Mehta83%
Singh Bajetha78%
Nandan Singh67%
Naryan Dutt62%
Govind Ram56%
Singh Mehta53%
Chandan Singh49%

Step 2: Apply SEQUENCE Function

  • In C2, enter the following formula: 
=SEQUENCE(COUNTA(A2:A11), 1, 1, 1)
  • Press Enter

Final Dataset (After Applying SEQUENCE)

NamePercentageSequence-1
Singh Bisht95%1
Kumar Arya94%2
Singh Kanyal93%3
Singh Mehta83%4
Singh Bajetha78%5
Nandan Singh67%6
Naryan Dutt62%7
Govind Ram56%8
Singh Mehta53%9
Chandan Singh49%10

📌 Key Benefits:

  • If you change the sorting order, the sequence updates dynamically.
  • Best for rankings and performance-based numbering.
  • Avoids the need to manually renumber data.

Comparison of Both Methods

MethodFormula UsedBest Use Case
Simple SEQUENCE=SEQUENCE(ROWS(A2:A11),1,1,1)Fixed sequence numbers that update when rows are added.
Sorting SEQUENCE=SEQUENCE(COUNTA(A2:A11),1,1,1)Automatically ranks data when sorted by percentage.

Final Notes

Use Method 1 for general sequential numbering.
Use Method 2 when you need dynamic ranking based on sorting.

Would you like an Excel file with these examples for reference? 😊

Comments

Popular posts from this blog

How to Use the FILTER Formula

Using Flash Fill in Excel

Skill Matrix Tool & Excel Format