![]() |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hello, I've got the formula to identify that largest group of consecutive cells that fall below a threshold in a row of data and would like to show the column header of the first cell. Example data is attached.
I'm using a CSE (array) formula: =MAX(FREQUENCY(IF(A2:N2<P2,COLUMN(A2:N2)),IF(A2:N2 >P2,COLUMN(A2:N2)))) to identify the 'longest consecutive event' and would like cell S2 to show '9', which is the column header for the first cell in the longest consecutive event; and cell S3 to show '2', which is the first cell in the longest consecutive event on that row. Is this possible? |
Tags |
formula, header, match |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How To Find Highest Value In A Row And Return Column Header | ballpoint | Excel | 1 | 02-23-2018 11:18 AM |
![]() |
Kubi | Excel | 3 | 08-07-2017 11:52 PM |
![]() |
rick10r | Excel | 1 | 07-05-2016 12:07 PM |
Find text within cell and return column and row title next to the name on a new sheet. | tanyabowring@live.co.uk | Excel Programming | 2 | 03-26-2015 01:48 AM |
Return Sum value of one column from cells not blank in another column | zulugandalf | Excel | 3 | 08-14-2014 03:37 AM |