I have one cell on the left, let's say B2, which can hold any of 23 different symbols -- let's say "A" or "B" or "C" etc., all the way through "W." Then, I have one cell on the right, let's say C2, which I'd like to be a numerical value, based on the symbol that is entered into B2.
So, let's say "A" in B2 should create a value of "1" in C2; "B" in B2 should create a value of "2" in "C2", etc.
How do I do this?
I've tried =IF(B2="A",1,IF(B2="B",2,IF(B2="C",3,etc.))), but the IF function only allows 7 alternatives, and I need 23.
Any ideas?
Thanks in advance!
Bookmarks