Q : Mark asked if we can extract text from alphanumeric value using excel formula.
Enter the following formula in cell B2.
Solution : Suppose alphanumeric value is placed in cell A2.
Enter the following formula in cell B2.
How it works ?
The Microsoft Excel SUBSTITUTE function replaces a set of characters with another.
Trick : The above formula replaces 1 through 9 with blank value. Hence, all the numeric values are rubbed out from the alphanumeric string.
Yo need to update the formula as it does not remove number zero from text
ReplyDelete=SUBSTITUTE( SUBSTITUTE( SUBSTITUTE( SUBSTITUTE(SUBSTITUTE( SUBSTITUTE( SUBSTITUTE( SUBSTITUTE( SUBSTITUTE(+SUBSTITUTE(A2,"0",""),"1",""),"2",""), "3",""),"4",""),"5",""), "6",""),"7",""),"8",""),"9","")
6+6=
ReplyDeleteThanks a lot
ReplyDelete