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)
Name | Percentage | Sequence-1 |
---|---|---|
Singh Bisht | 95% | |
Kumar Arya | 94% | |
Singh Kanyal | 93% | |
Singh Mehta | 83% | |
Singh Bajetha | 78% | |
Nandan Singh | 67% | |
Naryan Dutt | 62% | |
Govind Ram | 56% | |
Singh Mehta | 53% | |
Chandan Singh | 49% |
Formula in C2 (Apply in First Row Under "Sequence-1")
Dataset Example (After Applying SEQUENCE)
Name | Percentage | Sequence-1 |
---|---|---|
Singh Bisht | 95% | 1 |
Kumar Arya | 94% | 2 |
Singh Kanyal | 93% | 3 |
Singh Mehta | 83% | 4 |
Singh Bajetha | 78% | 5 |
Nandan Singh | 67% | 6 |
Naryan Dutt | 62% | 7 |
Govind Ram | 56% | 8 |
Singh Mehta | 53% | 9 |
Chandan Singh | 49% | 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)
Name | Percentage | Sequence-1 |
---|---|---|
Naryan Dutt | 62% | |
Chandan Singh | 49% | |
Singh Mehta | 53% | |
Kumar Arya | 94% | |
Govind Ram | 56% | |
Singh Mehta | 83% | |
Nandan Singh | 67% | |
Singh Kanyal | 93% | |
Singh Bajetha | 78% | |
Singh Bisht | 95% |
Step 1: Sort Data in Descending Order (Based on Percentage)
- Select the Percentage column → Go to "Data" → Click on "Sort"
- Choose Sort by "Percentage" → Select Largest to Smallest
Dataset Example (After Sorting)
Name | Percentage | Sequence-1 |
---|---|---|
Singh Bisht | 95% | |
Kumar Arya | 94% | |
Singh Kanyal | 93% | |
Singh Mehta | 83% | |
Singh Bajetha | 78% | |
Nandan Singh | 67% | |
Naryan Dutt | 62% | |
Govind Ram | 56% | |
Singh Mehta | 53% | |
Chandan Singh | 49% |
Step 2: Apply SEQUENCE Function
- In C2, enter the following formula:
- Press Enter
Final Dataset (After Applying SEQUENCE)
Name | Percentage | Sequence-1 |
---|---|---|
Singh Bisht | 95% | 1 |
Kumar Arya | 94% | 2 |
Singh Kanyal | 93% | 3 |
Singh Mehta | 83% | 4 |
Singh Bajetha | 78% | 5 |
Nandan Singh | 67% | 6 |
Naryan Dutt | 62% | 7 |
Govind Ram | 56% | 8 |
Singh Mehta | 53% | 9 |
Chandan Singh | 49% | 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
Method | Formula Used | Best 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
Post a Comment