Consecutive Max Occurrence Frequency of a Series and what column Max was Hit

jjlwork

New Member
Joined
Jul 4, 2012
Messages
27
I have a series of quartile performances by month, an employee lands in a certain quartile for a month 1,2,3,4. I am counting the max consecutive occurrences of being in Q4, for my example below this occurs Jul, Aug Sep, Oct for a Max Consecutive Occurrence of 4. What I am struggling with figuring out is I need to know what month or column that occurred in so I can calculate what their tenure would have been at that time.
I am using:
={MAX(FREQUENCY(IF(A2:L2=4,COLUMN(A2:L2)),IF(A2:L2<>4,COLUMN(A2:L2))))}

to determine the # of max consecutive occurrences of "4"
Example
FebMarAprMayJunJulAugSepOctNovDecJanHire DateColumn or Month Of Max Q4Max Q4
44433444432202-01-2017Oct or 94

<tbody>
</tbody>
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
But you could have a situation where an employee was in the fourth quartile a maximum of 4 consecutive months twice; maybe it was a 4Q-max of 2, which could happen four times in a year. Right?
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top