+ Reply to Thread
Results 1 to 3 of 3

Advanced sorting

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Advanced sorting

    I'm familiar with excel but far from advanced which makes my task at hand a little difficult. I know this can be done but don't know how to get there. I have an excel sheet with 8 columns a-h. This is spreadsheet to keep record of quotes given through the year, a new one starts every year. Columns are: Dates, Quote #, Project name, Preparer's name, Value, Status, Engineered by, and lastly who it was sent to. (those are in order, A-H respectively). Currently the spreadsheet is sorted by colum B as a new Quote # is taken for each project. Quotes are usually in one row unless it is sent to more than one bidder. In that case, the next row is used ONLY in the H column leaving the 7 others to the left blank. Also between quotes is 1 blank row just to make the thing look neater.

    Now here's what i'm trying to do. I want to be able to have a list sorted first by bidder, then by status, then by job name, then by quote number. I only want to show the bidder for the first job that they have. I also want to have this on the second sheet of the file.

    I know this is probably ridiculously advanced for me. I'm easily an advanced computer user, just am not so advanced with excel. Any help would be GREAT.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Advanced sorting

    Hi,

    you may have to introduce a few helper columns to enable the sorting.

    Excel does not like empty rows in a list. When you use Autofilter (Data - Filter - Autofilter), an empty row will signal the end of the list to Excel.
    So, you may want to have a new column, preferably to the very left, where you keep some kind of ID, like a consecutive number or some such thing. This column should be filled in for EVERY row of data, so Excel can tell how many rows of data your list has.

    Try to apply the filters and sorting capablilities of Autofilter column by column. If you can't achieve the desired result, go back one step and ask yourself "How is Excel supposed to identify what I want to show". Then look at your data and see if you can figure out some logic. Maybe you need to insert another helper column somewhere to guide Excel to achieve the right sort order.

    You could also post a workbook with a subset of your data to illustrate what you want to achieve.

    cheers

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Advanced sorting

    It would be better practice to replace all the blank entries with replications of the data above, and remove the blank rows. Then you can sort in the normal fashion. You could use conditional formatting to suppress display of those cells.
    Entia non sunt multiplicanda sine necessitate

+ 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