choose a the lowest value greater than X

LiborioErmelindo

New Member
Joined
Apr 18, 2013
Messages
5
i have a column of data, and from that list i want to choose the lowest value grater than a reference value.

for example
the list: 1 2 3 4 5 6
the reference: 2

what function should i use to get the lowest value grater than 2?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Give this array-entered** formula a try...

=MIN(IF(A1:A6>2,A1:A5))

**Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself
 
Upvote 0
If your list is in A1:F1 and reference value is in A2 then CTRL+ SHIFT + ENTER following formula:
=MIN(IF(A1:F1>A2,A1:F1))
 
Upvote 0

Forum statistics

Threads
1,202,987
Messages
6,052,932
Members
444,616
Latest member
novit19089

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