In cell A1 I have the either Letter a, b or c.
I would like to give them a numerical value of 1, 2 and 3 in the
adjacent cell.
Can someone post or point me to the formula?
Thanks
Pete_UK - 11 Apr 2008 17:26 GMT
Try this:
=CODE(LOWER(A1))-96
Then copy down.
Hope this helps.
Pete
> In cell A1 I have the either Letter a, b or c.
> I would like to give them a numerical value of 1, 2 and 3 in the
> adjacent cell.
> Can someone post or point me to the formula?
> Thanks
JE McGimpsey - 11 Apr 2008 17:36 GMT
One way:
= CODE(UPPER(A1)) - 64
another:
=MATCH(A1,{"a","b","c"})
In article
<f7598ee6-86a3-4ed4-b190-74c3f7205181@m44g2000hsc.googlegroups.com>,
> In cell A1 I have the either Letter a, b or c.
> I would like to give them a numerical value of 1, 2 and 3 in the
> adjacent cell.
> Can someone post or point me to the formula?
> Thanks
Larry - 11 Apr 2008 17:42 GMT