sum if x=val and y between 2 dates

G

Guest

I need to sum a range (column) of cells dependant on 3 criteria. I have spent
ages searching on here, but have become more and more confused!!

Sum all Column Q if cells in Column M=B1
and if cells in Column C >=V2 and <V3

where V2 and V3 are start and end dates and B1 is a text string and columns
Q,M and C are on a different worksheet to B1, V2, V3 and the actual sumif
formula.

I have tried
=SUM(IF('Conferences
2007'!$M:$M=Totals!$B$1,IF($C:$C>=Totals!V2,IF($C:$C<Totals!V3,$Q:$Q,))))

But just get '0'

Any ideas - thanks!
 
G

Guest

Jennie try

=SUMPRODUCT(--('Conferences 2007'!M1:M65536>=Totals!V2),('Conferences
2007'!M1:M65536<=Totals!V2))*(Totals!Q1:Q65536))

I am not sure that I have the sheets right

Peter
 
G

Guest

Thanks so much guys, I'm not back at work til Tuesday, so I shall have a go
then.
 
G

Guest

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top