Word to Digits in Separate Cells one after another

mba_110

Board Regular
Joined
Nov 28, 2012
Messages
80
Office Version
  1. 365
Platform
  1. Windows
I am trying for formula in excel to split the word in to digits on each separate cell in same row, as described below.

B10 = Mirza Bahadur Ali

Result Required: C10 = M, D10 = i, E10 = r, F10 =z, G10 = a, <No Space> H10 = B, I10 =a , J10 = h, K10 = a,L10 =d , M10 = u,N10 = r, <No Space> O10 = A, P10 = l, Q10 = i

Many thanks in advance for your kind help.
 
It would still help if you replied to the thread saying it worked.

How about
Excel Formula:
=LET(d,SUBSTITUTE(B10," ",""),UNIQUE(MID(d,SEQUENCE(,LEN(d),LEN(d),-1),1),1))
Thanks for your answer, however the formation is coming from left to right but i need it from right to left, for example if V9 has a starting digit than formation should be from v9 back to A9, but here in this formula it's going from A9 to V9 which is opposite of my requirement, however the formula is correct and showing correct result just need to do right alignment.

Sorry to not mention that its not an English digits so, it starts from right side and ends at left side.
 
Last edited:
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I'm afraid a I don't understand what you are saying.
 
Upvote 0
Like this:
Excel Formula:
=LET(t,SUBSTITUTE(A1," ",""),UNIQUE(MID(t,SEQUENCE(,LEN(t),LEN(t),-1),1),1))

Or

Excel Formula:
=LET(t,SUBSTITUTE(A1," ",""),UNIQUE(MID(t,SEQUENCE(,LEN(t),1),1),1))

Both tested in RTL layout
 
Upvote 0
it will be be like this,
J 9K9L9M9N9O9P9Q9R9S9T9U9V9
یگوہشرابلکایک
بلایک

As you can see when any digit appear repeatedly in second line it will be eliminated and moved on to next digit in first row, but it is started from right side, your formula is calculating from left side this is all the difference we have here.

for example in above first line at S9 has the digit which is already recorded in second line at V9 so the formula has to move to R9 to see new digit which is not in second line up to the point of S9, if R9 also have the digit which is recorded in second line than it continue looking for new digit by moving one column to left side.
 
Upvote 0
In my post I offered 2 formulas both tested in RTL view. One formula puts the text backwards (for me) and the other forwards, did you test both?
 
Upvote 0
In my post I offered 2 formulas both tested in RTL view. One formula puts the text backwards (for me) and the other forwards, did you test both?
Its working sir for the first approach, in post no # 14 what i have showed you is different approach than post # 13.

Post No # 13 is for separating words in to digits (that is working fine, its over)
Post No # 14 is for eliminating the repeated digits in second line as i mentioned in post and done some examples for few digits, if you look at it carefully in secondly line i am taking only digits that are unique and not repeated digits, otherwise formula need to look for new digit in next column.
 
Upvote 0
Both of the formulae in post 13 remove duplicates from the result.

textsplit (3) (version 1).xlsb
ABCDEFGH
1Hello WorlddlroWeH
2Hello WorldHeloWrd
Sheet1
Cell Formulas
RangeFormula
B1:H1B1=LET(t,SUBSTITUTE(A1," ",""),UNIQUE(MID(t,SEQUENCE(,LEN(t),LEN(t),-1),1),1))
B2:H2B2=LET(t,SUBSTITUTE(A2," ",""),UNIQUE(MID(t,SEQUENCE(,LEN(t),1),1),1))
Dynamic array formulas.


Do they both give you the wrong result?
 
Upvote 0
Both of the formulae in post 13 remove duplicates from the result.

textsplit (3) (version 1).xlsb
ABCDEFGH
1Hello WorlddlroWeH
2Hello WorldHeloWrd
Sheet1
Cell Formulas
RangeFormula
B1:H1B1=LET(t,SUBSTITUTE(A1," ",""),UNIQUE(MID(t,SEQUENCE(,LEN(t),LEN(t),-1),1),1))
B2:H2B2=LET(t,SUBSTITUTE(A2," ",""),UNIQUE(MID(t,SEQUENCE(,LEN(t),1),1),1))
Dynamic array formulas.


Do they both give you the wrong result?
Its working thank you.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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