+ Reply to Thread
Results 1 to 6 of 6

One column into multiple columns and losing multiple entries

  1. #1
    Registered User
    Join Date
    05-04-2014
    Location
    Pasamaja
    MS-Off Ver
    Excel 2003
    Posts
    3

    One column into multiple columns and losing multiple entries

    Hello!

    I need your help on following table:

    I have column A and it has 1000 rows, every row has a number in it, from 5000 to 5200, meaning that some numbers are presented multiple times in column A.

    I need to lose repetitions, so every number is in the the table only one time and then I need to convert this one long column into, for example, 9 columns, so there's no wasting of space and have only one column in every page, if printed out.

    Thank you!
    SKott

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: One column into multiple columns and losing multiple entries

    Here is a code for the elimination of the duplicates.

    Please Login or Register  to view this content.


    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-04-2014
    Location
    Pasamaja
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: One column into multiple columns and losing multiple entries

    ty, trying it out pretty soon!
    I suppose that converting one column into 9 columns is piece of cake, somehow?

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: One column into multiple columns and losing multiple entries

    Here is the second part of splitting the columns. Needed to develop this one. Already had the first part done from another project.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-04-2014
    Location
    Pasamaja
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: One column into multiple columns and losing multiple entries

    Hello, thank you alansidman!

    Now it's time to try it out

    edit: works like a miracle! thank you very much!
    Last edited by sitakott; 05-19-2014 at 02:21 AM.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: One column into multiple columns and losing multiple entries

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

+ 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. Merging Multiple Rows in a Column without losing text
    By carlc711 in forum Excel General
    Replies: 1
    Last Post: 07-10-2013, 07:05 PM
  2. Splitting multiple entries in single cell into multiple columns
    By David_Mitchell in forum Excel General
    Replies: 12
    Last Post: 01-24-2013, 06:57 AM
  3. Replies: 0
    Last Post: 08-14-2012, 01:18 PM
  4. Lookup Data in One Column, Find Multiple Entries in Next, Copy to Multiple Columns
    By nzxt1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2010, 01:17 AM
  5. Replies: 4
    Last Post: 03-28-2010, 10:58 AM

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