Show the correct Value

The first thing to do is to read the value on A6 once into a variable then use that in the comparisons if you must do them at all. What is the purpose of them ?

Next use strings instead of Strings.