[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Overs[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]5[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Runs[/TD]
[TD]10[/TD]
[TD]100[/TD]
[TD]7[/TD]
[TD]123[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]Wickets[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
I want get the max value from "Wickets" and corresponding min value from "Runs". For ex, in this table Max value in "Wickets" is 4. I want to find the corresponding min value for 4. So i want my result as 4 and 56(instead of 100 and 123 in runs). I can use the Max function to get the value from A, but my question how i have to find the corresponding minimum value? And i want my result as 4-56
=CONCATENATE(MAX(OFFSET(SD!$C$4:$MM$4,(ROWS($1:2)-1)*4,0)),"-",MIN(IF(SD!$C$4:$MM$4=MAX(OFFSET(SD!$C$4:$MM$4,(ROWS($1:2)-1)*4,0)),SD!$C$3:$MM$3)))
I used this formula and Commit by using CTRL+SHIFT+ENTER and not just Enter by itself.
<tbody>[TR]
[TD]Overs[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]1[/TD]
[TD]5[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Runs[/TD]
[TD]10[/TD]
[TD]100[/TD]
[TD]7[/TD]
[TD]123[/TD]
[TD]56[/TD]
[/TR]
[TR]
[TD]Wickets[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
I want get the max value from "Wickets" and corresponding min value from "Runs". For ex, in this table Max value in "Wickets" is 4. I want to find the corresponding min value for 4. So i want my result as 4 and 56(instead of 100 and 123 in runs). I can use the Max function to get the value from A, but my question how i have to find the corresponding minimum value? And i want my result as 4-56
=CONCATENATE(MAX(OFFSET(SD!$C$4:$MM$4,(ROWS($1:2)-1)*4,0)),"-",MIN(IF(SD!$C$4:$MM$4=MAX(OFFSET(SD!$C$4:$MM$4,(ROWS($1:2)-1)*4,0)),SD!$C$3:$MM$3)))
I used this formula and Commit by using CTRL+SHIFT+ENTER and not just Enter by itself.