JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,653
- Office Version
- 365
- Platform
- Windows
Is there a way to calculate the change in rankings (+/-) in two lists that are sorted by that ranking? That is, the ranked entities are not in the same order in both lists, so I cannot compare one entity with the entity in the same row in the other list.
These are the top ten NFL teams as ranked by one odds-making website. I calculated the values in the +/- column by hand. I'd like to find a way to do it automatically.
<tbody>
</tbody>
I was able to get it done with a multi-step procedure:
This works, but it's a little tedious. Is there a way I can do it on the lists without resorting?
These are the top ten NFL teams as ranked by one odds-making website. I calculated the values in the +/- column by hand. I'd like to find a way to do it automatically.
Rank | Team | Start of Season | Rank | +/- | Team | Week 1 | ||
#1 | Denver Broncos | 6/1 | 16.67% | #1 | n/c | Seattle Seahawks | 4/1 | 25.00% |
#1 | Seattle Seahawks | 6/1 | 16.67% | #2 | n/c | Denver Broncos | 11/2 | 18.18% |
#3 | New England Patriots | 8/1 | 12.50% | #3 | n/c | New England Patriots | 10/1 | 10.00% |
#4 | Green Bay Packers | 11/1 | 9.09% | #4 | n/c | New Orleans Saints | 12/1 | 8.33% |
#4 | New Orleans Saints | 11/1 | 9.09% | #4 | +2 | San Francisco 49ers | 12/1 | 8.33% |
#6 | San Francisco 49ers | 12/1 | 8.33% | #6 | -2 | Green Bay Packers | 15/1 | 6.67% |
#7 | Philadelphia Eagles | 20/1 | 5.00% | #7 | n/c | Philadelphia Eagles | 20/1 | 5.00% |
#8 | Chicago Bears | 26/1 | 3.85% | #8 | +3 | Cincinnati Bengals | 25/1 | 4.00% |
#9 | Indianapolis Colts | 28/1 | 3.57% | #8 | +1 | Pittsburgh Steelers | 25/1 | 4.00% |
#9 | Pittsburgh Steelers | 28/1 | 3.57% | #10 | -1 | Indianapolis Colts | 30/1 | 3.33% |
<tbody>
</tbody>
I was able to get it done with a multi-step procedure:
- Sort both lists by team name.
- Calculate the change now that the teams are on the same row.
- Convert the results to text.
- Resort both lists by rank.
This works, but it's a little tedious. Is there a way I can do it on the lists without resorting?