+ Reply to Thread
Results 1 to 6 of 6

Adding Prefix to Existing List of Names

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    isnorte daere
    MS-Off Ver
    Excel 2010
    Posts
    49

    Adding Prefix to Existing List of Names

    I have a long (1000+) list of town names for a state and am looking for a function that will allow me to add the same line of text (, state name) to each of the towns. I've been playing around with the "concatenate" function but cannot maniuplate the text in the way I want. Any ideas?

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Adding Prefix to Existing List of Names

    More specifically what does your data look like?
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Adding Prefix to Existing List of Names

    try:

    =A2&", Florida"

    copied down.. replacing Florida with actual state... and assumes towns start in A2..
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Adding Prefix to Existing List of Names

    Try =A2&", "&$B$1if in B1 is state name

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Adding Prefix to Existing List of Names

    b1
    Please Login or Register  to view this content.
    Where a1 is state name.

    And drag down below.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Registered User
    Join Date
    06-08-2012
    Location
    isnorte daere
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Adding Prefix to Existing List of Names

    Awesome, the &",state" worked perfectly, very simple, appreciate the help, thank you.

+ 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