+ Reply to Thread
Results 1 to 3 of 3

change a cell with a letter and string of numbers to a word and a string of numbers

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    united staes
    MS-Off Ver
    Excel 2003
    Posts
    5

    change a cell with a letter and string of numbers to a word and a string of numbers

    I am trying to convert all the data in a particular column to "<word> <letter> <numbers>". Some are "<word> <letter>", some are "<letter> <numbers>". Is there a formual that will auto add in these fields to every cell? I have attached a file to demonstrate further what I mean. Thanks in advance! Book1.xls
    Last edited by dlamin130; 08-23-2012 at 04:47 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: change a cell with a letter and string of numbers to a word and a string of numbers

    Select the column and replace "a* " sans quotes with "company a " sans quotes.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: change a cell with a letter and string of numbers to a word and a string of numbers

    How about..

    ="company "&LEFT(A2,1)&" "&RIGHT(A2,LEN(A2)-FIND(" ",A2))
    or
    ="company "&LEFT(A2,1)&" "&LOOKUP(99^99,--("0"&MID(A2,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A2&"0123456789")),ROW($1:$10000))))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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