Adding International Calling Codes in front of a phone number

rohitmadaan

New Member
Joined
Jan 7, 2019
Messages
1
Hi Everyone,

I need some urgent help with an issue i am having right now. I have an excel file which has a telephone number of a country in column A and Country code in column B. The telephone number in column A is not in one particular order. Some of them have International code with them but others don't have. Can some please help me with adding international calling codes to those numbers which don't have it and ignore those which have it based on the country in column B. A macro for this would be ideal. Thanks in advance.

As far as i understand, the code should read the length of the phone number based on that country and check if it fits in the certain set limit then it should ignore that phone number else add the code in front of the phone number.

Regards

Rohit Madaan
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,516
Messages
6,119,980
Members
448,934
Latest member
audette89

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