+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : adding text to string

  1. #1
    Registered User
    Join Date
    05-11-2010
    Location
    Mooresville, NC
    MS-Off Ver
    Excel 2007
    Posts
    7

    adding text to string

    Hello!
    I have 2 columns of cells with hundreds of rows. One column contains the name of a picture file, and the other column contains a string that points to the location of that picture. The path is the same on every row. The only difference is the name of the picture.
    How can I change only the part of the text string in column 2 that shows the picture name, to read from the cell in the first column?

    example:

    Column1
    sample_pic.gif

    Column2
    c:\workspace\images\sample_pic.gif


    Any help would be much appreciated.
    Thanks!
    Last edited by kevnpaige; 09-29-2010 at 08:36 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: adding text to string

    Your link yields an error please attach a sample file - Edit your post - click go advanced - click the paperclip and follow the instructions

  3. #3
    Registered User
    Join Date
    05-11-2010
    Location
    Mooresville, NC
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: adding text to string

    The link was just there as a sample file location. Didn't mean for it to be clicked.
    Sorry

  4. #4
    Registered User
    Join Date
    09-25-2010
    Location
    Jo,Malaya
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: adding text to string

    I have a suggestion, try and see if this works.

    The solution is based on this cell referencing:
    Cell A1: Conatins name of file
    Cell B1: Contains the path of the file + name of the file (from cell A1)

    Please Login or Register  to view this content.

    Once you have entered the formula in cell B1, drag it down.

    Hope that helps.

+ 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