+ Reply to Thread
Results 1 to 5 of 5

Separate one columns data into two columns

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Wigan
    MS-Off Ver
    Excel 2003
    Posts
    9

    Separate one columns data into two columns

    Hi,

    I apologise if this is a really simple request but I just can't get my head around the best way to get some data into the format that I want.

    I've run a pivot table report which has given me our reference and then the corresponding client’s details for that reference.

    The pivot table has however given me the data all within the one column. E.g. in column A row 1 we have our reference and in column A row 2 we have the clients name.

    Column A
    1111111
    Client 1 Name
    22222222
    Client 2 Name
    3333333
    Client 3 Name


    Is there any way to take the clients name and put them into column B so the data would then look like this;

    Column A Column B

    1111111 Client 1 Name
    2222222 Client 2 Name
    3333333 Client 3 Name


    I've originally tried to swap the clients name data into the column row but the pivot table says it can't do this as there are too many fields.

    Any help would be most appreciated.

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Separate one columns data into two columns

    The pivot table has however given me the data all within the one column. E.g. in column A
    Hi pivot table does not work this way (I think that you should format your pivot)
    please send the sample
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Separate one columns data into two columns

    hi adam, reformat your data source with this formula first before doing the pivot:
    =INDIRECT("A"&COLUMN(A1)+((ROW(A1)-1)*2))

    this is assuming your data starts from A1. then drag the formula down & across

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    05-17-2012
    Location
    Wigan
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Separate one columns data into two columns

    It's going to be quite hard for me to re-format the pivot simply because it's a pre set report which can be used to gather information on a number of different criteria.

    The data it's picking it up from is 56 columns wide and has 25,000+ rows in it.

  5. #5
    Registered User
    Join Date
    05-17-2012
    Location
    Wigan
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Separate one columns data into two columns

    I've managed to pull a simple formula together to sort this one out.

    Thanks for all your help guys.

+ 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