Extract number from cell into other column corrsponding cell

tajulit

Board Regular
Joined
Oct 24, 2015
Messages
111
Hi All,
I have a worksheet with A-F columns. Some cell has only number, Number with first bracket, number with dot, number with hyphen and number with alphabetic word.

I want cut the number into corresponding cell in Column G but if number with alphabetic word then nothing do.

Example before apply code:
A B C
1. 1788 University Ave Riverside 92507 951-684-0207 uffpufff@yahoo.com
2. Riverside 92507 (951)-684-0207 pfspufff@yahoo.com
3. 951.684.0207 puffpufff@yahoo.com
4. 1788 University Ave Riverside 92507 9516840207 puffpufff@yahoo.com

Output after Applying Code:
G
1. 951-684-0207
2. (951)-684-0207
3. 951.684.0207
4. 9516840207
 
Is what you posted all in Column A, or is your data split into Columns A, B and C? If the latter, can you show us more clearly what is in which columns?
 
Upvote 0
Upvote 0
Upvote 0
Actually i needed a quick solution. So I posted in another forum.
Possibly all the more reason to actually read the page that is linked at the end of point 24. Posting in multiple forums sometimes actually slows the response.
 
Upvote 0
Possibly all the more reason to actually read the page that is linked at the end of point 24. Posting in multiple forums sometimes actually slows the response.

I can't edit post after 10 minutes from posting. So how i can include link of cross posting?
 
Last edited:
Upvote 0

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