Mindless gibberish of a tired mind
Thursday, September 30, 2004
 
Excel Madness
See if anyone can work this out as it has my tiny brain stumped.

In cell A I want to put a number (1-13)
And in cell B I want to return a value (A-L)

So in cell A I put 1
And in cell B I get A
Simple.

This is a standard formula (=IF(A1=1, "A"))
But I want to return multiple answers for multiple values i.e.

If I put into cell A the number 2
I want to get in cell B the letter B.
3-C, 4-D etc
And I want to keep it as one formula taking up one cell as I need to repeat it over and over.

To me the answer should be =IF(A1=1,"A")(A1=2,"B")etc. Or something similar but that doesn't work and my head now hurts from trying to get any sense from Microsoft help files (I know why did I bother).

I know there is a way to do it but I can't find it and I don't have time to spend trawling forums.

So 200 Points to the first person who can give me a formula that works.
Cheers.


Powered by Blogger Weblog Commenting by HaloScan.com Site Meter In Association with Amazon.co.uk