Locate first number that exceeds reference value

N

Nick Krill

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)
 
D

Domenic

Try...

=MATCH(TRUE,A1:L1>45.57,0)

and

=INDEX(A1:L1,MATCH(TRUE,A1:L1>45.57,0))

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

Hope this helps!
 
R

Ron Rosenfeld

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
 
Top