Assume that the A values are in column B. Use Format >> Conditional Formatting. When the dialog box comes up, change the default "Cell Value is" to "Formula Is".
Put this formula in for the first condition:
=EVEN(VALUE(RIGHT($B1,LEN($B1)-1)))=VALUE(RIGHT($B1,LEN($B1)-1))
And set the font color to blue.
Add a second condition. Put this formula in for the second condition:
=NOT(EVEN(VALUE(RIGHT($B1,LEN($B1)-1)))=VALUE(RIGHT($B1,LEN($B1)-1)))
And set the font color to red.
If the logic is something other than the last number being even/odd, you would need to work on the logic for that. You need a formula that returns TRUE or FALSE. You can only have up to 3 conditions.
Bookmarks