SUMIF question with multiple criteria

G

Gretchster

I have the following formula written that isn't functioning properly:
=SUMIF('2005WCC'!B2:K278, AND(MATCH('2005WCC'!$B$2:$B278,{"State
Fund","Muirfield","Royal"},0)=1,('2005WCC'!$J$2:$J278)>1,
'2005WCC'!$K$2:$K278=B5), '2005WCC'!$J$2:$J278)

Any help would be appreciated.

Thanks,
gretchen
 
R

Roger Govier

Hi Gretchen

SUMIF won't take that many arguments.
One way would be

=SUMPRODUCT(--('2005WCC'!B2:B278="Muirfield"),--('2005WCC'!J2:J278>1),--('2005WCC'!K2:K278=B5),'2005WCC'!J2:J278)


Regards

Roger Govier
 
G

Gretchster

Thanks Roger. Worked great.

gretchen

Roger Govier said:
Hi Gretchen

SUMIF won't take that many arguments.
One way would be

=SUMPRODUCT(--('2005WCC'!B2:B278="Muirfield"),--('2005WCC'!J2:J278>1),--('2005WCC'!K2:K278=B5),'2005WCC'!J2:J278)


Regards

Roger Govier
 
Top