BlahQz
New Member
- Joined
- Nov 2, 2024
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi I'm fairly new to Excel so please excuse if my terminology may be wrong. Apologies in advance
What I'm looking for is a macro code that will copy a range of data, basically a top 10, that may vary in size.
In K3:K25 are a list of random names.
In L3:L25 are a list of random numbers that correspond to those names.
In M3:M25 are the rankings based on the numbers in the L range (highest number is rank 1 etc). The data is already sorted by rank.
What I'm looking for is a code that will just look at the full range from K3:M25 then only select and copy just the top 10 ranks as sometimes there may be double or triples of the same rank which would affect the number of rows to be copied. I don't need to paste it anywhere, just selected and copied.
I hope this makes sense, but if not I can supply a visual for it. I appreciate any help I can get on this. Thank you.
What I'm looking for is a macro code that will copy a range of data, basically a top 10, that may vary in size.
In K3:K25 are a list of random names.
In L3:L25 are a list of random numbers that correspond to those names.
In M3:M25 are the rankings based on the numbers in the L range (highest number is rank 1 etc). The data is already sorted by rank.
What I'm looking for is a code that will just look at the full range from K3:M25 then only select and copy just the top 10 ranks as sometimes there may be double or triples of the same rank which would affect the number of rows to be copied. I don't need to paste it anywhere, just selected and copied.
I hope this makes sense, but if not I can supply a visual for it. I appreciate any help I can get on this. Thank you.