Select the bigger value

shah_ir85

New Member
Joined
May 8, 2016
Messages
40
Hi mate. Im coming again

Please help me to make it simple

A
B
C
D
E
F
G
1
2
P1
1st Result
2nd Result
Total Score
Penalty
3
Team A
2
3
5
5
4
Team B
2
3
5
4
5
Team A
6
Team C
7
P2
8
Team C
1
4
5
9
Team D
2
2
4

<tbody>
</tbody>

Its all about G5 & G6

On G5 & G6 i want the team who win the score at D3/D4 & D8/D9.
If the score is same like D3 & D4 then i want it include the penalty (which will only appear when the score is same only)
The cell for "Penalty" and 2 cell below only appear when the total score is same otherwise its hidden

Please help me to solve these mystery

tQ in advance
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
How about this:
for cell G5: =IF(ABS(MAX(D4:D5)-MIN(D4:D5))>0,INDEX(A4:A5,MATCH(MAX(D4:D5),D4:D5,0),1),INDEX(A4:A5,MATCH(MAX(E4:E5),E4:E5,0),1))

For cell G6: =IF(ABS(MAX(D9:D10)-MIN(D9:D10))>0,INDEX(A9:A10,MATCH(MAX(D9:D10),D9:D10,0),1),INDEX(A9:A10,MATCH(MAX(E9:E10),E9:E10,0),1))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,558
Messages
6,125,507
Members
449,236
Latest member
Afua

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