# Min between two values without a defined nth range

##### Board Regular
Hey All,

Been working on this for a while and couldn't figure it out, tried offset, and Match/INDEX. I still cant get around the issue of the range not being a consistent nth row.
 10:00 100% 10:01 95% 10:02 100% 10:03 95% 10:04 92%

<tbody>
</tbody>

As the above table illustrates the range does not hold a pattern of every nth row.I need to create a moving "anchor" to say "from each 100% find min until the next 100%.

Thanks!

#### Johnny Thunder

##### Well-known Member
What??? I have no idea what you are asking for...

Hey All,

Been working on this for a while and couldn't figure it out, tried offset, and Match/INDEX. I still cant get around the issue of the range not being a consistent nth row.
 10:00 100% 10:01 95% 10:02 100% 10:03 95% 10:04 92%

<tbody>
</tbody>

As the above table illustrates the range does not hold a pattern of every nth row.I need to create a moving "anchor" to say "from each 100% find min until the next 100%.

Thanks!

##### Well-known Member
More efficient than the single-formula approach:

then you can run a pivot table or subtotaler and have the min at each group change.

Last edited:

##### Board Regular
What??? I have no idea what you are asking for...
I need to find the MIN value for each cell between 100%. I am not looking for the amount of MIN values.
 10:01 100% 10:02 95% 92% 10:03 92% 92% 10:04 100% 10:05 91% 80% 10:06 80% 80% 10:07 100%

<tbody>
</tbody>

##### Well-known Member
If you want to repeat the min values next to each percent that isn't 100:

<b>Note: Do not try and enter the {} manually yourself</b></td></tr></table><br />

##### Board Regular
If you want to repeat the min values next to each percent that isn't 100:

Excel 2010
ABCD
1timepercentgroupmin
210:00100%1
310:0195%10.95
410:02100%2
510:0395%20.92
610:0492%20.92
710:0598%20.92
810:0694%20.92
910:07100%3
1010:0893%30.9
1110:0993%30.9
1210:1090%30.9

</tbody>
Sheet1

Worksheet Formulas
CellFormula
C2=COUNTIF(\$B\$2:B2,1)

</tbody>

<tbody>
</tbody>

Array Formulas
CellFormula
D2{=IF(B2=1,"",MIN(IF(\$C\$2:\$C\$12=C2,\$B\$2:\$B\$12)))}

</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
THAT WORKS! thanks so much!

1,082,139
Messages
5,363,363
Members
400,731
Latest member
Jackserver

### This Week's Hot Topics

• populate from drop list with multiple tables
Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
• Find list of words from sheet2 in sheet1 before a comma and extract text vba
Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
• Dynamic Formula entry - VBA code sought
Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...