Game Results

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Hi

I have a table (columns A to E) which shows 8 x games, with two teams playing each other in each. I have made selections in column G and would like either WIN, LOSS or DRAW based on the selection in G, shown in column H. Suitable formula required in column H.

Thanks



Book1
ABCDEFGH
1GameTeam 1ScoreTeam 2ScoreTeam SelectionWin / Loss
21A34I30AWin
32B20J36JWin
43C20K18KLoss
54D38L34DWin
65E12M26MWin
76F40N18FWin
87G26O22GWin
98H24P24PDraw
Sheet3
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Steve let's get the ball rolling. Here is my solution to your problem. Sometimes the A+ students will weigh in and come up with an alternative.

Book1
ABCDEFGH
1GameTeam 1ScoreTeam 2ScoreTeam SelectionWin / Loss
21A34I30AWin
32B20J36JWin
43C20K18KLoss
54D38L34DWin
65E12M26MWin
76F40N18FWin
87G26O22GWin
98H24P24PDraw
Data
Cell Formulas
RangeFormula
H2:H9H2=IF(B2=G2,IF(C2>E2,"Win",IF(C2=E2,"Draw","Loss")),IF(C2>E2,"Loss",IF(C2=E2,"Draw","Win")))
 
Upvote 1
Hey thanks Ezguy4u

Works fine thanks. Open to all suggestions.

Thanks for your help.
 
Upvote 0
Open to all suggestions.
Here are two more then.
(BTW, you are a pretty good picker! :biggrin:)

23 07 09.xlsm
ABCDEFGHI
1GameTeam 1ScoreTeam 2ScoreTeam SelectionWin / LossWin / Loss
21A34I30AWinWin
32B20J36JWinWin
43C20K18KLossLoss
54D38L34DWinWin
65E12M26MWinWin
76F40N18FWinWin
87G26O22GWinWin
98H24P24PDrawDraw
WLD
Cell Formulas
RangeFormula
H2:H9H2=MID("LossDrawWin",IF(B2=G2,4,-4)*SIGN(C2-E2)+5,4)
I2:I9I2=INDEX({"Loss","Draw","Win"},IF(B2=G2,1,-1)*SIGN(C2-E2)+2)
 
Last edited:
Upvote 0
Solution
Hey thanks Peter

Both of your's work fine as well.

My picking is like the weather. Sometimes good and sometimes bad. Obviously won't make a living out of it.

All the best and thanks again.

Steve
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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