I'm trying to have a table where if you enter a letter in one cell it will give a number in a different cell. So if A1=A then B2=1, if A1=B then B2=2. I've written a formula in colum B something like this:
=If(A1="A",1,(if(A1="b",2,if(A1="c" etc......
I have about 20-40 different codes to go...