Help a high school newbie

dshiver

New Member
Joined
Apr 23, 2002
Messages
4
I keep scores of my high schools games in excel. example I have the teams we play in column A, column B is our scores and column C is our opponent scores. What I would like to do is in column d have it automatically add a win if column B is greater than column C and in column E have it place a win in the opponents column if column C is greater than B. I think there is a way to say if column B is greater than column C then = 1 or if column B is less than column C then = 0.
How do I set this up?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
On 2002-10-24 07:15, dshiver wrote:
I keep scores of my high schools games in excel. example I have the teams we play in column A, column B is our scores and column C is our opponent scores. What I would like to do is in column d have it automatically add a win if column B is greater than column C and in column E have it place a win in the opponents column if column C is greater than B. I think there is a way to say if column B is greater than column C then = 1 or if column B is less than column C then = 0.
How do I set this up?

You can do it all in one column -

C1=IF(B1>C1,"We Won :)","We lost :(")
 
Upvote 0
If you are looking to keep your original format here is an idea:

D1=if(B1>C1,0+1,0+0)
D2=if(b2>c2,d1+1,d1+0)
d3=if(b2>c2,d2+1,d2+0)
continue pattern down

To place the W in column E
E1=if(B1>C1,W,L)
E2=if(B2>C2,W,L)
Continue pattern
 
Upvote 0

Forum statistics

Threads
1,213,487
Messages
6,113,941
Members
448,534
Latest member
benefuexx

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