+ Reply to Thread
Results 1 to 24 of 24

Split 3 data from one column to 3 different columns

  1. #1
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Split 3 data from one column to 3 different columns

    Hello everyone.

    I have an excel file in which Column B contains 3 data (Insertion fee, Final value fee, Ad fee).
    I need to split the values to separate columns.
    I have attached my file for reference with desired output (Column F, G, H)
    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Split 3 data from one column to 3 different columns

    I would use a simple IF() function (https://support.office.com/en-us/art...c-aa8bbff73be2 ). Something like =IF($C2=F$1,$D2,"none") in F2. Note the mix of relative and absolute references so you can simply copy this formula across and down.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    Hi MrShorty,

    With this formula I substituted none with value 0. What I needed is Ad fee column H has to be next to Column G.
    Example: G3=3.5 and H3=0.42 (Now its in H4). It has to be in the same row. Not different rows.

    Thank you

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    Try

    F2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag towards the cell
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    No Ankur not the desired answer.

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Split 3 data from one column to 3 different columns

    I used a pivot table. Is this what you are looking for?
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935
    Quote Originally Posted by naga View Post
    No Ankur not the desired answer.
    Naga i am unable to get u as per your required out put in F to H is giving through my formula... Let us know what do u want exactly

  8. #8
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    Hi Ankur,

    Attached a file with desired output entered manually.
    For some products there is Ad fee and for some its not. If there is Ad fee it has to be copied to the next adjacent cell.
    Please check if you can help me out.

    Thank you.
    Attached Files Attached Files

  9. #9
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    I Have created in your file L to Q for your desired output as G to K

    Try
    E2
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    M2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    CSE

    L2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Q2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    N2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    CSE and drag towards N2:P399

    Check the attached file.

    Hope this will help.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    Wow Ankur. Amazing work. It simplifies my work a lot.
    But here I made a mistake. For each data in Column D the Ad Fee comes first and then the Final value fee.
    Previously I have mentioned as Final Value fee first and then the ad fee. Everything is correct only the Ad fee has to appear in the next row.

    Thank you.

  11. #11
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    Naga Whatever you want please attach a sample with expected result.
    It is not an easy to understand with messup data

  12. #12
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    Hi Ankur,

    Check the attached file. Desired output is now changed.
    Attached Files Attached Files
    Last edited by naga; 04-29-2017 at 07:15 AM.

  13. #13
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    Try to Change

    O2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  14. #14
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    O2 or Q2 Ankur?

  15. #15
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    on O2 the drag it to Q and down....

  16. #16
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    Man Oh Man ! Thanks a lot Ankur.. Your help means a lot to me.

  17. #17
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    Great means you have got your solution, Glad to hear it.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  18. #18
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    Ankur one more issue because of having Insertion fee column there are blanks in the Final Fee which affects the data. Can we remove it? I can add it separately

  19. #19
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    Quote Originally Posted by naga View Post
    Can we remove it? I can add it separately
    I am not getting you but remarkable above - Each formula work individual in column just don't remove helper columns. rest can be.

  20. #20
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    I removed the Insertion fee column Ankur. But the issue is I got blank cells in the column O.

  21. #21
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    Quote Originally Posted by naga View Post
    I removed the Insertion fee column Ankur. But the issue is I got blank cells in the column O.
    Put the file and explain what you want....

  22. #22
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    File Attached. Columns O51:55 is blank needs to be removed. Same like for other rows as well. Blank cells has to be removed in the column O.
    Attached Files Attached Files

  23. #23
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split 3 data from one column to 3 different columns

    OMG you were asking in between formula blank cells no no no if you wish only non blank cell, I would suggest to make filter as if you will del the blank cells it would make impact on other cells and result can be wrong.


    Each cells are connected with other.... whole column can be del only ...

    Hope you understand. You can copy the result and paste it into an other workbook as value then you can remove them only.

  24. #24
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Split 3 data from one column to 3 different columns

    Okay Ankur understood is this because of our data is being compared with the Helper column.

+ 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. [SOLVED] Vba code to split data from one column to different columns
    By UPA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-06-2017, 12:29 AM
  2. [SOLVED] split one column data into two separate columns
    By alipezu in forum Excel General
    Replies: 1
    Last Post: 04-17-2016, 03:29 AM
  3. Split data column in more columns
    By mihai.bantas in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-07-2015, 07:09 AM
  4. [SOLVED] split one column data into different columns
    By kbaruin in forum Excel Programming / VBA / Macros
    Replies: 46
    Last Post: 01-31-2013, 07:30 AM
  5. Split data from one column into two new columns?
    By qcom in forum Excel General
    Replies: 2
    Last Post: 07-21-2011, 06:36 PM
  6. split the data in 1 column to 3 columns
    By ccs_1981 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-31-2009, 03:39 PM
  7. Split data in one column into two columns
    By maacmaac in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2009, 05:07 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