location of highest consecutive values

E

egnyc

[crossposted at excel.worksheet.functions]

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)),IF(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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top