Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nick Krill
 
Posts: n/a
Default 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)

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default 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)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default 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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
number of fields exceeds 256 when importing from a dbf file Chris Excel Discussion (Misc queries) 5 July 14th 05 09:49 PM
chart label reference based on the column number bj Charts and Charting in Excel 0 May 20th 05 07:18 PM
return the column reference number of a function result Mahendhra Excel Discussion (Misc queries) 2 May 16th 05 12:46 PM


All times are GMT +1. The time now is 07:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"