How to use complex criteria in SUMIF()

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like a simple formula which will give the totals for a month from a
(large)list in another worksheet .
 
=SUMPRODUCT(--TEXT(Sheet2!A2:A2000,"mmmyyyy")="May2006"),Sheet2!B2:B2000)

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 
Thanks I tried this - but dates all diferent days, i.e 01/12/05, 25/12/05,
15/12/05 etc(@500 per month) and list formatted for report so not by date.

jjh64miles
 
But my example extracted the month from the date, so many per month, one or
none is irrelevant

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 

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

Back
Top