Split text into letters along column without spaces

sofas

Well-known Member
Joined
Sep 11, 2022
Messages
560
Office Version
  1. 2021
  2. 2019
Platform
  1. Windows
Hello. Is there a way or possibility to get Macro or formula to split text into letters along a column without spaces

2.PNG
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Does this work?

Use this formula in A2 and copy it across and down.

=IF((ROW()-1)<=LEN(SUBSTITUTE(A$1," ","")),MID(SUBSTITUTE(A$1," ",""),ROW()-1,1),"")
 
Upvote 0
Solution
Does this work?

Use this formula in A2 and copy it across and down.

=IF((ROW()-1)<=LEN(SUBSTITUTE(A$1," ","")),MID(SUBSTITUTE(A$1," ",""),ROW()-1,1),"")
it's really what i need thank you very much
 
Upvote 0
it's really what i need thank you very much
Just a cautionary note: If you subsequently decided to add any new rows at the top of the worksheet, that formula would return incorrect results. Example:

23 06 04.xlsm
AB
1
2douplicataMacro to split
3oa
4uc
5pr
6lo
7it
8co
9as
10tp
11al
12 i
13 t
14  
Letters
Cell Formulas
RangeFormula
A3:B14A3=IF((ROW()-1)<=LEN(SUBSTITUTE(A$2," ","")),MID(SUBSTITUTE(A$2," ",""),ROW()-1,1),"")


Here is a simpler formula and it also eliminates the above potential problem.

23 06 04.xlsm
AB
1douplicataMacro to split
2dM
3oa
4uc
5pr
6lo
7it
8co
9as
10tp
11al
12 i
13 t
14  
Letters (2)
Cell Formulas
RangeFormula
A2:B14A2=MID(SUBSTITUTE(A$1," ",""),ROWS(A$2:A2),1)
 
Upvote 0

Forum statistics

Threads
1,225,750
Messages
6,186,805
Members
453,373
Latest member
Ereha

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