+ Reply to Thread
Results 1 to 6 of 6

create space on phone numbers

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,715

    create space on phone numbers

    Please look into the following

    data on b1

    +255612143990
    +255621222177
    +255621881044
    +255622599107
    +255623019600
    +255624495460
    +255625528345
    +255627311080
    +255627563446
    +255627603636

    need formula to do the following on c1 and downwards

    +255 612 143 990
    +255 621 222 177
    +255 621 881 044
    +255 622 599 107
    +255 623 019 600
    +255 624 495 460
    +255 625 528 345
    +255 627 311 080
    +255 627 563 446
    +255 627 603 636

    Thank you

  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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,965

    Re: create space on phone numbers

    Try:

    =LEFT(B1,4)&" "&MID(B1,5,3)&" "&MID(B1,8,3)&" "&MID(B1,11,3)

    Or:

    ="+"&LEFT(B1,3)&" "&MID(B1,4,3)&" "&MID(B1,7,3)&" "&MID(B1,10,3)
    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 Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,432

    Re: create space on phone numbers

    Maybe this, copied down:
    Formula: copy to clipboard
    =TEXT(B1+0,"+### ### ### ###")
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,715

    Re: create space on phone numbers

    wow TMS , thank you ALIGW

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,432

    Re: create space on phone numbers

    You're welcome. Thanks for the rep.

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,662

    Re: create space on phone numbers

    You don't need a second column
    Just change celformat to:


    ### ### ### ###
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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. Replies: 3
    Last Post: 03-02-2023, 05:57 AM
  2. Phone number formatting - Remove all special character & space
    By Imrank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2018, 06:58 AM
  3. [SOLVED] Phone number format - reference post (Formatting Textbox to type phone numbers only)
    By eddyrcabrera79 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-01-2015, 05:35 PM
  4. [SOLVED] removing a space in a phone number
    By rob@dmsdealer.com in forum Excel General
    Replies: 9
    Last Post: 11-23-2012, 07:40 PM
  5. Add space to phone no's
    By Paul K. in forum Excel General
    Replies: 5
    Last Post: 01-31-2006, 04:10 PM
  6. Replies: 1
    Last Post: 02-11-2005, 01:06 PM
  7. [SOLVED] insert a space in a phone #. change (123)456-7890 to (123) 456-78
    By leo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-14-2005, 10:07 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