One way...I have a spreadsheet that contains names in Column A and a number in Column B. What is the easiest way to determine the maximum number for each name in column A?
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
2 | Name1 | 35 | _ | Name1 | 35 | ||
3 | Name1 | 22 | _ | Name2 | 62 | ||
4 | Name2 | 62 | _ | Name3 | 64 | ||
5 | Name2 | 60 | _ | Name4 | 75 | ||
6 | Name2 | 58 | _ | Name5 | 84 | ||
7 | Name2 | 4 | _ | _ | _ | ||
8 | Name3 | 64 | _ | _ | _ | ||
9 | Name3 | 5 | _ | _ | _ | ||
10 | Name4 | 75 | _ | _ | _ | ||
11 | Name4 | 60 | _ | _ | _ | ||
12 | Name4 | 27 | _ | _ | _ | ||
13 | Name4 | 20 | _ | _ | _ | ||
14 | Name5 | 84 | _ | _ | _ | ||
15 | Name5 | 42 | _ | _ | _ | ||
Sheet1 |
I'm sure that could be done using VBA code but I'm also sure you'd want it done by someone who knows what they're doing! So, that eliminates me!that works fine if I find a unique list of names using a pivot table first. Is there a way to find the unique list of names, find the max value for each name and then sort descending by max value using a VBA code?