Hi,
I have a feeling this question is already answered a few times, but I probably use the wrong key words for an effective search.
Problem:
I have a worksheet with two columns
ColA ColB
Rep1 10
Rep2 20
Rep2 25
Rep3 55
Rep3 45
Rep4 7
Rep4 8
Rep4 4
Now I want to copy the rows with the maximum value in Column B, given the values in Column A to a new worksheet
Result on new Sheet
ColA ColB
Rep1 10
Rep2 25
Rep3 55
Rep4 8
How can I do this with a VBA macro solution?
Thx for helping me out
Aga
I have a feeling this question is already answered a few times, but I probably use the wrong key words for an effective search.
Problem:
I have a worksheet with two columns
ColA ColB
Rep1 10
Rep2 20
Rep2 25
Rep3 55
Rep3 45
Rep4 7
Rep4 8
Rep4 4
Now I want to copy the rows with the maximum value in Column B, given the values in Column A to a new worksheet
Result on new Sheet
ColA ColB
Rep1 10
Rep2 25
Rep3 55
Rep4 8
How can I do this with a VBA macro solution?
Thx for helping me out
Aga