Open Office Calc (Ersatz Excel) formula

  • Thread starter Thread starter DaveC426913
  • Start date Start date
  • Tags Tags
    Excel Formula
AI Thread Summary
The discussion centers around creating a column to display the standings of teams, particularly when there are ties in rankings. The initial thought was to use a complex text array to manage rankings, but this approach seemed overly complicated. A simple descending sort was deemed insufficient due to the presence of duplicate rankings, such as two teams tied for second place. The conversation shifted to the realization that there is a built-in statistical function called "rank" that can effectively handle this situation, allowing for the calculation of standings while accounting for ties. Participants acknowledged the utility of implicit rankings, which are intuitive for readers, and recognized the need to move away from maintaining the original order of teams to allow for clearer visualizations of standings. Overall, the discussion highlighted the importance of using the right tools to simplify the ranking process while ensuring clarity in presentation.
DaveC426913
Gold Member
Messages
23,838
Reaction score
7,833
TL;DR Summary
I want a column in my score chart that displays ... "standings"
I want a column that displays what standing each team has. (I can't really Google a solution because I don't even know what to call it.)

This the idea:
- team 1 is "1st",
- teams 3 and 10 are "2nd",
- team 5 is 3rd,
etc.:

1646952264124.png


I can't think of a way of doing it that isn't very complex, involving some sort of text array ("1st", "2nd", etc.) where the top one gets knocked off each time it's used.

A simple sort descending won't work since there's duplicates (3 and 10 are tied for 2nd).
Also, I'd like to make it future-proof - meaning I can't count on the number of teams always being 10.

Maybe I can simplify it by only calculating up to 4th, but Still...
 
Technology news on Phys.org
I must be misunderstanding. Why can't you just sort the array according to column AI ?
 
  • Informative
Likes DaveC426913
hutchphd said:
I must be misunderstanding. Why can't you just sort the array according to column AI ?
1646955141009.png
 
That ... was not what I was expecting.

I can't think of any excuses that don't sound stupid when they emerge from my face.
 
  • Haha
Likes Tom.G, hutchphd and anorlunda
DaveC426913 said:
I want a column that displays what standing each team has.
It looks like there's a statistical function, "rank", that does this.
 
  • Like
Likes DaveC426913
PeterDonis said:
It looks like there's a statistical function, "rank", that does this.
That's exactly what I needed. I never occurred to me it might be built in.

But I think I may go with hutch's solution. It's actually the righter thing to do.
 
DaveC426913 said:
That ... was not what I was expecting.

I can't think of any excuses that don't sound stupid when they emerge from my face.
Don't feel bad. It happens to all of us from time to time.
 
  • Like
Likes hutchphd
DaveC426913 said:
I think I may go with hutch's solution. It's actually the righter thing to do.
If all you want is to have the data sorted by rank, yes.

If you actually want the numeric rank explicitly, just sorting the array doesn't tell you that by itself. You still have to detect ties.
 
  • Like
Likes hutchphd
PeterDonis said:
If all you want is to have the data sorted by rank, yes.

If you actually want the numeric rank explicitly, just sorting the array doesn't tell you that by itself. You still have to detect ties.
Yeah, I'm OK with implicit rank. It's pretty intuitive to readers. People are used to scanning a list of ranking still they find their own.

I was just stuck with the presupposition of keeping the teams in their original order, blinding me to more elegant visualizations.
 
Back
Top