Identify Indian Mobile Number from the List of Numbers in Column

virbharat2000

New Member
Joined
Apr 17, 2014
Messages
14
I am wondering for Identify Indian Mobile Number from the List of Numbers in Column.

Now, I have made a formula to identify the mobile number which closer to correct but not 100% correct if any body have better idea to have the formula more accurate without using any look up or Database.

=IF(OR(LEFT(IF(LEN(A47)=10,A47,IF(AND(OR(LEFT(A47,3)="091",LEFT(A47,3)="+91"),LEN(REPLACE(A47,1,3,""))=10),REPLACE(A47,1,3,""),IF(AND(LEFT(A47,2)="91",LEN(REPLACE(A47,1,2,""))=10),REPLACE(A47,1,2,""),IF(AND(LEFT(A47,1)="0",LEN(REPLACE(A47,1,1,""))=10),REPLACE(A47,1,1,""))))),1)="7",LEFT(IF(LEN(A47)=10,A47,IF(AND(OR(LEFT(A47,3)="091",LEFT(A47,3)="+91"),LEN(REPLACE(A47,1,3,""))=10),REPLACE(A47,1,3,""),IF(AND(LEFT(A47,2)="91",LEN(REPLACE(A47,1,2,""))=10),REPLACE(A47,1,2,""),IF(AND(LEFT(A47,1)="0",LEN(REPLACE(A47,1,1,""))=10),REPLACE(A47,1,1,""))))),1)="8",LEFT(IF(LEN(A47)=10,A47,IF(AND(OR(LEFT(A47,3)="091",LEFT(A47,3)="+91"),LEN(REPLACE(A47,1,3,""))=10),REPLACE(A47,1,3,""),IF(AND(LEFT(A47,2)="91",LEN(REPLACE(A47,1,2,""))=10),REPLACE(A47,1,2,""),IF(AND(LEFT(A47,1)="0",LEN(REPLACE(A47,1,1,""))=10),REPLACE(A47,1,1,""))))),1)="9"),IF(LEN(A47)=10,A47,IF(AND(OR(LEFT(A47,3)="091",LEFT(A47,3)="+91"),LEN(REPLACE(A47,1,3,""))=10),REPLACE(A47,1,3,""),IF(AND(LEFT(A47,2)="91",LEN(REPLACE(A47,1,2,""))=10),REPLACE(A47,1,2,""),IF(AND(LEFT(A47,1)="0",LEN(REPLACE(A47,1,1,""))=10),REPLACE(A47,1,1,""))))),"")
 
Last edited:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I am wondering for Identify Indian Mobile Number from the List of Numbers in Column.
You are asking your question in an internation forum... not all of us know what an Indian Mobile Number is. It might be better if you show us some samples of what Indian Mobile Numbers can look like (try to cover whatever variability there may be in their construction, assuming there is more than one format for them). Also tell us any restrictions in the range for the numbers (or letters if applicable) as well.
 
Upvote 0
Thanks for your prompt reply.

1st Link is of my file
Mobile N Identify Indian Mobile Number from the List of Numbers in Columnumber Identifier - Upload

2nd Link of India Mobile Pattern
Mobile telephone numbering in India - Wikipedia, the free encyclopedia

3rd Link of India Landline STD Code
List of Indian STD codes-Karnataka- | BharatiyaMobile.com

The problem, I am facing is unable to differentiate between Mobile Number Start Digit & Land line STD Code Start Digit.

In my excel sheet, Cell A49 is Mobile Number or Land Line Number I am not able to differentiate.
Because in India there is no different in Mobile Length & Land Line Length, You can check the example of Banglore.
 
Upvote 0
Rick, I am waiting for your reply. Or anyone having idea please help.

I think the problem is that you are expecting helpers to do a lot of research in order to understand how Indian mobile numbers work before they can help you, which is somewhat unreasonable. You need to provide the necessary explanations either here or in your sample workbook, which should be provided via DropBox or similar.
 
Upvote 0
I think the problem is that you are expecting helpers to do a lot of research in order to understand how Indian mobile numbers work before they can help you, which is somewhat unreasonable. You need to provide the necessary explanations either here or in your sample workbook, which should be provided via DropBox or similar.

Yes, Aligw you are right. I thought that if we are able to resolve the issue with 95% accuracy that will also help the all community looking for this issue.

I will try to give you the whole situation & information of numbering pattern in India of Mobile & Land Line Std Codes.

In India mobile number could start from three numeric digits only 7,8 & 9. Our country code is +91.

So, I have written a formula which check length of the number if it is 10 then I check it is starting from 7,8 & 9 then assume as Mobile number else if it is greater than 10 then check & replace 0, 091, +91 as blank then again check length & if it 10 & start from 7,8,9 then assume as Mobile else no.

The problem start from here that in India Land Line Std codes also start from 7,8 & 9 in above formula those numbers are also coming which is a land line number not a mobile number.

Then I have also explore to match more digits up to 4 but the problem after matching up to 4 digits I can not bifurcate the number that it is a mobile or land line number. I require only mobile number.

"There is one solution, which I do not want to use. I can make a list of all std codes & match all the digits of that code to number comes after all the calculation & then decide that this number is mobile number or land line number. Why I do not want to use, 1) In India STD Codes update frequently (added extra digits) 2) I can't update every time the sheet as sheet will be used number of users seating in different location 3) Also mobile numbering pattern changes very dynamically"

Hope now you can understand the requirement.

You can download the sheet to understand better from scribbed link given on my second post of this problem.

Thanks
Vir
 
Upvote 0
I am sorry, but my AV software is telling me not to go to the site where your file is, so I am unable to download it. Sorry, but I just won't take the risk.
 
Upvote 0

Forum statistics

Threads
1,214,901
Messages
6,122,157
Members
449,068
Latest member
shiz11713

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