Hi everyone,
Hoping someone can help. I have a spreadsheet with almost 10,000 rows and I have trimmed it down to just 4 columns of interest for this question. (picture attached)
Columns are:
Date
Time
Number
Percentage
Column I want to add is Position:
The sheet is sorted by Date then Time and then Percentage.
The data is broken into blocks which can be sorted by date and time. These blocks will have between 8 and 24 rows. I want to add a column which gives the position of each row in the block based on highest percentage is 1 and so on down the list of the block and start again on the next block. I have done the top 2 blocks manually in the picture.
Block 1, Row 4 and 5 both have 66.7 so they are both ranked as 3 and row 6 then gets ranked as 5.
Block 2, row 19 and 20 are both top ranked at 66.7 so they both get 1 and row 21 gets 3.
Hoping someone can help with a macro or formula please.
Thank you in advance for having a look.
Hoping someone can help. I have a spreadsheet with almost 10,000 rows and I have trimmed it down to just 4 columns of interest for this question. (picture attached)
Columns are:
Date
Time
Number
Percentage
Column I want to add is Position:
The sheet is sorted by Date then Time and then Percentage.
The data is broken into blocks which can be sorted by date and time. These blocks will have between 8 and 24 rows. I want to add a column which gives the position of each row in the block based on highest percentage is 1 and so on down the list of the block and start again on the next block. I have done the top 2 blocks manually in the picture.
Block 1, Row 4 and 5 both have 66.7 so they are both ranked as 3 and row 6 then gets ranked as 5.
Block 2, row 19 and 20 are both top ranked at 66.7 so they both get 1 and row 21 gets 3.
Hoping someone can help with a macro or formula please.
Thank you in advance for having a look.