+ Reply to Thread
Results 1 to 7 of 7

sort variable length column for min value--number of rows is variable

  1. #1
    Registered User
    Join Date
    04-13-2012
    Location
    arcadia, la
    MS-Off Ver
    Excel 2003
    Posts
    3

    sort variable length column for min value--number of rows is variable

    I need to find the mininum number from a column. My range needs to start with cell b2 and stop with first cell it encounters that has text. "TOT"

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: sort variable length column for min value--number of rows is variable

    Try this
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: sort variable length column for min value--number of rows is variable

    We need a better description of your problem/worksheet. Will there be more numbers below the cell with "tot"?
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    04-13-2012
    Location
    arcadia, la
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: sort variable length column for min value--number of rows is variable

    one column only-- has TOT at top and TOT at bottom with numbers in between, then it repeats with a different set of numbers and TOT at bottom again.....I need smallest number from each group of numbers between the TOT

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: sort variable length column for min value--number of rows is variable

    Post a typical workbook.
    My range needs to start with cell b2 and stop with first cell it encounters that has text. "TOT"
    My first response should have solved your initial query, but now you have to handle groups of data, that's an entirely different problem.

  6. #6
    Registered User
    Join Date
    04-13-2012
    Location
    arcadia, la
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: sort variable length column for min value--number of rows is variable

    I need a formula that will find the smallest number in each group between TOT. That will stay the same, if I delete a row, or add a row, or sort numbers,
    answer for each group will be in cell beside the top TOT of that group.

    TOT
    56
    54
    48
    62
    63
    TOT
    45
    64
    66
    69
    55
    48
    TOT
    63
    44
    55
    TOT
    Last edited by dloe; 04-13-2012 at 09:40 PM.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: sort variable length column for min value--number of rows is variable

    Why not post a sample of your workbook as an attachment? It makes life easier all round.

    Try this example workbook.

    With your data in Column B as shown.
    In A1
    Please Login or Register  to view this content.
    Drag/Fill Down as required

    In C2
    Please Login or Register  to view this content.
    Drag/Fill Down as required.

    The helper, Column A, can be hidden, or use a grouping button as in this example.

    Note the conditional formatting in Columns B & C.
    Attached Files Attached Files

+ 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