How to extract numbers from letters in cell?

G

ghost

Hi,

If I have a cell that contains numeric & alpha data. For example: ABC123 in
cell A1 what I want to do is, in B1â€123â€, in C1 “Aâ€, in D1 “B†, and in E1
“Câ€. how
 
G

Gary''s Student

In cells A1 thru E1 enter:
abc123
=RIGHT(A1,3)
=LEFT(A1,1)
=MID(A1,2,1)
=MID(A1,3,1)
 
R

Ron Rosenfeld

Hi,

If I have a cell that contains numeric & alpha data. For example: ABC123 in
cell A1 what I want to do is, in B1”123”, in C1 “A”, in D1 “B” , and in E1
“C”. how

B1:

=LOOKUP(9.9E+307,--MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},
A1&"0123456789")),ROW(INDIRECT("1:"&LEN(A1)))))

C1: =MID(SUBSTITUTE($A$1,$B$1,""),COLUMNS($A:A),1)

Fill C1 right to E1 (or as far as required to include all the letters)

--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top