Help with extracting Mobile # from a string of text ?

Maverick27

Active Member
Joined
Sep 23, 2010
Messages
333
Office Version
  1. 2013
Platform
  1. Windows
Hi

Can someone share an Excel Function or Macro Code to extract the 2nd set of Tel/Mob # from a string of Text ?

mobile-no.jpg


I've managed to extract the 1st Set of Mob #s ( Col B ) using Function below:
=LEFT(B2,(FIND(" ",B2,1)-1))

I'm struggling with the 2nd set of #'s since the data in the Column is not consistent.

The final result need not be a 100% accurate, but somewhat sensible.

Rgds
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Excel Formula:
=IF((LEN(A1)-LEN(SUBSTITUTE(A1,":","")))/LEN(":")>1,RIGHT(A1,LEN(A1)-FIND(":",A1,3)+2),"")
 
Upvote 0
Solution
or else just use text to columns and set the comma as your delimiter should get you most of the way there
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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