+ Reply to Thread
Results 1 to 5 of 5

Can excel take content from another cell and add information either side??

  1. #1
    Registered User
    Join Date
    11-01-2005
    Posts
    4

    Can excel take content from another cell and add information either side??

    Hi all,

    If you can help me out you will save me literally weeks / months of work.

    Basically I am creating a products reviews website and the largest wholesaler of this market area has given me an excel spreadsheet of around 6,000 products, along with html description and product code.

    They have also given me (seperately) a directory of images.

    The images are named PRODUCTCODE-FULL.jpg (the same product code as is in the spreadsheet).

    I will be importing the whole file into my websites database and I REALLY need to get a column into the spreadsheet for images.

    So, the spreadsheet currently has three colums

    A - Product Code
    B - Product Name
    C - Product HTML description

    IDEALLY, what I need is to have column D which somehow adds http://www.mywebsite.com/images at the front, then pulls in the content of cell A in that row, then adds -FULL.jpg directly after. This would obviously create a url of the image.

    Is this at all possible?

    Thanks very much

    Gary

  2. #2
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by garysumpter
    Hi all,

    If you can help me out you will save me literally weeks / months of work.

    Basically I am creating a products reviews website and the largest wholesaler of this market area has given me an excel spreadsheet of around 6,000 products, along with html description and product code.

    They have also given me (seperately) a directory of images.

    The images are named PRODUCTCODE-FULL.jpg (the same product code as is in the spreadsheet).

    I will be importing the whole file into my websites database and I REALLY need to get a column into the spreadsheet for images.

    So, the spreadsheet currently has three colums

    A - Product Code
    B - Product Name
    C - Product HTML description

    IDEALLY, what I need is to have column D which somehow adds http://www.mywebsite.com/images at the front, then pulls in the content of cell A in that row, then adds -FULL.jpg directly after. This would obviously create a url of the image.

    Is this at all possible?

    Thanks very much

    Gary
    Hi Gary

    In Cell D? try this ="http://www.mywebsite.com/images"&A?&"-Full.jpg"

    where ? needs to be changed to the relevant row number
    Paul

  3. #3
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    Gary,

    You can do this using a separate column and the & sign.

    In column E type in the formula:

    ="http://www.mywebsite.com/images"&"/"&A2&"-FULL.jpg"

    I used 123 for the Product Code in column A.

    This results in:

    http://www.mywebsite.com/images/123-FULL.jpg

    You can then drag that down for all product codes. If you want to create actual links, copy column E and use Paste Special - Values in column D. This creates text that when you double click on it it changes to a link. There may be an easier way to change all the values at once in column D but I am not sure.

    If you are not creating links and just need the value to appear in column D, just type the formula in column D and drag down.

    Hopefully this helps.

    Cheers,
    Steve

  4. #4
    Registered User
    Join Date
    11-01-2005
    Posts
    4
    you are a GEM! Thanks ever so much, im off to do it now!

    Thanks again!

  5. #5
    Jan Karel Pieterse
    Guest

    Re: Can excel take content from another cell and add information either side??

    Hi Garysumpter,

    > IDEALLY, what I need is to have column D which somehow adds
    > http://www.mywebsite.com/images at the front, then pulls in the content
    > of cell A in that row, then adds -FULL.jpg directly after. This would
    > obviously create a url of the image.


    ="http://www.mywebsite.com/images" & "A1 & "-FULL.jpg"

    Regards,

    Jan Karel Pieterse
    Excel MVP
    http://www.jkp-ads.com


+ 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