+ Reply to Thread
Results 1 to 13 of 13

how to separate mobile numbers from single cell

  1. #1
    Registered User
    Join Date
    04-06-2024
    Location
    Chennai
    MS-Off Ver
    excel 2016
    Posts
    22

    how to separate mobile numbers from single cell

    hi

    i have phone numbers separated by commas in single cell i want to convert it into single column.

    need macro script to do this automatically
    i want phone numbers without country code.

    refer my sample sheet for data to be converted.

    thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,220

    Re: how to separate mobile numbers from single cell

    Administrative Note:

    Welcome to the forum.

    Is your forum profile showing the Excel PRODUCT that you need this to work for?

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The three most recent Excel products are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,220

    Re: how to separate mobile numbers from single cell

    There are no expected results in your workbook. Please add these manually for the example string provided.

  4. #4
    Forum Expert ByteMarks's Avatar
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,093

    Re: how to separate mobile numbers from single cell

    If you have O365 then a formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Or with code
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-06-2024
    Location
    Chennai
    MS-Off Ver
    excel 2016
    Posts
    22

    Re: how to separate mobile numbers from single cell

    thank you..i will do it

  6. #6
    Registered User
    Join Date
    04-06-2024
    Location
    Chennai
    MS-Off Ver
    excel 2016
    Posts
    22

    Re: how to separate mobile numbers from single cell

    thank you for the code..can i get sample excel book ..am new to this

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: how to separate mobile numbers from single cell

    UDF
    Use in cell like

    =TRANSPOSE(GetPhoneNum(A1))

    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-06-2024
    Location
    Chennai
    MS-Off Ver
    excel 2016
    Posts
    22

    Re: how to separate mobile numbers from single cell

    thank you sir ..

  9. #9
    Registered User
    Join Date
    04-06-2024
    Location
    Chennai
    MS-Off Ver
    excel 2016
    Posts
    22

    Re: how to separate mobile numbers from single cell

    Hi

    following error occurs when i use this formula

    kindly help

    PFA
    Attached Files Attached Files

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: how to separate mobile numbers from single cell

    1) You have 2 modules with same function
    Reomve "Module2"
    Select Module2 - Right Click - Remove Module2 - Click "No" to Export option.

    2) Delete Current code in Module1 and paste following (much faster)
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by jindon; 05-04-2024 at 07:08 AM. Reason: File Attached.

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,929

    Re: how to separate mobile numbers from single cell

    Please Login or Register  to view this content.
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  12. #12
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,513

    Re: how to separate mobile numbers from single cell

    Please Login or Register  to view this content.
    Last edited by daboho; 05-04-2024 at 01:02 PM.
    "Presh Star Who has help you *For Add Reputation!! And mark case as Solve"

  13. #13
    Registered User
    Join Date
    04-06-2024
    Location
    Chennai
    MS-Off Ver
    excel 2016
    Posts
    22

    Re: how to separate mobile numbers from single cell

    thank you sir

+ 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. [SOLVED] In a single cell the are 3 numbers i'm looking to separate the numbers
    By khank in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-20-2021, 09:24 AM
  2. separate mobile number in another cell
    By vengatvj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-10-2020, 11:40 AM
  3. Pasting single digit numbers in a separate cells
    By domasau in forum Excel General
    Replies: 10
    Last Post: 01-30-2019, 08:07 PM
  4. [SOLVED] Macro to separate PO Numbers in cell and enter into separate cells
    By robertguy in forum Excel General
    Replies: 9
    Last Post: 09-29-2016, 01:21 PM
  5. Replies: 6
    Last Post: 07-30-2015, 02:53 AM
  6. [SOLVED] 2 separate columns with numbers separated by commas and single numbers not, need sum
    By Slothbob in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-22-2013, 04:33 PM
  7. Mobile Phone Numbers/ Cell Phones
    By pdiminski in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 02-16-2010, 02:06 PM

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