+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    01-14-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    8

    how to separate data from 1 column to 3 column

    hi
    how to separate data from 1 column to 3 column as example given
    Attached Files Attached Files

  2. #2
    Forum Guru zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    5,740

    Re: how to separate data from 1 column to 3 column

    99% Job done.. Don't know how to determine BATU PAHAT as one word...
    Attached Files Attached Files
    "Relax. What is mind? No matter. What is matter? Never mind!"

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: how to separate data from 1 column to 3 column

    Alternative...

    E2: =IF((LEN($A2)-LEN(SUBSTITUTE($A2," ","")))<2,"",LEFT($A2,FIND(" ",$A2)-1))

    F2: =IF($E2="",$A2,REPLACE(LEFT($A2,FIND(" ",$A2,LEN($E2)+2)),1,LEN($E2)+1,""))

    G2: =IF($E2="","",REPLACE($A2,1,FIND(" ",$A2,2+LEN($E2)),""))
    Last edited by DonkeyOte; 03-09-2010 at 05:49 AM. Reason: shortened G

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.2.0