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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Iridium

Well-known Member
Joined
Jul 15, 2002
Messages
2,831
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 :(")
 

rmcbreen

New Member
Joined
Oct 22, 2002
Messages
26
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
 

Forum statistics

Threads
1,181,583
Messages
5,930,739
Members
436,758
Latest member
doublecritch

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
Top