Winning Team Formula

bluenose5709

New Member
Joined
Dec 15, 2012
Messages
49
Office Version
  1. 365
  2. 2024
Platform
  1. Windows
  2. MacOS
  3. Web
Hi

I hope someone can help me with what is most likely a simple formula:

I would like for Cell "N2" to determine which is the higher value between "L2" & "M2" and return the name accordingly, I would also like for it to return "DRAW" if there is no clear winner

2.png


Thank you
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Try this:

Book1
LMN
1BlueRed
289Red
399DRAW
Sheet1
Cell Formulas
RangeFormula
N2:N3N2=IF(L2=M2,"DRAW",IF(L2>M2,$L$1,$M$1))
 
Upvote 0
How about
Excel Formula:
=CHOOSE(SIGN(L2-M2)+2,M1,"Draw",L1)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
Glad we could help & thanks for the feedback.
Fuff,

The help from this community is fantastic. thank you.

I wonder if you could tweak your working formula slightly so that if the values displayed in "L2" & "M2" were both 0 then return nothing ...?

For context, I have a worksheet to record competitions and respective points, these tables are duplicated many times within the sheet so that they may be populated as a new competition is run and total overall points correlated for individuals and against teams.

Whilst your formula is working exactly how I have requested, it is picking up the "0" as a draw, hence the screen shot below shows red as having a point because i have inserted the formula but the competition have not yet run. I need for it to ignore "0" so that at the start the field is blank.

2.png


* I have configured the spreadsheet to not show 0's hence they are not showing in the screenshot

Thank you
 
Upvote 0
Could you have a result where both teams score 0?
 
Upvote 0
Simply put, no. the majority of the time the competition will be individual, even though they are part of a team, simply participating will result in 1 point so if there were only two participants, with one from either team the lowest score would be 1 : 1

the only time that 0 : 0 Occurs is before a competition has taken place on the basis that my points column is populated by a formula and blanks return 0, hence i have hidden all 0s
 
Upvote 0
Ok, how about
Excel Formula:
=IF(SUM(L2:M2)=0,"",CHOOSE(SIGN(L2-M2)+2,M1,"Draw",L1))
 
Upvote 0
Solution

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,520
Latest member
packrat68

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