conditional formatting is on the formatting ribbon. A quick Youtube search will pull up some examples. The other thing you will want to know is how to write an if statement. They are fairly simple.
Code:
=if(a1=2,True,False)
if the value of cell a1 is equal to 2 then this statement would be true and then your conditional formatting would apply.