Serial No Based on the Group

irfman

New Member
Joined
Jan 1, 2019
Messages
9
Hi, I have a long list of data that is ranked based on the Group. Now I need a formula in column E and F to arrange numbering series for each Group (i.e. starting from 1 up to the maximum rank in each group). How is this possible through an excel formula. Any assistance in the matter will be much appreciated.

Regards
 

Attachments

  • Capture.JPG
    Capture.JPG
    67.7 KB · Views: 15

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
try below...
group.xlsx
ABCDEF
1A GroupB Valuec RankDE Serial NoF Serial No
2Old856,3851OldNew
3New101,306611
4New364,216222
5New9,159733
6New3,249,154144
7Old499,980355
8Old102,9511066
9Old217,834677
10Old325,53158 
11New289,40259 
12Old153,511810 
13New316,572411 
14New320,4463  
15Old668,9042  
16Old115,2439  
17Old153,6497  
18Old357,9734  
19Old62,97411  
Table 1
Cell Formulas
RangeFormula
E3:E19E3=IF(ROWS(E$3:E3)<=(SUMPRODUCT(MAX(($A$2:$A$19=$E$2)*($C$2:$C$19)))),ROWS(E$3:E3),"")
F3:F19F3=IF(ROWS(E$3:E3)<=(SUMPRODUCT(MAX(($A$2:$A$19=$F$2)*($C$2:$C$19)))),ROWS(E$3:E3),"")
 
Upvote 0
Solution
You are welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top