Posts by Tsha M

    I am trying to match a phone number(~4500 phone numbers) to a list of country codes in excel to know the country. the problem is that I want to match the first x characters of the phone number to the country code (where x is the length of the country code in the list) as not all the country codes have the same length (Example. US:1 UK: 44 Jordan:962, UAE:971).


    Phone Numbers Column looks as below:
    447789205094
    919445356808
    97156613071


    Country Code sheet contains in two columns
    [TABLE="class: text_table"]

    [tr]


    [td]

    1

    [/td]


    [td]

    USA

    [/td]


    [/tr]


    [tr]


    [td]

    44

    [/td]


    [td]

    UK

    [/td]


    [/tr]


    [tr]


    [td]

    91

    [/td]


    [td]

    India

    [/td]


    [/tr]


    [tr]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    971

    [/td]


    [td]

    UAE

    [/td]


    [/tr]


    [tr]


    [td]

    973

    [/td]


    [td]

    Bahrain

    [/td]


    [/tr]


    [/TABLE]


    I need to mark each number with the country name.
    Then, check this country name with country mentioned in address field.