+ Reply to Thread
Results 1 to 6 of 6

Converting Numbers to Letters

Hybrid View

  1. #1
    Registered User
    Join Date
    04-12-2012
    Location
    Kariong, NSW
    MS-Off Ver
    Excel 2003
    Posts
    32

    Question Converting Numbers to Letters

    I have a need to convert numbers (phone numbers) to letters and I need some assistance if you can. I use Excel 2010 and have attached a spread sheet with examples.
    Thank in advance
    Steve
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Converting Numbers to Letters

    Enter this formula in B2 and copy down

    Formula: copy to clipboard
    =VLOOKUP(MID(A2,1,1)+0,$D$2:$E$11,2,0)&VLOOKUP(MID(A2,2,1)+0,$D$2:$E$11,2,0)&VLOOKUP(MID(A2,3,1)+0,$D$2:$E$11,2,0)&VLOOKUP(MID(A2,4,1)+0,$D$2:$E$11,2,0)&VLOOKUP(MID(A2,5,1)+0,$D$2:$E$11,2,0)&VLOOKUP(MID(A2,6,1)+0,$D$2:$E$11,2,0)&VLOOKUP(MID(A2,7,1)+0,$D$2:$E$11,2,0)&VLOOKUP(MID(A2,8,1)+0,$D$2:$E$11,2,0)
    Attached Files Attached Files
    Last edited by AlKey; 11-27-2015 at 06:03 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    07-12-2015
    Location
    Almere, Netherlands
    MS-Off Ver
    2013
    Posts
    6

    Re: Converting Numbers to Letters

    try
    =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TEXT(A2;"STANDARD");"0";"A");"1";"B");"2";"C");"3";"D");"4";"E");"5";"F");"6";"G");"7";"H");"8";"I");"9";"J")
    assumes phone number is in A2

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Converting Numbers to Letters

    in real:
    1       1
    ABC	222
    DEF	333
    GHI	444
    JKL	555
    MNO	666
    PQRS	7777
    TU	88
    WXYZ	9999
    0       0
    so this is not true: 12345678 BCDEFGHI
    because:
    BCDEFGHI
    22333444


    e.g.
    01-MON AMI-358
    01-666 264-359
    or
    01-WILD-CAT-852
    01-9453-228-853

    or, in yours way
    Public Function convP2A(sourceRange As Range) As String
        
        Dim TempStr             As String
        Dim cellLength          As Integer
        Dim i                   As Integer
        
        sourceValue = Trim(sourceRange.Value)
        If (sourceValue = vbNullString) Then
            resultString = vbNullString
        Else
            cellLength = Len(sourceValue)
            For i = 1 To cellLength
                Select Case Mid(sourceValue, i, 1)
                    Case 1: TempStr = TempStr + "B"
                    Case 2: TempStr = TempStr + "C"
                    Case 3: TempStr = TempStr + "D"
                    Case 4: TempStr = TempStr + "E"
                    Case 5: TempStr = TempStr + "F"
                    Case 6: TempStr = TempStr + "G"
                    Case 7: TempStr = TempStr + "H"
                    Case 8: TempStr = TempStr + "I"
                    Case 9: TempStr = TempStr + "J"
                    Case 0: TempStr = TempStr + "A"
                End Select
            Next i
        End If
        convP2A = TempStr
    End Function
    usage: =convP2A(A1)
    A1 or whatever....
    Last edited by sandy666; 11-27-2015 at 07:05 PM.

  5. #5
    Registered User
    Join Date
    04-12-2012
    Location
    Kariong, NSW
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Converting Numbers to Letters

    Thank for the support all. These work for me.
    Steve

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Converting Numbers to Letters

    you are welcome thanks for rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. converting letters to numbers
    By pearc in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 02-13-2014, 12:34 PM
  2. Converting letters to numbers
    By Teacher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 03:11 PM
  3. converting letters to numbers
    By mastertechs in forum Excel General
    Replies: 3
    Last Post: 05-09-2013, 01:55 AM
  4. converting numbers to letters?
    By SIFT-MS88 in forum Excel General
    Replies: 1
    Last Post: 06-17-2010, 11:33 AM
  5. Excel 2007 : Converting Letters to Numbers
    By Kris_Ngo in forum Excel General
    Replies: 8
    Last Post: 02-23-2010, 10:39 PM
  6. Converting letters to numbers (N and Y to 0 and 1)
    By JenGraf in forum Excel General
    Replies: 3
    Last Post: 08-21-2008, 11:22 AM
  7. Converting numbers to letters
    By jolumbo in forum Excel General
    Replies: 3
    Last Post: 12-05-2006, 11:34 AM
  8. converting letters to numbers
    By trav in forum Excel General
    Replies: 9
    Last Post: 02-20-2006, 06:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1