+ Reply to Thread
Results 1 to 3 of 3

Formula to split text on word boundaries

  1. #1
    Registered User
    Join Date
    02-13-2020
    Location
    Westcountry, UK
    MS-Off Ver
    2013
    Posts
    2

    Question Formula to split text on word boundaries

    Hello,
    I need to split columns of text at maximum 255 characters, but would like to be able to split the text at the last complete word before the 255 character limit. Is there any way I can do this?
    The formula I am using to split the column of text is =MID(A2,255,600). (I don't need the 600 character limit at the end of the formula, but it didn't work without adding a character limit!)
    Sorry, I'm not an Excel expert, so hope this makes sense!
    Thank you.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Formula to split text on word boundaries

    Hi.

    You are new here so welcome.

    I would struggle to do what you need using a formula.

    So I would opt for a Macro.

    I have created a Spreadsheet for you.

    Paste your text in column A.

    Click on the Red Tab and Stand Back.






    Please Login or Register  to view this content.
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    02-13-2020
    Location
    Westcountry, UK
    MS-Off Ver
    2013
    Posts
    2

    Re: Formula to split text on word boundaries

    Thank you, mehmetcik, I really appreciate your help.
    I will go and try it out!

+ 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. ADODB SQL to find whole word with word boundaries
    By Deutz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-26-2017, 05:43 AM
  2. ADODB SQL to find whole word with word boundaries
    By Deutz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2017, 01:47 AM
  3. [SOLVED] How to Split a string and put each word in text box
    By MeSH16 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2015, 12:38 AM
  4. Having problem with text to column split on a particular word
    By alicia ch in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-01-2012, 12:29 PM
  5. Replies: 10
    Last Post: 10-24-2012, 04:02 AM
  6. Finding certain word in cell....then split text
    By Lynx2x in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-22-2012, 08:09 AM
  7. Split Text on word boundary
    By robertmee in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-26-2008, 10:45 AM

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