Taking another look at your sample, I notice that the source data is sorted by descending values in column E, which simplifies the formulas needed.
For top 5 of type R (assuming top = highest value).
I2, drag down
H2, drag down
J2, drag right to K2, then down
For bottom 5, I've highlighed the differences so that you can see what to change for the other types.
I13
For the other columns, just copy and paste the cells from the top 5, as long as you are continuing down in the same pattern, the relative ranges will folllow the data as needed.
Bookmarks