I'm working on my math stuff and i'm struggling with functions. So there are 4 'A', 4'B' and up to J. Out of 40 letters, computer randomly picks up two letters without replacement like A1 and B4 when the order is important. Then here is my real question. I need to convert those letters into assigned numbers such as A-0, B-1, C-2 and D-3. I tried to use IF(ISNUMBER("",0) function but i can't use more than 2 IF functions which means that i can only make function for A and B. How can i do it?