View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Darius Darius is offline
external usenet poster
 
Posts: 41
Default first and last occurance

Thanks the location works fine based on your equation but the below formula
does not find the first value in the range which is less than 0.0?/

=INDEX(E2:E3286,MATCH(TRUE,E2:E3286<0),1)

"Bernd P" wrote:

Hello Darius,

Array-enter
=1+MATCH(TRUE,A2:A3500<0,0)
resp.
=LOOKUP(2,1/(A2:A3500<0),ROW(A2:A3500))

Regards,
Bernd