+ Reply to Thread
Results 1 to 3 of 3

Inserting Text within a filename

  1. #1
    Registered User
    Join Date
    07-07-2008
    Location
    Walnut Creek
    Posts
    5

    Inserting Text within a filename

    I'm brand new here, and I hope this is the right place to post this. I have a spreadsheet of filename paths. For example:

    assets/images/psa/testimage.jpg

    I need to add "_thumb" (without the quotes) into that filename so that it reads:

    assets/images/psa/testimage_thumb.jpg

    So basically, I need the "_thumb" to go after the file name and before the extension.

    Can anyone tell me how to do this. I've tried playing around with the CONCATENATION function but can't seem to figure it out.

    Thanks in advance for any assistance! I would hate to have to add _thumb to 600 filenames

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    with link in A1
    =SUBSTITUTE(a1,".jpg","_thumb.jpg")
    or
    just
    =SUBSTITUTE(a1,".","_thumb.")

  3. #3
    Registered User
    Join Date
    07-07-2008
    Location
    Walnut Creek
    Posts
    5
    THANK YOU!!!!! I can't believe how quick the response was and how easy. I knew there had to be a way to do it with Excel...but it was just way beyond my capabilities.

    Have a great day/night/whatever!

+ 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