+ Reply to Thread
Results 1 to 4 of 4

Columns should not exceed the 60 characters and no words should be split across 2 columns

  1. #1
    Registered User
    Join Date
    08-15-2023
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    1

    Post Columns should not exceed the 60 characters and no words should be split across 2 columns

    I have data in 3 columns, which is Column I, J and K.


    I need help with writing an Excel formula to ensure a column I has less than 60 characters it should remain. Otherwise, if it exceeds the 60 characters it should be moved into the other columns(J +K Columns) and no words should be split into two columns depending if the other columns does not exceed the 60 characters length. I want to same logic to be applied for columns J + K.

    I'd preferably like to solve this by using a nested if function with find, right and left function and mid functions

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,142

    Re: Columns should not exceed the 60 characters and no words should be split across 2 colu

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,813

    Re: Columns should not exceed the 60 characters and no words should be split across 2 colu

    See this thread for an idea how to approach this: https://www.excelforum.com/excel-for...paragraph.html

    Note that if column I is where you input your data, it cannot have a formula in it.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Columns should not exceed the 60 characters and no words should be split across 2 colu

    Here is a formula that returns everthing in one go.

    Please put your words in A1 and try in A3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. [SOLVED] Need to split one column into two columns based on the number of words per cells
    By terryhenderson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-26-2018, 03:42 AM
  2. Extract words with same first 2 characters and put them in different columns
    By Niclal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2018, 05:06 AM
  3. [SOLVED] macro split specific data to respective columns but should not exceed 32 characters
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2018, 02:24 PM
  4. Split Text to columns using many words
    By Naveen prasad in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-11-2016, 10:48 AM
  5. Excel formula to split words with characters limit per cell
    By montroseite in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-06-2014, 07:22 AM
  6. Split Strings Into Columns Based On Repeating Characters - Macro
    By jessekanclerz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2013, 11:13 AM
  7. Split String into 4 Parts - Max 30 Characters per Cell and Whole Words
    By keithm_007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2012, 05:56 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