PC Review


Reply
Thread Tools Rate Thread

How to convert numbers to corresponding letters? Ex: 123 to abc

 
 
=?Utf-8?B?anBsYXpvbGE=?=
Guest
Posts: n/a
 
      28th Jun 2005
I am trying to find a formula that will convert existing number combinations
into corresponding letter combinations in Excel. The relationship of numbers
to letters is as follows:
1 = A 6 = F
2 = B 7 = G
3 = C 8 = H
4 = D 9 = I
5 = E 0 = J

For example, I'd like to convert a cell that contains '1250' to 'ABEJ'

I've had no success with the HELP feature in Excel.

Thank you for any help you may provide
Jason
(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Ron Rosenfeld
Guest
Posts: n/a
 
      28th Jun 2005
On Tue, 28 Jun 2005 13:35:02 -0700, "jplazola"
<(E-Mail Removed)> wrote:

>I am trying to find a formula that will convert existing number combinations
>into corresponding letter combinations in Excel. The relationship of numbers
>to letters is as follows:
>1 = A 6 = F
>2 = B 7 = G
>3 = C 8 = H
>4 = D 9 = I
>5 = E 0 = J
>
>For example, I'd like to convert a cell that contains '1250' to 'ABEJ'
>
>I've had no success with the HELP feature in Excel.
>
>Thank you for any help you may provide
>Jason
>(E-Mail Removed)


The problem is concatenating the resultant array of letters. One solution to
that problem is to go to http://xcell05.free.fr/english/.

and download and install Longre's free morefunc.xll add-in.

Then use the MCONCAT function in this *array* formula:

=MCONCAT(CHOOSE(1+MID(A1,ROW(INDIRECT(
"1:"&LEN(A1))),1),"J","A","B","C","D","E","F","G","H","I"))

To enter an array formula, after typing or pasting it in, hold down
<ctrl><shift> while hitting <enter>. Excel will place braces {...} around the
formula.


--ron
 
Reply With Quote
 
=?Utf-8?B?RWRkaWUgTw==?=
Guest
Posts: n/a
 
      28th Jun 2005
try playing with the CODE and CHAR functions.

Eddie O

"jplazola" wrote:

> I am trying to find a formula that will convert existing number combinations
> into corresponding letter combinations in Excel. The relationship of numbers
> to letters is as follows:
> 1 = A 6 = F
> 2 = B 7 = G
> 3 = C 8 = H
> 4 = D 9 = I
> 5 = E 0 = J
>
> For example, I'd like to convert a cell that contains '1250' to 'ABEJ'
>
> I've had no success with the HELP feature in Excel.
>
> Thank you for any help you may provide
> Jason
> (E-Mail Removed)

 
Reply With Quote
 
=?Utf-8?B?Ymo=?=
Guest
Posts: n/a
 
      28th Jun 2005
fist make a table with your conversion data
then if all of the number cominations are 4 long

=vlookup(value(mid(number,1,1)),
table,2)&vlookup(value(mid(number,2,1)),table,2)&vlookup(value(mid(number,3,1)),table,2)&vlookup(value(mid(number,4,1)),table,2)
if you have varying length of number combinations you can make if more
complex by adding if(len() levels
"jplazola" wrote:

> I am trying to find a formula that will convert existing number combinations
> into corresponding letter combinations in Excel. The relationship of numbers
> to letters is as follows:
> 1 = A 6 = F
> 2 = B 7 = G
> 3 = C 8 = H
> 4 = D 9 = I
> 5 = E 0 = J
>
> For example, I'd like to convert a cell that contains '1250' to 'ABEJ'
>
> I've had no success with the HELP feature in Excel.
>
> Thank you for any help you may provide
> Jason
> (E-Mail Removed)

 
Reply With Quote
 
=?Utf-8?B?RnJlZA==?=
Guest
Posts: n/a
 
      29th Jun 2005
Try this
=IF(INT(A1/1000)=0,"J",CHAR(INT(A1/1000)+64))&IF(INT(MOD(A1,1000)/100)=0,"J",CHAR(INT(MOD(A1,1000)/100)+64))&IF(INT(MOD(A1,100)/10)=0,"J",CHAR(INT(MOD(A1,100)/10)+64))&IF(MOD(A1,10)=0,"J",CHAR(MOD(A1,10)+64))

Only works for 4 digit numbers

HTH

"jplazola" wrote:

> I am trying to find a formula that will convert existing number combinations
> into corresponding letter combinations in Excel. The relationship of numbers
> to letters is as follows:
> 1 = A 6 = F
> 2 = B 7 = G
> 3 = C 8 = H
> 4 = D 9 = I
> 5 = E 0 = J
>
> For example, I'd like to convert a cell that contains '1250' to 'ABEJ'
>
> I've had no success with the HELP feature in Excel.
>
> Thank you for any help you may provide
> Jason
> (E-Mail Removed)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert letters to numbers JT Microsoft Excel Programming 3 3rd Jun 2010 06:00 PM
Convert numbers to letters in excel alias Microsoft Excel Worksheet Functions 1 25th Mar 2009 01:02 PM
Convert Letters to Numbers? DS Microsoft Excel Programming 8 21st Oct 2008 04:57 PM
convert letters to numbers g75 Microsoft Excel Charting 9 3rd Feb 2006 04:33 PM
How to convert numbers to letters =?Utf-8?B?Q2xhdWRpbyBNaWxsYXBlbA==?= Microsoft Excel Misc 1 23rd May 2004 09:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:09 AM.