ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Locate first number that exceeds reference value (https://www.excelbanter.com/excel-worksheet-functions/63415-locate-first-number-exceeds-reference-value.html)

Nick Krill

Locate first number that exceeds reference value
 
How can I find the first entry in a row of unsorted data that exceeds a
reference value, eg:

Reference Value: 45.57
Data: 45.54 45.56 45.32 45.5 45.42 45.35 45.61 45.4 44.97 45 45.65 44.55

The answer should be 7 (45.61)


Domenic

Locate first number that exceeds reference value
 
Try...

=MATCH(TRUE,A1:L145.57,0)

and

=INDEX(A1:L1,MATCH(TRUE,A1:L145.57,0))

Both formulas need to be confirmed with CONTROL+SHIFT+ENTER, not just
ENTER. Adjust the range accordingly.

Hope this helps!

In article ,
"Nick Krill" wrote:

How can I find the first entry in a row of unsorted data that exceeds a
reference value, eg:

Reference Value: 45.57
Data: 45.54 45.56 45.32 45.5 45.42 45.35 45.61 45.4 44.97 45 45.65 44.55

The answer should be 7 (45.61)


Ron Rosenfeld

Locate first number that exceeds reference value
 
On Thu, 5 Jan 2006 12:51:04 -0800, "Nick Krill"
wrote:

How can I find the first entry in a row of unsorted data that exceeds a
reference value, eg:

Reference Value: 45.57
Data: 45.54 45.56 45.32 45.5 45.42 45.35 45.61 45.4 44.97 45 45.65 44.55

The answer should be 7 (45.61)


You really should try to keep your threads together.

What was the matter with the response I posted last night?
--ron


All times are GMT +1. The time now is 04:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com