• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extract number only

coolsac12

Member
Hi All,

I want to extract only number from a cell which have alphanumeric values. Please advise how can I do that.
OR
Please extract numbers in other cell and alphabets in another cell.

Thanks & regards,
Sachin Gupta
 

Attachments

  • Extract_Number.xlsx
    8.7 KB · Views: 8
Sachin,

Put the below in E2 and drag it down...

LOOKUP(9^9,--MID(D2,MIN(IFERROR(FIND(ROW($1:$10)-1,D2),"")),ROW(INDIRECT("1:"&LEN(D2)))))

To be acknowledged with CSE
 
if you please see the attached
tel me about the Idea?
thanks
 

Attachments

  • Extract_Number.xlsm
    17.7 KB · Views: 6
Hi Sachin,
I have noticed you have just 3 type of text ["D","R","-"]
You can try the following also:

=--SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(UPPER(D2),"D",""),"R",""),"-","")

If you have more strings, go with above solutions.

Regards,
 
Back
Top