+ Reply to Thread
Results 1 to 5 of 5

Split Phone Number column into 2 new columns Mobile + Landline

  1. #1
    Registered User
    Join Date
    02-08-2021
    Location
    London
    MS-Off Ver
    Office365
    Posts
    6

    Post Split Phone Number column into 2 new columns Mobile + Landline

    I have a data file from our website which collects phone number in a single field. Unfortunately they wont change this so we have to split the numbers we get into 2 seperate columns to import into our CRM. I am hoping that there is a way to do this with a Macro/VBA. For example I have placed some random telephone numbers below to show how they would appear in the column.

    Phone Number
    7077888666
    2012345678
    1023456789
    7022333444
    2013245768

    We have lost the first 0 of the phone number but they should all be 10 digits long in the data file. Basically we need to move any mobile number that begins with 7 in the above example to a new column called Mobile, but on the same data row so it remains with the same individual that provided the data on the online form. The other numbers can stay in the existing column and I can rename that Landline. I have attached a XLSX file with 2 tabs. One with the example data we get from our website and the other with the desired outcome.

    Help please!!!
    Attached Files Attached Files
    Last edited by marko198; 02-08-2021 at 03:45 PM.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Split Phone Number column into 2 new columns Mobile + Landline

    Try

    Please Login or Register  to view this content.
    Last edited by maniacb; 02-08-2021 at 04:47 PM. Reason: Corrections to response

  3. #3
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: Split Phone Number column into 2 new columns Mobile + Landline

    Try.
    Please Login or Register  to view this content.
    Best Regards,
    Maras.

  4. #4
    Registered User
    Join Date
    02-08-2021
    Location
    London
    MS-Off Ver
    Office365
    Posts
    6

    Re: Split Phone Number column into 2 new columns Mobile + Landline

    Thank you very much that has worked ok for me.

  5. #5
    Registered User
    Join Date
    02-08-2021
    Location
    London
    MS-Off Ver
    Office365
    Posts
    6

    Re: Split Phone Number column into 2 new columns Mobile + Landline

    Great thank you that has worked very well for me. You have saved me soooooo much time! Thank you.

+ 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. 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
  3. Arrange phone list to cell phones and landline
    By gallevy in forum Excel General
    Replies: 8
    Last Post: 06-26-2012, 10:06 AM
  4. 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
  5. to split the phone number and email id into two different columns....
    By deepikakct in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2008, 08:57 AM
  6. split the phone number and email id into two different columns....
    By deepikakct in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-08-2008, 12:06 AM
  7. Replies: 0
    Last Post: 11-08-2008, 12:04 AM

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