Excelerate2004
Programmer
Is it possible to nest the following IF's in an excel function or would i be easier to do this in VBA?
I'd like to be able to copy the code in nested format throughout a worksheet so that it automatically assigns the values.
Thanks for any help I can get.
Code:
IF C2 = "C" Then
C3 = "C" AND C4 = "C"
ELSEIF C2 = "CT" Then
C3 = "C" AND C4 = "T"
ELSEIF C2 = "T" Then
C3 = "T" AND C4 = "T"
ELSEIF C2 = " " Then
C3 = "?" AND C4 = "?"
I'd like to be able to copy the code in nested format throughout a worksheet so that it automatically assigns the values.
Thanks for any help I can get.