+ Reply to Thread
Results 1 to 3 of 3

Format mobile phone data

  1. #1
    Registered User
    Join Date
    07-28-2020
    Location
    Melbourne,Australia
    MS-Off Ver
    365
    Posts
    20

    Format mobile phone data

    Cleaning WhatsApp data. Attached the file with name "Test-Checking". Contains mobile number from different continents(See different tabs in excel). Need a format mention below.

    usa& canada: +1 123 456 7890

    uk:+44 7911 123456

    oceania:+61 A BBBB BBBB

    asia:+98 xxx xxx xxxx

    europe:+49 xx xxxx xxxx

    Middle East:+971 xxxx xxxx

    Africa:+27 11 978 5313

    Where alphabets represents any number from 0 to 9
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Format mobile phone data

    Done (on the sheet) for the UK format. The rest are similar.

    ="+"&TEXT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,CHAR(160),""),"+","")," ",""),"## #### ######")

    Red: removes, spaces, non-printing symbol (a non-breaking space) and the occasional +
    Orange: formats the text with the desired pattern of spaces
    Black: adds the + back in.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Format mobile phone data

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future

    crossposted at: https://www.mrexcel.com/board/thread...excel.1148252/
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Data Restriction accept Mobile Phone number
    By Rashidul in forum Excel General
    Replies: 5
    Last Post: 08-24-2018, 04:37 AM
  2. unable to access axcelforum.com from mobile phone
    By Axmed.cm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2017, 02:43 PM
  3. Automated updates from excel to mobile phone
    By clint714 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2013, 05:57 AM
  4. macro required to separate mobile phone no. from landline phone no.s
    By Poseidons-Palace in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2012, 05:10 PM
  5. Search for corresponding mobile phone number using email address
    By davisraye in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-21-2012, 10:52 AM
  6. Mobile Phone Numbers/ Cell Phones
    By pdiminski in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 02-16-2010, 02:06 PM
  7. [SOLVED] Mobile Phone Calls
    By Mr-Re Man in forum Excel General
    Replies: 4
    Last Post: 11-09-2005, 12:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1