+ Reply to Thread
Results 1 to 9 of 9

Text Formulae - Please Help!!!

  1. #1
    Registered User
    Join Date
    03-02-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    5

    Cool Text Formulae - Please Help!!!

    Good Morning Everyone,

    I need help. I am trying to figure out a formulae in excel to shorten a list of file names in excel.

    What I am trying to do is i.e

    Financial documentation of the company.pdf = Financial documentation of the com.pdf
    Daily summary textual formulaes.zip = Daily summary textual form.zip


    I want the formulae to shorten the filename and still keep the file extension

    Anybody got any tips please?

    THank You

  2. #2
    Registered User
    Join Date
    03-26-2012
    Location
    India
    MS-Off Ver
    excel 2007
    Posts
    21

    Re: Text Formulae - Please Help!!!

    can you pl. throw some light by how much do you intend to shorten the name and from what positions in the entire name

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Text Formulae - Please Help!!!

    Hi Datarooms,

    what is the max length which would be OK for a file name ?


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Registered User
    Join Date
    03-02-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Text Formulae - Please Help!!!

    I havent got a max lenght - any formulae would do and I will adapt it accordingly.

    Thanks

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Text Formulae - Please Help!!!

    Okay then.. try below formula:-

    =LEFT(TRIM(A1),20)&RIGHT(TRIM(A1),4)

    where 20 is the length of the file name which you can adjust accordingly

    Regards,
    DILIPandey
    <click on below * if this helps>

  6. #6
    Registered User
    Join Date
    03-02-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Text Formulae - Please Help!!!

    Thank You DILIPandey - Really grateful that worked a treat.

    Thank You

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Text Formulae - Please Help!!!

    you are welcome Datarooms..

    please mark this thread as [SOLVED].. Thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>

  8. #8
    Registered User
    Join Date
    03-02-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Text Formulae - Please Help!!!

    How do i mark it as solved?

  9. #9
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Text Formulae - Please Help!!!

    below is what I found in forum rules:-
    If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.
    Regards,
    DILIPandey
    <click on below * if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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