First Value in defined Range

saadh

New Member
Joined
Aug 23, 2015
Messages
6
Could some one please help me with a formula that can give the smallest value within a defined range.

So let's say in column 1 there are vales and in column 3 I have manually copied the smallest values between 1-1.9999, 2-2.9999 and 3-3.9999. Is there a formula I could write in column 3 cells that would allow me to do this?



[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]1.456[/TD]
[TD][/TD]
[TD]1.456[/TD]
[/TR]
[TR]
[TD]1.896[/TD]
[TD][/TD]
[TD]2.215[/TD]
[/TR]
[TR]
[TD]1.985[/TD]
[TD][/TD]
[TD]3.333[/TD]
[/TR]
[TR]
[TD]2.215[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2.665
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2.899[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3.333[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3.885[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3.985[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Any help will be appreciated. Cheers
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Try the following array formulas (to be entered using Ctrl+Shift+Enter, not just Enter):

=MIN(IF((A1:A9>=1)*(A1:A9<2),A1:A9))
=MIN(IF((A1:A9>=2)*(A1:A9<3),A1:A9))
=MIN(IF((A1:A9>=3)*(A1:A9<4),A1:A9))
 
Upvote 0
Hi,

Ctrl+Shift+Enter not just Enter and drag down as needed

=MIN(IF(($A$1:$A$9>=ROW(A1))*($A$1:$A$9 < ROW(A2)),$A$1:$A$9))<row(a2)),$a$1:$a$9))<row(a2)),$a$1:$a$9))<row(a2)),$a$1:$a$9))<row(a5)),$a$1:$a$9))< html=""></row(a2)),$a$1:$a$9))<row(a2)),$a$1:$a$9))<row(a2)),$a$1:$a$9))<row(a5)),$a$1:$a$9))<>
 
Last edited:
Upvote 0
Try the following array formulas (to be entered using Ctrl+Shift+Enter, not just Enter):

=MIN(IF((A1:A9>=1)*(A1:A9<2),A1:A9))
=MIN(IF((A1:A9>=2)*(A1:A9<3),A1:A9))
=MIN(IF((A1:A9>=3)*(A1:A9<4),A1:A9))

Works beautifully Tetra.. Thanks
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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