+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Separate Column Information into Others

  1. #1
    Registered User
    Join Date
    01-06-2010
    Location
    San Diego CA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Separate Column Information into Others

    I have a large spreadsheet that one column "I" has fax, cell and pager numbers. I need to relocate the cells that have fax numbers in them into a separate column. What formula would I use for this task. The work fax is always on the right side and the numbers range from local 7 digits to international. Here are some examples.

    5555555 fax
    5555555555 fax
    15555555555 fax

    Any help would be appreciated.
    Last edited by bw1; 01-12-2010 at 02:49 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Seperate Column Information into Others

    =If(Isnumber(search("fax",A2)),trim(substitute(a2,"fax","")),"")

    this looks at A2 and if it contains "fax" it extracts the number out, if not, it leaves cell blank.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-06-2010
    Location
    San Diego CA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Seperate Column Information into Others

    Quote Originally Posted by NBVC View Post
    =If(Isnumber(search("fax",A2)),trim(substitute(a2,"fax","")),"")

    this looks at A2 and if it contains "fax" it extracts the number out, if not, it leaves cell blank.
    Thank you -- that worked great!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Separate Column Information into Others

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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