#1   Report Post  
Number_8
 
Posts: n/a
Default Football Scores


Hi,

I have an xls with a list of football matches. In column A I will have
the home scores and in column B, I will have teh away team's scores. I
then have in column C my predicition for teh home team and in column D
the away team score predcition. I want column E to compare teh two sets
of scores and award me 3 points for an exact match of the scores and 1
point if I predict teh correct wwinner or a draw. - How can I do this?

Thanks

Simon


--
Number_8
------------------------------------------------------------------------
Number_8's Profile: http://www.excelforum.com/member.php...fo&userid=6590
View this thread: http://www.excelforum.com/showthread...hreadid=395265

  #2   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Try


=IF(AND(A1=C1,B1=D1),3,IF(AND(A1<B1,C1<D1),1,IF(AN D(A1B1,C1D1),1,IF(AND(A1=B1,C1=D1),1,0))))





Number_8 Wrote:
Hi,

I have an xls with a list of football matches. In column A I will have
the home scores and in column B, I will have teh away team's scores. I
then have in column C my predicition for teh home team and in column D
the away team score predcition. I want column E to compare teh two sets
of scores and award me 3 points for an exact match of the scores and 1
point if I predict teh correct wwinner or a draw. - How can I do this?

Thanks

Simon



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=395265

  #3   Report Post  
Number_8
 
Posts: n/a
Default


Perfect thanks


--
Number_8
------------------------------------------------------------------------
Number_8's Profile: http://www.excelforum.com/member.php...fo&userid=6590
View this thread: http://www.excelforum.com/showthread...hreadid=395265

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

I think this is it Simon

=IF(AND(A2=C2,B2=D2),3,IF(AND(A2=B2,C2=D2),1,IF(SI GN(A2-B2)=SIGN(C2-D2),1,0)
))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Number_8" wrote in
message ...

Hi,

I have an xls with a list of football matches. In column A I will have
the home scores and in column B, I will have teh away team's scores. I
then have in column C my predicition for teh home team and in column D
the away team score predcition. I want column E to compare teh two sets
of scores and award me 3 points for an exact match of the scores and 1
point if I predict teh correct wwinner or a draw. - How can I do this?

Thanks

Simon


--
Number_8
------------------------------------------------------------------------
Number_8's Profile:

http://www.excelforum.com/member.php...fo&userid=6590
View this thread: http://www.excelforum.com/showthread...hreadid=395265



  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Mine can be simplified a bit

=IF(AND(A2=C2,B2=D2),3,IF(AND(A2=B2,C2=D2),1,--(SIGN(A2-B2)=SIGN(C2-D2))))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
I think this is it Simon


=IF(AND(A2=C2,B2=D2),3,IF(AND(A2=B2,C2=D2),1,IF(SI GN(A2-B2)=SIGN(C2-D2),1,0)
))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Number_8" wrote

in
message ...

Hi,

I have an xls with a list of football matches. In column A I will have
the home scores and in column B, I will have teh away team's scores. I
then have in column C my predicition for teh home team and in column D
the away team score predcition. I want column E to compare teh two sets
of scores and award me 3 points for an exact match of the scores and 1
point if I predict teh correct wwinner or a draw. - How can I do this?

Thanks

Simon


--
Number_8
------------------------------------------------------------------------
Number_8's Profile:

http://www.excelforum.com/member.php...fo&userid=6590
View this thread:

http://www.excelforum.com/showthread...hreadid=395265





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Golf Handicap Using Last 5 Scores Golf League Schedule Excel Worksheet Functions 5 May 13th 05 12:14 AM
Lookup baseball scores in 1 worksheet and have them display in ano Oceanverd Excel Worksheet Functions 3 May 1st 05 04:44 AM
Using functions to calculate multiple scores according to their level of difficulty cheski Excel Worksheet Functions 6 March 13th 05 08:32 PM
Exam scores Newbie Excel Worksheet Functions 3 January 21st 05 01:05 AM
How can I total the top 9 scores of 12 weeks in a sporting contest Vance Burton Excel Discussion (Misc queries) 8 January 18th 05 12:08 AM


All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"