R
rbvetter
Is there a formula that allows me to define the value of an answer fo
example, A=4, B=3, C=2, D=1, E=0
example, A=4, B=3, C=2, D=1, E=0
Hi
you could use an IF e.g.
=IF(A1="A",4,IF(A1="B",3,IF(A1="C",2,IF(A1="D",1,IF(A1="E",0,"Not
valid")))))
or you could create a table with these values and use a VLOOKUP
assume your table is on sheet2 range A2:B6
set out like
A 4
B 3
etc
then on sheet 1 the formula would be
=VLOOKUP(A1,Sheet2!$A$2:$B$6,2,0)
which says, look up the value in A1, in the table on Sheet2 and return the
associated value from the second column of the table (ie column B) where
there is an exact match.
Hope this helps
Cheers
julieD