I have two columns, A & B. I want the top 4 values in column A, then I want to sum their adjacent values in column B. Also, columns need to remain unsorted.
If there are duplicates in column A that make up the top 4, take the one with the highest value in column B.
Example:
A B
1 | 22
4 | 2
5 | 6
2 | 11
3 | 10
4 | 80
Top 4 values from column A: 5,4,3,2. The values it should sum up should be 6+80+10+11.
Tried using helper columns to find the max but don't know how to get it to only pick up the highest duplicate.
EDIT: List is dynamic. Ideally, the engineer can cut and paste their values in columns A & B but will be able to get their total from a single cell.
Bookmarks