does the cell change from O to X ok
can we see a spreadsheet attached

you may try using a formula input

Z25 = "O" - red

Z25 = "X" - green

OR