View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cimjet[_4_] Cimjet[_4_] is offline
external usenet poster
 
Posts: 29
Default Finding location (or start cell) of highest consecutive values

On Thursday, January 23, 2014 8:26:34 AM UTC-5, Emilio Guerra wrote:
Hello, I have a worksheet and I already know that the highest number of consecutive values of a range is 16.



This is the formula I used and it works:



=MAX(FREQUENCY(IF(G2:G50380<32.1,ROW(G2:G50380)),I F(G2:G50380=32.1,ROW(G2:G50380))))



The returned value is 16, which is correct. So far, so good.





What I would like to know is WHERE is that range (location of the cell where that streak of 16 consecutive values under 32.1 starts and ends).





I've tried INDEX but that didn't work.



Thanks.


Hi
This would give you the Row number, if it's what you want.
=MATCH(MAX(G2:G50380),G2:G50380,0)