you could post a sample file and expected output...
or if i got you right
=if(A1="Cu",1,2)