+ Reply to Thread
Results 1 to 7 of 7

Phone Number

Hybrid View

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    27

    Phone Number

    Good afternoon

    I have a list of client with telephone number. my problem is that some on the number have spaces in them

    I want all the numbers to start with 44, and then the number

    any help greatly appreciated

    thanks

  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 2406
    Posts
    44,662

    Re: Phone Number

    Assuming your numbers start in A1, use this:

    Formula: copy to clipboard
    =CONCATENATE(44,SUBSTITUTE(A1," ",""))


    OK???
    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

  3. #3
    Registered User
    Join Date
    10-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Phone Number

    thanks for the response

    if the number is 01455851139 then it works, but if the number is 07598 560334, then it doesnt work

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

    Re: Phone Number

    If you DO need to drop the first zero, then use this ine instead:

    Formula: copy to clipboard
    =CONCATENATE(44,SUBSTITUTE(IF(LEFT(A1,1)="0",SUBSTITUTE(A1,"0","",1),A1)," ",""))

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

    Re: Phone Number

    Maks sure that you're copying my formula correctly. It seems to be working here OK. Click the select code button just above the formula to make sure you're getting it right.

    BtW, you may wish to modify your request to get it to drop leading zeros from the numbers.

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Phone Number

    Maybe this

    =SUBSTITUTE("44"&A1," ","")

    A
    B
    1
    01455851139 4401455851139
    2
    07598 560334 4407598560334
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

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

    Re: Phone Number

    Was this solved? If so can you mark the thread as solved and (preferably) say thanks to those who helped by clicking the Add Reputation button at the foot of their post(s).

+ 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. Help i need to add a zero to a phone number
    By miikee1985@hotmail.c in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-25-2013, 06:17 PM
  2. Is it possible to make Excel dial a phone number from my smart phone?
    By D_Step in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-19-2013, 06:11 PM
  3. Format a Phone Number
    By scotfitz in forum Excel General
    Replies: 4
    Last Post: 12-23-2009, 07:01 PM
  4. phone number
    By domvar22 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 09-03-2009, 04:52 PM
  5. [SOLVED] Phone number
    By Lisa in forum Excel General
    Replies: 3
    Last Post: 05-10-2005, 06: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