Split text into letters along column without spaces

sofas

Active Member
Joined
Sep 11, 2022
Messages
486
Office Version
  1. 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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,215,753
Messages
6,126,677
Members
449,327
Latest member
John4520

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