Excelerate2004
Programmer
How can I write this in excel?
IF (C2>D2 AND C2>E2 AND C2>F2) Then "A"
ELSEIF (D2>C2 AND D2>E2 AND D2>F2)Then "T"
ELSEIF (E2>C2 AND E2>D2 AND E2>F2) Then "G"
ELSEIF (F2>C2 AND F2>D2 AND F2>E2) Then "C"
END IF
I keep getting caught up on the brackets!!
IF (C2>D2 AND C2>E2 AND C2>F2) Then "A"
ELSEIF (D2>C2 AND D2>E2 AND D2>F2)Then "T"
ELSEIF (E2>C2 AND E2>D2 AND E2>F2) Then "G"
ELSEIF (F2>C2 AND F2>D2 AND F2>E2) Then "C"
END IF
I keep getting caught up on the brackets!!