+ Reply to Thread
Results 1 to 3 of 3

i need help finding the correct function for renaming a column...

  1. #1
    Registered User
    Join Date
    11-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    1

    Smile i need help finding the correct function for renaming a column...

    This is what is in the column J2 and I need to only put \SB178P-M.jpg into column K2.

    \JM2000\PICTURES\SB178P-M.jpg

    Thanks -

  2. #2
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: i need help finding the correct function for renaming a column...

    try this
    ="\"&TRIM(RIGHT(SUBSTITUTE(J2,"\",REPT(" ",LEN(J2))),LEN(J2)))

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: i need help finding the correct function for renaming a column...

    one way
    ="\"&TRIM(RIGHT(SUBSTITUTE(J2,"\",REPT(" ",50)),25))
    or
    =TRIM(RIGHT(SUBSTITUTE(J2,"\",REPT(" ",50)&"\"),25))
    Last edited by martindwilson; 11-10-2013 at 08:40 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. correct function to find a correct time value
    By jekidi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-06-2013, 03:17 PM
  2. [SOLVED] Finding the correct value
    By CobraLAD in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-09-2013, 08:17 AM
  3. Having problems with finding the correct excel formula for column
    By aussiemum32 in forum Excel - New Users/Basics
    Replies: 13
    Last Post: 07-01-2012, 10:02 PM
  4. Renaming .dat to .csv, run through macros and save in correct folder
    By holly66 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-20-2010, 04:55 PM
  5. function for finding repeats in a column...
    By killertofu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-21-2006, 04:03 PM

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