Formula to find International dialing code
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: Formula to find International dialing code

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    134
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a problem to solve, I must produce a formula that finds the International dialing codes in a worksheet,the codes are listed with a EG:0044 format, I need to produce just the 44, the only formula I can think of produces 0044 which is =LEFT(B2,4)

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,775
    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-03-02 14:42, Charlie wrote:
    I have a problem to solve, I must produce a formula that finds the International dialing codes in a worksheet,the codes are listed with a EG:0044 format, I need to produce just the 44, the only formula I can think of produces 0044 which is =LEFT(B2,4)
    =RIGHT(B2,2)

  3. #3
    Board Regular
    Join Date
    Mar 2002
    Posts
    134
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks but I should have told you the full number perhaps it is 00441642-218121 the formula you recommended gives 21.

  4. #4
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,775
    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-03-02 15:02, Charlie wrote:
    Thanks but I should have told you the full number perhaps it is 00441642-218121 the formula you recommended gives 21.
    =MID(B2,3,2)

  5. #5
    Board Regular
    Join Date
    Mar 2002
    Posts
    134
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Great thanks very much

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com