updating a win and loss column for Google Sheets

Daniel12

New Member
Joined
Aug 17, 2023
Messages
7
Platform
  1. MacOS
Good morning,

I have a spreadsheet for keeping up with a volleyball tournament. I need a formula to indicate whether a match was won (or lost). You must win 2 out of possible 3 sets played to win the match.

So, in this sheet, if D5>E5, and/or D6>E6, and/or D7>E7, then it would place a "1" in column J5:J7
So a team might lose the first set (D5<E5), but win the next two, that would count as a win. Or perhaps they win set 1 and 2, or set 1 and 3.

the column K5:K7 will indicate losses. this will be applied to all for teams listed.

I cant figure out the formula to use.

Thanks for the help
 

Attachments

  • Screenshot 2023-08-17 at 10.19.31 AM.png
    Screenshot 2023-08-17 at 10.19.31 AM.png
    211.2 KB · Views: 40
Last edited by a moderator:

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi & welcome to MrExcel.

What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Hi & welcome to MrExcel.

What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Sorry I didnt include this. I am actually using google sheets on a '22 Macbook Air, but from what I have found, Excel and Sheets are quite compatible
 
Upvote 0
Not sure if this works for sheets, but try
Fluff.xlsm
DEFGHIJ
52520202515251
62519251816251
715100
Sheet6
Cell Formulas
RangeFormula
J5:J7J5=SIGN(D5:D7-E5:E7)
Dynamic array formulas.
 
Upvote 0
Not sure if this works for sheets, but try
Fluff.xlsm
DEFGHIJ
52520202515251
62519251816251
715100
Sheet6
Cell Formulas
RangeFormula
J5:J7J5=SIGN(D5:D7-E5:E7)
Dynamic array formulas.

Thank you. This is the problem I run in to. This formula works in some cases but not all.
 
Upvote 0
What cases doesn't it work in?
 
Upvote 0
What cases doesn't it work in?
A team must win 2 out of the 3 sets to be counted as a win in the win column. So in this example, this team does win 2 out of 3, but the formula shows as -1 rather than 1
 

Attachments

  • Screenshot 2023-08-17 at 11.02.46 AM.png
    Screenshot 2023-08-17 at 11.02.46 AM.png
    88.8 KB · Views: 6
Upvote 0
I found one to work
=if(D5>E5,1,0)+AND(D6>E6,1,0)+if(D7>E7,1,0)

Now I will have to repeat it for each particular match

thanks for the help
 
Upvote 0
I found one to work
=if(D5>E5,1,0)+AND(D6>E6,1,0)+if(D7>E7,1,0)

Now I will have to repeat it for each particular match

thanks for the help
I spoke too soon. I thought I tried every variation, but I didn't. This one returns a false report if the first data set is true but not the others. So how do I make this conditional on 2 of the 3 being true, no matter the order?
 
Upvote 0

Forum statistics

Threads
1,224,903
Messages
6,181,648
Members
453,059
Latest member
jkevin

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