Forum Discussion

jonukrah1975's avatar
jonukrah1975
Copper Contributor
Sep 29, 2018
Solved

Find & Replace limitations

I am trying to automate a mind numbing task of adding images to a web shop im building. The images are saved as the product code and the product codes are in a spreadsheet, I need to change each one from a 4 digit number into a file location, eg 8012 needs to be images/8012.jpg so I can update mysql by uploading a csv. I thought Replace would do it but im struggling and open to suggestions!

  • Use an extra column.. So if your number is in a1,in b1 use something like.. ="images/" & a1 & ". Jpg"

    Even if you then copy paste result somewhere and delete the helper column it should give you what you need.

2 Replies

  • Philip West's avatar
    Philip West
    Steel Contributor
    Use an extra column.. So if your number is in a1,in b1 use something like.. ="images/" & a1 & ". Jpg"

    Even if you then copy paste result somewhere and delete the helper column it should give you what you need.
    • jonukrah1975's avatar
      jonukrah1975
      Copper Contributor

      thats perfect, hadnt thought to do it that way, thanks!!