+ Reply to Thread
Results 1 to 5 of 5

Organizing data between columns

  1. #1
    Registered User
    Join Date
    02-11-2012
    Location
    London, England
    MS-Off Ver
    2021
    Posts
    41

    Organizing data between columns

    Lets say I have n columns, they contain similar data. How can I sort and align the data and insert empty cells when a column does not contain data from the an adjacent column? For example:

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Organizing data between columns

    Is column C meant to be your expected result?? If so, please explain the logic? If not, what IS your expected result (and explain the logic).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    02-11-2012
    Location
    London, England
    MS-Off Ver
    2021
    Posts
    41

    Re: Organizing data between columns

    Hi,
    The data sets are distinct, think of this as a diff between n sets of column data. Each set (column) contains some similar data which may be shared between two or more columns however some columns may contain unique data.

    So if you were going to manually perform this, you would sort each column, then when a discrepancy (a unique cell) is found, the column without that item will have a blank cell inserted and the remaining sorted data shifted down.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Organizing data between columns

    So... to repeat myself. What is your expected result? i suspect that this might need VBA.

  5. #5
    Registered User
    Join Date
    02-11-2012
    Location
    London, England
    MS-Off Ver
    2021
    Posts
    41

    Re: Organizing data between columns

    Well, like I said its a diff and the desired output is explained, the actual columns themselves (in this case, columns A through C) would each get sorted and spaced out.

    I am not particularly found of VB being a c# dev, I may just produce the output table from powershell if Excel does not have this functionality native to it.

    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. Re organizing data into multiple rows from a single row with multiple columns
    By FLS! in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2017, 05:10 PM
  2. [SOLVED] Organizing data from a column into appropriate columns
    By Rain95_c in forum Excel General
    Replies: 7
    Last Post: 09-07-2016, 10:23 AM
  3. Organizing Data from Multiple Columns
    By David Piggott in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-29-2013, 12:00 PM
  4. [SOLVED] Need help organizing two columns according to row
    By Leipzig in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-09-2013, 05:08 PM
  5. Help - Organizing Multiple Columns
    By sree19j in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2012, 12:15 AM
  6. Organizing data into columns
    By fajardok in forum Excel General
    Replies: 1
    Last Post: 03-23-2012, 09:42 PM
  7. Organizing multiple columns by name
    By coool in forum Excel General
    Replies: 7
    Last Post: 11-02-2010, 08:35 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