Is there a pattern to the way these are "entered elsewhere". If so then conditional formatting should work.
e.g. if you want to change the colour of A1 if the same number is entered in A31 then in the Formula Is box you would enter
If the situation is more complicated than that then you might have to use a LOOKUP formula in the Formula Is box.