Home > Net >  remove number from a column in excel
remove number from a column in excel

Time:09-29

I am having a column as below in excel. Consider it as a column of elements.

excel_data:

Animal
Dog12ag
Cat13
Choco1234ttt

I need to remove from number in excel.

Desired output:-

Animal
Dog
Cat
Choco

Is there any formula for doing it?

CodePudding user response:

Try:

enter image description here

Formula in B1:

=@TEXTSPLIT(A1,SEQUENCE(10,,0))

Or, in a single go:

enter image description here

Formula in B1:

=TEXTSPLIT(A1:A4,SEQUENCE(10,,0))

Thanks to @Ike.

CodePudding user response:

The following will spill the results:

=BYROW(A1:A4,LAMBDA(b,LEFT(b,MIN(FIND({1,2,3,4,5,6,7,8,9,0},b&"1234567890")-1))))

enter image description here

CodePudding user response:

You may try this as well,

enter image description here

• Formula used in cell B1,

=LET(x,MIN(IFERROR(SEARCH(ROW($1:$10)-1,A1),"")),
IF(x<>0,REPLACE(A1,x,255,""),
A1))

Edit: Using TEXTBEFORE()

enter image description here

=TEXTBEFORE(A1,SEQUENCE(10,,0),,,1,A1)

Or,

=TEXTBEFORE(A1:A4,SEQUENCE(10,,0),,,1,A1:A4)
  • Related