I am trying to search for a value >2 in a row, and return the column header of the cell which meets that criteria. Currently I have INDEX/MATCH/MAX to return the header, but I am having trouble making it conditional (>2). Below I have illustrated the desired result. What formula can I put in column E that will return this?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]H1[/TD]
[TD]H2[/TD]
[TD]H3[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]y[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]H2[/TD]
[/TR]
[TR]
[TD]z[/TD]
[TD]3[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]H1[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]H1[/TD]
[TD]H2[/TD]
[TD]H3[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]y[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]H2[/TD]
[/TR]
[TR]
[TD]z[/TD]
[TD]3[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]H1[/TD]
[/TR]
</tbody>[/TABLE]