any one correct this single formula to extract 10 digits mobile number

Prasad K

Board Regular
Joined
Aug 4, 2021
Messages
189
Office Version
  1. 2016
  2. 2007
Platform
  1. Windows
this single formula is working there is a problem this formula is extracting only one 10 digit Mobile from starting i want to extract all 10 digit number to separate cells


=MID($A$1,(FIND("Phone:",$A$1)+LEN("Phone:"))+1,(FIND(" ",$A$1,(FIND("Mobile:",$A$1)+LEN("Mobile:"))+1)-(FIND("Mobile:",$A$1)+LEN("Mobile:")+1)))



dup.xlsm
ABCDE
1prasad Phone: 9632587410 vishnu Mobile: 8521479630 reddy Mobile: 6541239870963258741096325874109632587410
2prasad Phone: 9632587410 vishnu Mobile: 8521479630 reddy Mobile: 6541239870963258741096325874109632587410
3prasad Phone: 9632587410 vishnu Mobile: 8521479630 reddy Mobile: 6541239870 bobby Phone: 74136985219632587410963258741096325874109632587410
Sheet5
Cell Formulas
RangeFormula
B1:D1B1=MID($A$1,(FIND("Phone:",$A$1)+LEN("Phone:"))+1,(FIND(" ",$A$1,(FIND("Mobile:",$A$1)+LEN("Mobile:"))+1)-(FIND("Mobile:",$A$1)+LEN("Mobile:")+1)))
B3:E3,B2:D2B2=MID($A$2,(FIND("Phone:",$A$2)+LEN("Phone:"))+1,(FIND(" ",$A$2,(FIND("Mobile:",$A$2)+LEN("Mobile:"))+1)-(FIND("Mobile:",$A$2)+LEN("Mobile:")+1)))
 
You're welcome.

If you wanted a vba solution, I'm wondering why you didn't ask that in post 1 instead of giving us a worksheet formula and asking us to modify that? Would have saved considerable time and effort. :(
First i have applied formula to extract and it's not done to extract all no
Then I have raised a question what's wrong in formula or change formula

After I went to google search searched for is there any vba code extract mobile no & i have found one VBA function that I have mention above to change as per my required
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
You're welcome.

If you wanted a vba solution, I'm wondering why you didn't ask that in post 1 instead of giving us a worksheet formula and asking us to modify that? Would have saved considerable time and effort. :(
Hi Peter I need a help of with one macro i have
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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