[Dropped] Give #1,2,3,4,5 values 5,4,3,2,1 (sport analysis)

Discuss the spreadsheet application
Post Reply
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

[Dropped] Give #1,2,3,4,5 values 5,4,3,2,1 (sport analysis)

Post by captain73 »

First post:

I have to say, I'm not a techy by any stretch, and I've done my head in watching videos on YouTube :knock: :crazy:

Q: I'm arranging a point system based on results (I'm using this in sports analysis), in particular;

1st place = 6 point
2nd = 5
3rd = 4
4th = 3
5th = 2
6th = 1


How do I go about this?
Last edited by MrProgrammer on Sat Dec 11, 2021 6:04 pm, edited 1 time in total.
Reason: Dropped: No response to Keme's response for additional information
OpenOffice 4.1.7 on Windows 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by Villeroy »

If this is about ranking:
=RANK(A1 ; $A$1:$A$6 ; 0)
with points in A1:A6
Copy down the forumula
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Thank you for taking the time to answer, but I'm still, totally, lost. I tried Vlookup, but couldn't get it to work ... i'm trying rank, but again, when it comes to this stuff, i'm not tech savvy. Is there a YouTube video that you would recommend?
OpenOffice 4.1.7 on Windows 10
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Villeroy wrote:If this is about ranking:
=RANK(A1 ; $A$1:$A$6 ; 0)
with points in A1:A6
Copy down the forumula
Been watching video's, and tried you're formula ... all i'#m getting is a 508 Error :knock:
OpenOffice 4.1.7 on Windows 10
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Scrap last … i've got it. :bravo: :super:

Thanks again to the both of you
OpenOffice 4.1.7 on Windows 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by Villeroy »

You can't learn any concepts from Youtube or just "by doing". Some things need to be learned from books/scripts/teachers.


Been watching video's, and tried you're formula ... all i'#m getting is a 508 Error :knock:
You made a typo.
Copy my formula.
Paste it to any cell outside of A1:A6, say B1.
Enter arbitrary numbers in A1:A6.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
Lupp
Volunteer
Posts: 3553
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by Lupp »

Some years ago I tried to learn a bit from YouTube videos (in a different matter). It was just wasting time. Never again.

You may check the attached example.
If you think you aren't "techy" enough to understand them based on what you could learn from the tutorial you were already pointed to (and the 10-concets-tutorial), from help texts, and from the Function Assistant, you should consider to not use spreadsheets.
I would judge however, you didn't try hard enough.
Attachments
aoo518477RanksToPopints.ods
(15.19 KiB) Downloaded 226 times
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Rank isn't working how I hoped it would. I wonder if the IF formula … would be a better route.

If, for example, I was looking at horse racing (which I'm not) and I wanted to give a point score for each race where the horse came within the top 5 … would IF be a better way to do it?
OpenOffice 4.1.7 on Windows 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by Villeroy »

Even IF the term "IF" sounds familiar to you, IF is the wrong (extremely clumsy) solution to almost anything.
Rank isn't working how I hoped it would.
You still fail to describe your problem.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Villeroy wrote:Even IF the term "IF" sounds familiar to you, IF is the wrong (extremely clumsy) solution to almost anything.
Rank isn't working how I hoped it would.
You still fail to describe your problem.

All I'm trying to do is give the winning position a point score.

The problem with =Rank, is that it's not a way to give the position a point score.

So for example, form of the horse Spotty Dog @ 3.05 at Ludow. The horse last race results. https://www.racingpost.com/profile/hors ... y-dog/form

https://www.racingpost.com/racecards/34 ... 22/796945/

8th
8th
2nd
5th
- Break of over so many days
U - unseated / fell off



All I want to do, and are interested in is whether the horse came within the top 5, and if so, to give that result a point score


1st = 5 points
2 = 4
3 = 3
4 = 2
5 = 1

Of course, i'm not interested if the horse came 8th, I'm only interested if the horse came within the top 5, then it gains the appropriate score. =Rank … doesn't give such a point score, or at least, not the point score i'm needing … if you catch my drift.

BTW, this is not about horse racing!
OpenOffice 4.1.7 on Windows 10
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Forth coming race

Horse - Liberated Lady - https://www.racingpost.com/racecards/10 ... 22/797151/

Result from the past 6 races
5th
3rd
3rd
6th
6th
2nd


I would hope that I could give the point score as follows

5 = 1
3 = 3
3 = 3
6 = 0 - 'cause it falls outside the point score system
6 = 0
2 = 4
OpenOffice 4.1.7 on Windows 10
User avatar
Lupp
Volunteer
Posts: 3553
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by Lupp »

You need to give me a clearly specified (or unmistakably exemplified) format of how the results you want to work with are represented IN A SPREADSHEET. Then I may be able to interpret your additional remarks in a way that I can suggest a solution. Complaining that RANK() doesn't work without telling exactly in what way you tried to use it, wont' help.

Fill some examples into a sheet, create manually the results you expect, store the sheet, and attach it.
That's how it works. I surely won't start with a web site to answer a question about ranking and assigning points in a spreadsheet.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Here goes 8-) 8-) 8-) 8-) 8-) 8-) 8-)
Attachments
point score system.ods
(9.39 KiB) Downloaded 223 times
OpenOffice 4.1.7 on Windows 10
User avatar
Lupp
Volunteer
Posts: 3553
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by Lupp »

I'm out.
This doesn't lead anywhere. The attached sheet doesn't contain anything new as compared to the original question.
It seems inconsistent in addition with what was posted meanwhile by the questioner.
How to return one of 6 possible values for one of 6 strings using a little lookup table was already demonstrated in my attachment. In addition it contained simpler ways usable if the original rank is given as a number (in place of a string) or first converted to a number.

Hope somebody else does understand better.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
captain73
Posts: 9
Joined: Mon Nov 22, 2021 2:55 pm

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by captain73 »

Lupp wrote:I'm out.
This doesn't lead anywhere. The attached sheet doesn't contain anything new as compared to the original question.
It seems inconsistent in addition with what was posted meanwhile by the questioner.
How to return one of 6 possible values for one of 6 strings using a little lookup table was already demonstrated in my attachment. In addition it contained simpler ways usable if the original rank is given as a number (in place of a string) or first converted to a number.

Hope somebody else does understand better.

I thought you would be, as at best, all you've done so far is to throw insults ..


Take care sweetheart!
OpenOffice 4.1.7 on Windows 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by Villeroy »

point score system2.ods
(11.43 KiB) Downloaded 207 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
keme
Volunteer
Posts: 3704
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Giving #1,2,3,4,5 the value of 5,4,3,2,1 (sport analysis

Post by keme »

You have explained your scoring system in sufficient detail. What is missing is input and output.

Input: How do you have the final outcome(s) recorded in your spreadsheet? Do you simply type in the names of top 6 (or was it top 5) in a designated range somewhere, enter the numbers for those top 6 in a prepared list of participants, or do you have a full result list from which you need to extract the top results?

Output: How do you want the top 6 to appear in your spreadsheet? Extracted to a separate range, tagged/scored within an existing list, or some other way?

Your sample spreadsheet also contains only the scoring system. Villeroy and Lupp made guesses at what the end result might look like, but if their suggestions are not what you are after, you need to show and tell:
Please add illustrating input and output sections to your sample file, to show what you are trying to achieve.
Explanations are welcome. What is obvious to you is not always obvious to your audience (us).
Post Reply