Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Finding location (or start cell) of highest consecutive values

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Finding location (or start cell) of highest consecutive values

Also this would take you to it.
=HYPERLINK("#G"&MATCH(MAX(G1:G50380),G1:G50380,0), "GOTO:")
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Finding location (or start cell) of highest consecutive values

On Friday, January 24, 2014 10:22:18 AM UTC-5, Cimjet wrote:
Also this would take you to it.

=HYPERLINK("#G"&MATCH(MAX(G1:G50380),G1:G50380,0), "GOTO:")


Thanks, Cimjet, but that doesn't seem to work with my formula. You gave me a formula that finds the MAX value, but I had a FREQUENCY in there too.

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


Am I missing something?
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
Finding highest values Hoytmedic Excel Worksheet Functions 3 July 4th 07 08:58 PM
Finding records that have 12 consecutive values. Captain Snuggles Excel Programming 1 May 3rd 07 10:19 PM
Finding the highest values bob135 Excel Discussion (Misc queries) 7 April 12th 06 08:22 AM
Finding and Formatting the 5 highest values in a range? Lance Hoffmeyer[_2_] Excel Programming 3 October 18th 05 11:31 PM
Finding (Multiple) Highest Values in Column Shay Hurley Excel Worksheet Functions 1 October 3rd 05 04:19 PM


All times are GMT +1. The time now is 07:12 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"