This didn't work on my sheet Markmzz
What you got?
Could you post the formula that you used?
Markmzz
=if(f2="","",if(f2=0,10,if(f2<=5,9,if(f2<=10,8,if(f2<=15,7,if(f2<=20,6,if(f2<=25,5,if(f2<=30,4,if(f2<=35,3,if(f2<=40,2,if(f2<=50,1,if(f2<=1500,0,""))))))))))))
I also used in the rating side in Column B:
=IF(A3<>"",IF(ISNUMBER(A1),A2&" to "&A3,A2),A2&"+")
Sorry, but I'm talking about my formula of the post #7. Here it worked with your layout of post #1 and #5. Look at this:
Post #1 layout
[TABLE="width: 188"]
<colgroup><col width="37" style="width: 28pt; mso-width-source: userset; mso-width-alt: 1353;" span="2"> <col width="17" style="width: 13pt; mso-width-source: userset; mso-width-alt: 621;" span="3"> <col width="72" style="width: 54pt; mso-width-source: userset; mso-width-alt: 2633;"> <col width="52" style="width: 39pt; mso-width-source: userset; mso-width-alt: 1901;"> <tbody>[TR]
[TD="class: xl63, width: 37, bgcolor: transparent"]
Score[/TD]
[TD="class: xl63, width: 37, bgcolor: transparent"]
Rating[/TD]
[TD="class: xl63, width: 17, bgcolor: transparent"] [/TD]
[TD="class: xl63, width: 17, bgcolor: transparent"] [/TD]
[TD="class: xl63, width: 17, bgcolor: transparent"] [/TD]
[TD="class: xl63, width: 72, bgcolor: transparent"]
Original Score[/TD]
[TD="class: xl63, width: 52, bgcolor: transparent"]
Rating[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
0[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
10[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
26[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
4[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]
1-5[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
9[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
18[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
6[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]
6-10[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
8[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: yellow"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]
11-15[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
7[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
51[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
0[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
16-20[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
6[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
35[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
3[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
21-25[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
5[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
39[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
2[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
26-30[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
4[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
50[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
1[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
31-35[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
3[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
0[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
10[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
36-40[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
2[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
3[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
9[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
41-50[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
1[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
8[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
8[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
51+[/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
0[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent, align: right"]
12[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
7[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
******[/TD]
[TD="class: xl63, bgcolor: transparent"]
******[/TD]
[TD="class: xl63, bgcolor: transparent"]
**[/TD]
[TD="class: xl63, bgcolor: transparent"]
**[/TD]
[TD="class: xl63, bgcolor: transparent"]
**[/TD]
[TD="class: xl63, bgcolor: transparent"]
*************[/TD]
[TD="class: xl63, bgcolor: transparent"]
*********[/TD]
[/TR]
</tbody>[/TABLE]
Formula for post #1 layout
Code:
G2-> =IF(F2="","",LOOKUP(F2,--LEFT(SUBSTITUTE($A$2:$A$12,"-"," "),2),$B$2:$B$12))
Post #5 layout
[TABLE="width: 248"]
<colgroup><col width="42" style="width: 32pt; mso-width-source: userset; mso-width-alt: 1536;"> <col width="45" style="width: 34pt; mso-width-source: userset; mso-width-alt: 1645;"> <col width="37" style="width: 28pt; mso-width-source: userset; mso-width-alt: 1353;"> <col width="106" style="width: 80pt; mso-width-source: userset; mso-width-alt: 3876;"> <col width="17" style="width: 13pt; mso-width-source: userset; mso-width-alt: 621;"> <col width="44" style="width: 33pt; mso-width-source: userset; mso-width-alt: 1609;"> <col width="37" style="width: 28pt; mso-width-source: userset; mso-width-alt: 1353;"> <tbody>[TR]
[TD="class: xl67, width: 42, bgcolor: transparent"]
Original Score[/TD]
[TD="class: xl67, width: 45, bgcolor: transparent"]
CoPTTM Score[/TD]
[TD="class: xl67, width: 37, bgcolor: transparent"]
Rating[/TD]
[TD="class: xl67, width: 106, bgcolor: transparent"]
CoPTTM Site Condition Rating[/TD]
[TD="class: xl67, width: 17, bgcolor: transparent"] [/TD]
[TD="class: xl67, width: 44, bgcolor: transparent"]
CoPTTM Score[/TD]
[TD="class: xl67, width: 37, bgcolor: transparent"]
Rating[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
0[/TD]
[TD="class: xl65, bgcolor: transparent"]
0[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
10[/TD]
[TD="class: xl65, bgcolor: transparent"]
High[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
26[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
4[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
1[/TD]
[TD="class: xl65, bgcolor: transparent"]
1 to 6[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
9[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
18[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
6[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
6[/TD]
[TD="class: xl65, bgcolor: transparent"]
6 to 11[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
8[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl66, bgcolor: yellow"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
11[/TD]
[TD="class: xl65, bgcolor: transparent"]
11 to 16[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
7[/TD]
[TD="class: xl65, bgcolor: transparent"]
Acceptable[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
51[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
0[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
16[/TD]
[TD="class: xl65, bgcolor: transparent"]
16 to 21[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
6[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
35[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
3[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
21[/TD]
[TD="class: xl65, bgcolor: transparent"]
21 to 26[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
5[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
39[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
2[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
26[/TD]
[TD="class: xl65, bgcolor: transparent"]
26 to 31[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
4[/TD]
[TD="class: xl65, bgcolor: transparent"]
Needs Improvement[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
50[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
1[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
31[/TD]
[TD="class: xl65, bgcolor: transparent"]
31 to 36[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
3[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
0[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
10[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
36[/TD]
[TD="class: xl65, bgcolor: transparent"]
36 to 41[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
2[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
3[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
9[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
41[/TD]
[TD="class: xl65, bgcolor: transparent"]
41 to 51[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
1[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
8[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
8[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent, align: right"]
51[/TD]
[TD="class: xl65, bgcolor: transparent"]
51+[/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
0[/TD]
[TD="class: xl65, bgcolor: transparent"]
Dangerous[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent, align: right"]
12[/TD]
[TD="class: xl66, bgcolor: yellow, align: right"]
7[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]
*******[/TD]
[TD="class: xl65, bgcolor: transparent"]
*******[/TD]
[TD="class: xl65, bgcolor: transparent"]
******[/TD]
[TD="class: xl65, bgcolor: transparent"]
***************************[/TD]
[TD="class: xl65, bgcolor: transparent"]
**[/TD]
[TD="class: xl65, bgcolor: transparent"]
*************[/TD]
[TD="class: xl65, bgcolor: transparent"]
******[/TD]
[/TR]
</tbody>[/TABLE]
Formula for post #5 layout
Code:
G2-> =IF(F2="","",LOOKUP(F2,--LEFT(SUBSTITUTE($B$2:$B$12,"-"," "),2),$C$2:$C$12))
Markmzz