+ Reply to Thread
Results 1 to 4 of 4

sorting table into 2 columns

  1. #1
    Registered User
    Join Date
    07-28-2007
    Posts
    9

    sorting table into 2 columns

    Sorry for being such a complete noob, but how can I sort a table into 2 columns?

    xls (in zip)attached...

    To see the way I need it sorted go from sheet1 to sheet2

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302

    "Unrolling" a table with a fill-down formula

    I have attached your worksheet with formulas that "unroll" the data in your table, so that you can sort it. This gives you a manageable process for doing this repeatedly. Post any additional questions you might have.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-28-2007
    Posts
    9
    Thanks....how can I make the formula so it doesn't count the empty cells as "zero"?

  4. #4
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302

    What to do about zeroes?

    The "unrolling" formula generates a result value for every cell in the rectangular table. They have to have some value.

    The easiest answer is to sort the zeroes away. Discard them as a group after the sort.

    If zero is a valid table entry or header entry, then I might do one of the following:
    - Fill in the "blank" cells with some reserved value, then sort that away.
    - A user defined function (using Excel Visual Basic) could be used to capture the Formula from the source cell, rather than the Value as evaluating a formula does. This would preserve blank cells as having a blank formula.

+ 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