+ Reply to Thread
Results 1 to 7 of 7

Way of Inserting duplicate characters into a column list

  1. #1
    Registered User
    Join Date
    01-07-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Way of Inserting duplicate characters into a column list

    Hi, i am really sorry with the bad title as unfortunatley i do not know how to explain it exactly. I am making a .csv file in excel for my website. I have downloaded the file from the maufacturer and it has a column named for images, but it only gives the image name so for example "bike123," "bike443," is there a way to add to every cell "bike123.jpeg", "bike443.jpeg" To be honest im not even sure this can be done in excel ? If there is another way it can be done i would be so grateful as it would save so much time. Thanks very much.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485

    Re: Way of Inserting duplicate characters into a column list

    If A1 has Bike123 then in B1 use

    =a1 & ".jpeg"

    Then drag the formula down.

  3. #3
    Registered User
    Join Date
    06-28-2007
    Posts
    69

    Re: Way of Inserting duplicate characters into a column list

    I believe this is what you are trying to do. Assuming that your image name is in colmn A, add this to column B.

    A1&".jpeg"

  4. #4
    Registered User
    Join Date
    01-07-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Way of Inserting duplicate characters into a column list

    Hi, but the image names are never the same

  5. #5
    Registered User
    Join Date
    01-07-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Way of Inserting duplicate characters into a column list

    ok will try this, thankyou

  6. #6
    Registered User
    Join Date
    01-07-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Way of Inserting duplicate characters into a column list

    yer it works, thankyou ever so much, both of you.

  7. #7
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Way of Inserting duplicate characters into a column list

    Another option is not using a small macro. With the option above you need to copy paste value back in the original cells. Here you don't.

    Make a selection that need replacement (Use Shift and Ctrl). hen run this code:
    Please Login or Register  to view this content.
    0. Make selection in the worksheet
    1. Press Alt-F11
    2. Insert Module
    3. Copy, Paste above code
    4. Put cursor in the code
    5. Press F5

    Done
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

+ 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