INDEX Function to return multiple values. Trying to return smallest to largest.

mrwendall

New Member
Joined
Mar 31, 2017
Messages
4
Hi. I am trying to write an array formula that returns multiple values based in simple criteria of ">=". My array formula mostly works but I want it to return the values in order smallest to largest and I'm having a hard time figuring out what I'm doing wrong. I used this identical formula to pull data based on date and it worked perfectly but it's not working with numbers. Here is the formula. Anyone have any ideas? I've checked the source data formatting and it is in fact formatted as a number and has been refreshed. Thank you.

{=IFERROR(INDEX($G$2:$G$2000,SMALL(IF($H$2:$H$2000>=$M$1,IF($H$2:$H$2000>=$M$1,ROW($G$2:G$2000)-ROW($G$2)+1)),ROWS(A$2:A2))),"")}
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,214,808
Messages
6,121,681
Members
449,048
Latest member
81jamesacct

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