JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,691
- Office Version
- 365
- Platform
- Windows
Is there a way to get a set of unique (integer) indices into a list of numbers with no duplicates?
In this minisheet, the Values row has the list of numbers. There are duplicates. There are 2 2's and 3 3's.
The Rank.Eq row has the sorted indices, but there are duplicates. The Rank.Avg has the sorted indices, but there are fractions and duplicates. The Solution row has the indices I would like to get, but I would also be happy with the alternate indces on the next row. Is there a way to get it?
Thanks
In this minisheet, the Values row has the list of numbers. There are duplicates. There are 2 2's and 3 3's.
The Rank.Eq row has the sorted indices, but there are duplicates. The Rank.Avg has the sorted indices, but there are fractions and duplicates. The Solution row has the indices I would like to get, but I would also be happy with the alternate indces on the next row. Is there a way to get it?
Sorting.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | |||
8 | Values | 3 | 6 | 2 | 3 | 1 | 2 | 8 | 3 | ||
9 | Rank.Eq | 3 | 2 | 6 | 3 | 8 | 6 | 1 | 3 | ||
10 | Rank.Avg | 4 | 2 | 6.5 | 4 | 8 | 6.5 | 1 | 4 | ||
11 | Solution | 4 | 7 | 2 | 5 | 1 | 3 | 8 | 6 | ||
12 | /5/6 | /3 | /4/6 | /2 | /4/5 | ||||||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C9:J9 | C9 | =RANK.EQ(Values,Values) |
C10:J10 | C10 | =RANK.AVG(Values,Values) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
Values | =Sheet2!$C$8:$J$8 | C9:J10 |
Thanks