+ Reply to Thread
Results 1 to 3 of 3

Outlook export to excel for reformatting telephone numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    03-26-2008
    Posts
    18

    Outlook export to excel for reformatting telephone numbers

    I hope I put the right title to this.

    I use Outlook as my contact manager and I want to reformat all my telephone numbers to all look like this (404) 555-1212 or 1 (404) 555-1212.

    So my dilemma is how do I tell excel to format the telephones that appear like this 4045551212 or 404-555-1212 to the above?

    Thank you!!!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    provided they are only in those 2 formats
    try
    =IF(ISERROR(FIND("-",A1)),"("&LEFT(A1,3)&") "&MID(A1,4,3)&"-"&RIGHT(A1,4),"("&SUBSTITUTE(A1,"-",") ",1))

  3. #3
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    Or:
    ="("&LEFT(SUBSTITUTE(A1,"-",""),3)&") "&MID(SUBSTITUTE(A1,"-",""),4,3)&"-"&RIGHT(SUBSTITUTE(A1,"-",""),4)

+ 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. Code to Export Excel Data to Text File
    By ashkash in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-13-2012, 05:59 AM
  2. Searching and Sorting a list of data (numbers and letters) in excel
    By bramble in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-25-2008, 06:54 PM
  3. Export access to excel
    By freekrill in forum Excel General
    Replies: 0
    Last Post: 04-17-2008, 04:01 AM
  4. excel to a shared outlook appointment
    By boemboem in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2008, 02:24 AM
  5. Get name, e-mail en phone number out outlook in excel
    By wimvanroy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-10-2007, 01:57 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