if(ThermResist >= Table[2][1] && ThermResist <= Table[0][1] )
if(ThermResist >= Table[4][1] && ThermResist <= Table[3][1] )
if(ThermResist >= Table[6][1] && ThermResist <= Table[5][1] )
if(ThermResist >= Table[9][1] && ThermResist <= Table[7][1] )
Do you not see a problem with the 1st index in these statements?
The first statement should be comparing ThermResist to Table[1][1] and Table[0][1].
The next one should be, using your incorrect logic, comparing it to Table[3][1] and Table[2][1].
But, what happens if the value is between Table[2][1] and Table[1][1]?
The portion of the table to check, using just ONE if statement is Table[i+1][1] and Table[ i ][1].
Why is the code to check the row inside a loop to check by column? Nothing depends on row. You only need one for loop, for the rows.