MATCH for a value over a specific number

kingspur06

Board Regular
Joined
Apr 24, 2007
Messages
52
Hi - is it possible to use the MATCH function to return the first time a value is under 100?

I have the following numbers in a column

-1, -3, -7, -15, -31, -63, -127, 1, 0, -2, -6

I am looking to use the MATCH function to tell me that the 7th entry in the list is when the values drop under 100 but cannot seem to figure out how to do it.

I thought you had to set the Lookup Value to True and then set the Array to A2:A10<100 but each result comes out as TRUE so it just provides a result of 1

Any help would be most appreciated

thanks
Mark
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Excel Formula:
=MATCH(TRUE,A1:A9<-100,0)
 
Upvote 0
Solution
If you have a current version of Excel* you could use:

Excel Formula:
=MATCH(VLOOKUP(-100,SORT(A1:A11),1),A1:A11,0)

*Please update your profile to show which version you are using
 
Upvote 0
@JEC how about data like
-1​
-3​
-200
-15​
-31​
-63​
-127​
1​
 
Upvote 0
if he is looking for the entry where it goes below -100 first, then the sort is not needed. Lets hear ; )
 
Upvote 0
Indeed,
I was looking for the position of the largest but smaller than threshord, not for the first in sequence which drops below threshold.
When I am reading post #1 again, your proposition convinces me, so let's hear.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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