+ Reply to Thread
Results 1 to 6 of 6

Flexible Range Formula

  1. #1
    Registered User
    Join Date
    02-09-2010
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Flexible Range Formula

    I need a formula that will return the minimum value from a column range that flexs without having to manually go in an change row references. There is a blank row between each section of data in order to separate info.

    As an example:
    Assumes Column A
    Row 5 = 11
    Row 6 = 12
    Row 7 = 9
    Blank Row
    Row 9 = 12
    Row 10 = 11
    Row 11 = 15
    Row 12 = 6
    Row 13 = 11
    Blank Row

    Need to formula to flex to include rows 5 thru 7 in the first section but expand to include rows 9 thru 13 in the second section. =MIN(A5.A7) works but how do I get next section to flex to =MIN(A9.A13) without manually changing the cell references? There is always a blank row in between the sections to separate.

    Any help that you can send my way would be greatly appreciated.
    Last edited by sgrey24; 02-09-2010 at 06:18 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Flexible Range Formula

    It would help if you outline where these MIN formulae are to be located in reference to the source values.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Flexible Range Formula

    It would certanly help... Here is for user to get idea...
    (solution with helper B column)
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-09-2010
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Flexible Range Formula

    Sorry about that ... should have given more info.
    Column A contains the values (month number).
    Column B contains the formula =MIN.
    The number of rows in column A flex and are separated by a blank row.
    Data is separated by this blank row into individual sections.
    The =MIN formula is always on the first row of each individual section in Column B.
    Want to be able to copy the formula down column B without having to manually adjust the number of rows in the =MIN formula. Need a formula that would be able to tell the number of rows in each section in Column A and then return the minimum value for that section in Column B.

    Month MIN
    11 9
    12
    9

    12 6
    11
    15
    6
    11

    9 7
    12
    7
    7

    Hope that this is a little clearer. Thanks in advance for your suggestions.
    Last edited by sgrey24; 02-09-2010 at 03:08 PM.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Flexible Range Formula

    Oh, yes, MIN

    Anyway, here is some example:

    max.xls

    Also, in yellow cels you have MAX and MIN, in orange cells you have MIN by each valeu only HIDE column B.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Flexible Range Formula

    I don't how many data points you have in total, but in terms of general principle...one approach might be:

    Please Login or Register  to view this content.

+ 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