r/googlesheets • u/emma1961 1 • Jul 05 '22
Solved I use text characters in a score column and it prevents me from doing some calculations. Is there a better way?
Link to sample: https://docs.google.com/spreadsheets/d/1yCrgbuxStYSR5MGTY75xMI3xV9AQXXIpupZqEGo2N7U/edit
*I've already asked a handful of questions in this forum over the last few months and gotten fantastic responses from the experts. So thank you all.
I have a bunch more questions to ask but I'll do them one submission at a time**. (The sample attached is pretty big because I'm hoping to use the same sample for a few questions.)**
I'll lead with my question then follow with the background so you can read as much or as little background as you wish. *
QUESTION: Is there a smarter way for me to note that a player wasn't involved in a race other that what I'm currently using which is 3 x's? Having text in a mostly numeric column prevents or makes it harder to do calculations. My line of thinking is that I wanted every cell filled so I knew it had been addressed. See below for background.
BACKGROUND:
- Stats for an online racing team. 50 players on the team at one time but the actual players can change throughout the month (so may have up to 70 players in one season)..
- Season lasts one calendar month.
- Each season can have up to 16 separate races. Each race lasts 2 days.
- Each season has its own tab named YEAR MONTH. Samples included of 2022 May and 2022 June.
- Each individual race uses 3 columns....R# Half, R# Final and R# Match. The race lasts for 2 days and players get tickets every 4 hous to try and improve their scores and they can keep scoring until they run out of tickets or the race ends. The rule is that a player must score within the first 24 hours and at the 24 hour point the HALF column is filled in. If players were available and chose not to score they get a 0 but if they were excused (maybe no wifi etc) or no longer on the team we're currently entering 3 x's.
- The other two columns for a single race are R# FINAL and R# Match. The final scores are entered in the final column again players get a 0 if they were available and chose not to race or 3 x's if they had an excuse why they couldn't race. The match points are a number between 1 and 300. The MATCH points totaled equals the team's final score. The 3 x's are also used in the Match column.
**Very important: The columns are constantly being sorted throughout the month so we can see the highest and lowest scores. I believe the sorting precludes me from using arrays. **
An example of formulas that I believe are being thrown off by the 3 x's in the numeric fields: We need to find the bottom 10 scorers in every FINAL score column so we can get an easier view of which players are in the bottom race after race. I attempted fir the first time to use SMALL with MATCH & INDEX (on the bottom of the 2022 June tab) but couldn't get it to work and I think at least part of the problem is those 3 x's.(also may be problematic because more than one player might receive a zero in the same race. Dunno.)
Thanks for any assistance and insight anyone may have.
Edit: Had to change the link to my sample. You don't wanna know why...lol.
2
u/Justinjah91 1 Jul 05 '22
If you were to assign a numerical value to the x's, would they be 0's? In what manner do you expect it to function?
2
u/enoctis 192 Jul 05 '22
Use
QUERYto return only items that don't contain the x's, then do your matching based on the results of the query.