Split sentence into 2 cells

sgm1911

New Member
Joined
Jul 10, 2017
Messages
10
I got a cell with the text:

THIS IS AN EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE GO TO NEXT ROW

How would I get excel to split the sentence above into 2 different cells A1 & A2, after the sentence exceeds 66 characters
So that-
A1: THIS IS AN EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE
A2: GO TO NEXT ROW

--------------------------------------------

Additionally, if the cell is 67 characters: THIS IS AN EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLEE
How would I split to to 2 different cells so the words dont get cut off half way?
A1: THIS IS AN EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE EXAMPLE
A2: EXAMPLEE
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Upvote 0
try:

ABCDEFGHIJK
1Dudeeeee Excel Rocks you can do so much with it lolllll whats up ya wanna go to the beach today
2
3
4Dudeeeee Excel Rocks you can do so much with it lolllll whats up
5ya wanna go to the beach today

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
A4=IF(LEN(A1)<67,A1,LEFT(A1,FIND("@",SUBSTITUTE(LEFT(A1,67)," ","@",LEN(LEFT(A1,67))-LEN(SUBSTITUTE(LEFT(A1,67)," ",""))))-1))
A5=MID(A1,LEN(A4)+2,255)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Thanks ! Works perfectly !
 
Upvote 0
try:

ABCDEFGHIJK
1Dudeeeee Excel Rocks you can do so much with it lolllll whats up ya wanna go to the beach today
2
3
4Dudeeeee Excel Rocks you can do so much with it lolllll whats up
5ya wanna go to the beach today

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
A4=IF(LEN(A1)<67,A1,LEFT(A1,FIND("@",SUBSTITUTE(LEFT(A1,67)," ","@",LEN(LEFT(A1,67))-LEN(SUBSTITUTE(LEFT(A1,67)," ",""))))-1))
A5=MID(A1,LEN(A4)+2,255)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Thanks ! I have a problem now, because sometimes the sentence goes into 3 lines.
So how would I have the same formulas, for cells A1 & A2 & A3, after the sentence exceeds 66 characters for A1 and A2?
 
Upvote 0

Forum statistics

Threads
1,215,052
Messages
6,122,878
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top