Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Matching cells and adding a value to the match.

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.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Matching cells and adding a value to the match.

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



"Sibbs" wrote:

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.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Matching cells and adding a value to the match.

=IF(D3&D4=C3&C4,4,1)


"Sibbs" wrote:

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.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Matching cells and adding a value to the match.

Thanks people, works fine, Cheers

"Teethless mama" wrote:

=IF(D3&D4=C3&C4,4,1)


"Sibbs" wrote:

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.


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
Help with Matching Text Fields - Then Moving the Matching Cells Side by Side [email protected] Excel Discussion (Misc queries) 2 June 11th 07 02:38 PM
matching two columns and adding info newyorkjoy Excel Discussion (Misc queries) 4 February 22nd 07 09:38 AM
Search & match more than one worksheet and matching cells. Monica Excel Worksheet Functions 0 July 30th 06 10:51 PM
Adding data to matching records... OcellNuri Excel Worksheet Functions 7 June 27th 06 08:26 PM
Only text values matching using index/match lookup - data type pro Stanton Excel Worksheet Functions 1 August 2nd 05 01:05 AM


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

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

About Us

"It's about Microsoft Excel"