View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
John John is offline
external usenet poster
 
Posts: 2,069
Default SumIF or CountIF

Eduardo,

That has sorted my problem, many thanks for your help.

"Eduardo" wrote:

Hi,
I assume you have
League Matches
Played cell D1
Wins cell D2
losses Cell D3
Draw Cell D4

in cell E1 enter


=sumproduct(--("League"=$B$2:$B$100))
in cell E2 enter

=sumproduct(--(D2=$B$2:$B$100))

copy this formula down

Do the same for cup



"John" wrote:

I have two columns in Excel 2007 as follows:

Win/Lose/Draw League or Cup
Lose Cup
Win League
Draw Cup
Win League

I want to be able to count in two seperate cells the Total played for Cup &
League matches as follows:

League Matches Cup Matches
Played 2 Played
Wins 2 Wins 0
losses 0 losses 1
Draws 0 Draws 1
Points 6


All help would be greatly appreciated.

John