+ Reply to Thread
Results 1 to 11 of 11

To convert numbers to alphbets

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Question To convert numbers to alphbets

    Hi,
    I am looking for VB code to convert numbers to alphabets.
    I have in column A combination of numbers and alphabets ( e.g. 12H3T56)
    I want column B to automatically convert only numbers to alphabets ignoring ant alphabets in it ( 12356) as it has ignored HT.
    Is it possible
    Many thanks

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: To convert numbers to alphbets

    Maybe UDF

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: To convert numbers to alphbets

    Hi,
    Thanks a lot . This works great to extract the numbers .
    Secondly now if I want to relate this number to a name in column C ( e.g. 12356 = Albert). How do I do that?
    Regards

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: To convert numbers to alphbets

    Not quiet sure I understand your question #2

  5. #5
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: To convert numbers to alphbets

    Hi
    If I allocate a particular person a number say in this case 12356=Albert, I want e.g. 'Albert' appear in column C when Column B has 12356.

    Kind regards

  6. #6
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: To convert numbers to alphbets

    Use vlookup or Match/Index function.

  7. #7
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: To convert numbers to alphbets

    Hi
    Is there a VB code for this ... I dont know how it can be done
    Regards

  8. #8
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: To convert numbers to alphbets

    Why do you want use VBA it can be done with a simple formula? Plus, it is hard to modify if you use VBA to replace formula in this case.

  9. #9
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: To convert numbers to alphbets

    OK Sir...
    What will be the formula...
    Sorry basic question

  10. #10
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: To convert numbers to alphbets

    =Vlookup(12356, table reference, 2, 0)

  11. #11
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: To convert numbers to alphbets

    Thanks.
    That is Great.
    It will solve my issue.

    Sometimes the answer lies in simple solutions than looking for complex ones.
    Thanks again
    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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