Formula to get speed rating

gfnut

New Member
Joined
Jan 27, 2023
Messages
9
Office Version
  1. 2013
Platform
  1. Windows
Hi I am new to excel and would to find a formula or function to find a speed rating. I would like to input distance + time and beaten lengths to get rating.

SpeedRatingGrid.xlsx
ABCDEFGHIKLMNOPQRST
1Rating3F4F4.5F5F5.5F6F6.5F7F8F8.3F8.5F9F10F12FLengths into Seconds Table
210031.143.349.255.261.267.4113.5119.3133.2137.2139.4145.7158.3223.9Nose0
399.561.3113.6133.3137.3139.5145.8158.4224Head0
49931.243.449.355.361.467.5113.7119.4133.4137.4139.6145.9158.5224.2Neck0
598.567.6119.5133.5137.5139.7146158.6224.3½0.1
69831.343.549.455.461.567.7113.8119.6133.6137.6139.8146.1158.7224.4¾0.1
797.555.561.6113.9119.7133.7137.7139.9146.2158.8224.510.2
89731.443.649.555.661.767.8114119.8133.8137.8140146.3158.9224.61 ¼0.2
996.567.9114.1119.9133.9137.9140.1146.4159224.71 ½0.3
109643.749.655.761.868114.2120134138140.2146.5159.1224.81 ¾0.3
1195.5134.1138.1140.3146.6159.2224.920.4
129531.543.849.755.861.968.1114.3120.1134.2138.2140.4146.7159.32252 ¼0.4
1394.56268.2114.4120.2134.3138.3140.5146.8159.4225.12 ½0.5
149431.643.949.855.962.168.3114.5120.3134.4138.4140.6146.9159.5225.22 ¾0.5
1593.556114.6120.4134.5138.5140.7147159.6225.330.6
169331.74449.956.162.268.4114.7120.5134.6138.6140.8147.1159.7225.43 ¼0.6
1792.568.5120.6134.7138.7140.9147.2159.8225.53 ½0.7
189244.15056.262.368.6114.8120.7134.8138.8141147.3159.9225.63 ¾0.7
1991.562.4114.9134.9138.9141.1147.4200225.740.8
209131.844.250.156.362.568.7115120.8135139141.2147.5200.1225.84 ¼0.8
2190.568.8120.9135.1139.1141.3147.6200.2225.94 ½0.9
229031.944.350.256.462.668.9115.1121135.2139.2141.4147.7200.32264 ¾0.9
2389.556.562.7115.2121.1135.3139.3141.5147.8200.4226.151
24893244.450.356.662.869115.3121.2135.4139.4141.6147.9200.5226.25 ½1.1
2588.569.1115.4121.3135.5139.5141.7148200.6226.361.2
268844,550.456.762.969.2115.5121.4135.6139.6141.8148.1200.7226.46 ½1.3
2787.5135.7139.7141.9148.2200.8226.571.4
288732.144.650.556.86369.3115.6121.5135.8139.8142148.3200.9226.67 ½1.5
2986.563.169.4115.7121.6135.9140142.1148.4201226.781.6
308632.244.750.656.963.269.5115.8121.7136140.1142.2148.5201.1226.88 ½1.7
3185.557115.9121.8136.1140.2142.3148.6201.2226.991.8
328532.344.850.757.163.369.6116121.9136.2140.3142.4148.7201.32279 ½1.9
3384.569.7122136.3140.4142.5148.8201.4227.1102
348444.950.857.263.469.8116.1122.1136.4140.5142.6148.9201.5227.2112.2
3583.563.5116.2136.5140.6142.7149201.6227.3122.4
368332.44550.957.363.669.9116.3122.2136.6140.7142.8149.1201.7227.4132.6
3782.570122.3136.7140.8142.9149.2201.8227.5142.8
388232.545.15157.463.770.1116.4122.4136.8140.9143149.3201.9227.6153
3981.557.563.8116.5122.5136.9141143.1149.4202227.7163.2
408132.645.251.157.663.970.2116.6122.6137141.1143.2149.5202.1227.8173.4
4180.570.3116.7122.7137.1141.2143.3149.6202.2227.9183.6
428045.351.257.76470.4116.8122.8137.2141.3143.4149.7202.3228193.8
4379.5137.3141.4143.5149.8202.4228.1204
447932.745.451.357.864.170.5116.9122.9137.4141.5143.6149.9202.5228.2255
4578.564.270.6117123137.5141.6143.7150202.6228.3306
Sheet1
 
As far as the "Beaten Lengths" how do you want that incorporated into the function? Is the lookup for that added or subtracted to the rating? Give me the math and I'll see what I can do.
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Thank you
You are welcome! But, are you going to give me the math for the beaten by? Does that calculation (the second xl2bb snippet) work?
 
Last edited:
Upvote 0
Yes. The chart in the xl2bb would be the length they were beaten = the tenths of seconds added to the time.

examble
1 length =.2 added to time and then match rating.
 
Upvote 0
Okay, I think this will do the trick:

Mr Excel Questions.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
1Rating3F4F4.5F5F5.5F6F6.5F7FUnknown8F8.3F8.5F9F10F12FLengths into Seconds Table1
210031.143.349.255.261.267.4113.5119.3133.2137.2139.4145.7158.3223.9Nose0Distance3F
399.561.3113.6133.3137.3139.5145.8158.4224Head0Time31.49
49931.243.449.355.361.467.5113.7119.4133.4137.4139.6145.9158.5224.2Neck0Beaten Lengths9 ½
598.567.6119.5133.5137.5139.7146158.6224.3½0.131
69831.343.549.455.461.567.7113.8119.6133.6137.6139.8146.1158.7224.4¾0.1
797.555.561.6113.9119.7133.7137.7139.9146.2158.8224.510.2Rating:79
89731.443.649.555.661.767.8114119.8133.8137.8140146.3158.9224.61 ¼0.2
996.567.9114.1119.9133.9137.9140.1146.4159224.71 ½0.3
109643.749.655.761.868114.2120134138140.2146.5159.1224.81 ¾0.3
1195.5134.1138.1140.3146.6159.2224.920.4
129531.543.849.755.861.968.1114.3120.1134.2138.2140.4146.7159.32252 ¼0.4
1394.56268.2114.4120.2134.3138.3140.5146.8159.4225.12 ½0.5
149431.643.949.855.962.168.3114.5120.3134.4138.4140.6146.9159.5225.22 ¾0.5
1593.556114.6120.4134.5138.5140.7147159.6225.330.6
169331.74449.956.162.268.4114.7120.5134.6138.6140.8147.1159.7225.43 ¼0.6
1792.568.5120.6134.7138.7140.9147.2159.8225.53 ½0.7
189244.15056.262.368.6114.8120.7134.8138.8141147.3159.9225.63 ¾0.7
1991.562.4114.9134.9138.9141.1147.4200225.740.8
209131.844.250.156.362.568.7115120.8135139141.2147.5200.1225.84 ¼0.8
2190.568.8120.9135.1139.1141.3147.6200.2225.94 ½0.9
229031.944.350.256.462.668.9115.1121135.2139.2141.4147.7200.32264 ¾0.9
2389.556.562.7115.2121.1135.3139.3141.5147.8200.4226.151
24893244.450.356.662.869115.3121.2135.4139.4141.6147.9200.5226.25 ½1.1
2588.569.1115.4121.3135.5139.5141.7148200.6226.361.2
268844.550.456.762.969.2115.5121.4135.6139.6141.8148.1200.7226.46 ½1.3
2787.5135.7139.7141.9148.2200.8226.571.4
288732.144.650.556.86369.3115.6121.5135.8139.8142148.3200.9226.67 ½1.5
2986.563.169.4115.7121.6135.9140142.1148.4201226.781.6
308632.244.750.656.963.269.5115.8121.7136140.1142.2148.5201.1226.88 ½1.7
3185.557115.9121.8136.1140.2142.3148.6201.2226.991.8
328532.344.850.757.163.369.6116121.9136.2140.3142.4148.7201.32279 ½1.9
3384.569.7122136.3140.4142.5148.8201.4227.1102
348444.950.857.263.469.8116.1122.1136.4140.5142.6148.9201.5227.2112.2
3583.563.5116.2136.5140.6142.7149201.6227.3122.4
368332.44550.957.363.669.9116.3122.2136.6140.7142.8149.1201.7227.4132.6
3782.570122.3136.7140.8142.9149.2201.8227.5142.8
388232.545.15157.463.770.1116.4122.4136.8140.9143149.3201.9227.6153
3981.557.563.8116.5122.5136.9141143.1149.4202227.7163.2
408132.645.251.157.663.970.2116.6122.6137141.1143.2149.5202.1227.8173.4
4180.570.3116.7122.7137.1141.2143.3149.6202.2227.9183.6
428045.351.257.76470.4116.8122.8137.2141.3143.4149.7202.3228193.8
4379.5137.3141.4143.5149.8202.4228.1204
447932.745.451.357.864.170.5116.9122.9137.4141.5143.6149.9202.5228.2255
4578.564.270.6117123137.5141.6143.7150202.6228.3306
Rev Lookup Get Row Header
Cell Formulas
RangeFormula
V5V5=MATCH(V4,BeatenLengths,0)
V7V7=INDEX($A$1:$A45,MATCH( V3 + INDEX(S$2:$S$45,MATCH(V4,$R$2:$R$45,0)),INDEX($A$1:$P$45,1,MATCH(V2,$A$1:$P$1,0)): INDEX($A$1:$P45,ROWS($A$1:$A$45),MATCH(V2,$A$1:$P$1,0)),1))
Named Ranges
NameRefers ToCells
BeatenLengths='Rev Lookup Get Row Header'!$R$2:$R$45V7, V5
Distance='Rev Lookup Get Row Header'!$B$1:$P$1V7
Rating='Rev Lookup Get Row Header'!$A$1:$A$45V7
Cells with Data Validation
CellAllowCriteria
V2:W2List=Distance
V4List=BeatenLengths


A couple comments: In your "field data" you need to make sure that you:
1. only have empty cells or numbers. There were one or two text values.
2. The matching functions are set to find the exact or next lowest number, so each column must be in ascending order, which for your purposes makes sense anyway.
3. The Input boxes should not be copied and pasted somewhere else. If you want to place them somewhere elese in the the workbook you should CUT then paste. If you copy the cell references will get messed up.
 
Upvote 0
Solution
Oh I left a named range references in.

These are for
1. The drop down list (Data Validation) which you can change to the cell reference
$B$1:$P$1 for distance​
$R$2:$R$45 for beaten length​

There is a named range for rating, i'm not sure if used it in any calculations but here is the reference:
A$1:$A$45 for rating.

2. Beaten Length is used in a test cell (V5) you can delete that cell as it is not used in any calcuation.
 
Upvote 0
It looks like everything is working. In cell V5 I get #NAME?. Can I get rid of that some how?
 
Upvote 0
It looks like everything is working. In cell V5 I get #NAME?. Can I get rid of that some how?
Yes, You should be able to delete V5 and not have any issues. You can also go into "Name Manager" (From Menu >>Formulas (Defined Names Section)>>Name Manager>> And delete any names that I may have had in the worksheet. It should change the name references in cells to their cell/range address references. If not undo!

If you find that there is a solution in the thread please mark the message number that has been the best solution you.
 
Upvote 0
Yes, You should be able to delete V5 and not have any issues. You can also go into "Name Manager" (From Menu >>Formulas (Defined Names Section)>>Name Manager>> And delete any names that I may have had in the worksheet. It should change the name references in cells to their cell/range address references. If not undo!

If you find that there is a solution in the thread please mark the message number that has been the best solution you.
I just double checked... If you delete the named ranges "Distance" and "Beaten Lengths"you will mess up your data validation. You do not need data validation, but it helps.
To add data validation for distance without a named range.. select the cell that the distance is entered into. From Menu click Data, in the Data Tools sections click Data Validation. A GUI will pop up. In the Allow Box select "LIST", then in the Source Box type the cell range listed above or use the mouse to select the Column Headers that have the distances (the top row of the grid... only distances not the top corner cell) This should be the same range of cells that are seen at the bottom of the worksheet snippet.
Do the same thing for Beaten Lengths except select the column of cells that contain the beaten lengths.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top