Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2007

Tip: Looking for answers? Try searching our database.

Matching cells and adding a value to the match.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sibbs - 11 Jun 2007 13:36 GMT
High guys, bit new to this Excel malarky so any help would be fantastic.

I am tring to set a score prediction leauge for our office.

What I would like to do is this

IF D3 & D4 (Home and away team prediction) MATCH C3 & C4 (Home and Away Team
Actual Score) THEN ADD 4 POINTS TO I3.

IF D3 OR D4 ARE GREATER THAN C3 OR C4 THEN ADD 1 POINT TO I3.

So if the correct score is predicted then 4 points are awarded but if the
HOME or AWAY  win/draw is predicted but not corrct score then 1 point is
awarded.

About as clear as mud but any help would be really appreciated.
Mike H - 11 Jun 2007 14:39 GMT
Struggled understanding the rules for devising a formula but here goes:-

=IF(AND(D3=C3,D4=C4),4,IF(OR(C3<>D3,C4<>D4),1))

With regard to the 1 point bit you say:-

IF D3 OR D4 ARE GREATER THAN C3 OR C4 THEN ADD 1 POINT TO I3

I've assumed you mean different too and not just greater than because
otherwise there would be no rule to cover less-than.

Mike

> High guys, bit new to this Excel malarky so any help would be fantastic.
>
[quoted text clipped - 12 lines]
>
> About as clear as mud but any help would be really appreciated.
Teethless mama - 11 Jun 2007 14:42 GMT
=IF(D3&D4=C3&C4,4,1)

> High guys, bit new to this Excel malarky so any help would be fantastic.
>
[quoted text clipped - 12 lines]
>
> About as clear as mud but any help would be really appreciated.
Andy Sibbs - 11 Jun 2007 16:53 GMT
Thanks people, works fine, Cheers

> =IF(D3&D4=C3&C4,4,1)
>
[quoted text clipped - 14 lines]
> >
> > About as clear as mud but any help would be really appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.