Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-30-2018, 01:29 AM
zara007 zara007 is offline Return column header from first cell from consecutive cells below a threshold Windows 7 32bit Return column header from first cell from consecutive cells below a threshold Office 2010 32bit
Novice
Return column header from first cell from consecutive cells below a threshold
 
Join Date: May 2018
Posts: 5
zara007 is on a distinguished road
Question Return column header from first cell from consecutive cells below a threshold

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?
Attached Files
File Type: xlsx Example.xlsx (10.4 KB, 10 views)
Reply With Quote
 

Tags
formula, header, match



Similar Threads
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
Return column header from first cell from consecutive cells below a threshold have a formula that combines two cells return a zero instead of a blank cell Kubi Excel 3 08-07-2017 11:52 PM
Return column header from first cell from consecutive cells below a threshold If value of cell A Matches a value in a Range of cells (column) then add value of cell A to cell C 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

Other Forums: Access Forums

All times are GMT -7. The time now is 01:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft