Min between two values without a defined nth range

voltrader

Board Regular
Joined
Dec 17, 2009
Messages
58
Office Version
  1. 2010
Platform
  1. Windows
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:00100%
10:0195%
10:02100%
10:0395%
10:0492%

<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!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
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:00100%
10:0195%
10:02100%
10:0395%
10:0492%

<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!
 
Upvote 0
More efficient than the single-formula approach:


Excel 2010
ABC
110:00100%1
210:0195%1
310:02100%2
410:0395%2
510:0492%2
610:0598%2
710:0694%2
810:07100%3
910:0893%3
1010:0993%3
1110:1090%3
Sheet1
Cell Formulas
RangeFormula
C1=COUNTIF($B$1:B1,1)


then you can run a pivot table or subtotaler and have the min at each group change.
 
Last edited:
Upvote 0
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:01100%
10:0295%92%
10:0392%92%
10:04100%
10:0591%80%
10:0680%80%
10:07100%

<tbody>
</tbody>
 
Upvote 0
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
Sheet1
Cell Formulas
RangeFormula
C2=COUNTIF($B$2:B2,1)
D2{=IF(B2=1,"",MIN(IF($C$2:$C$12=C2,$B$2:$B$12)))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
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

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

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

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

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

<thead>
</thead><tbody>
</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!
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,179
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top