Count depending on date

  • Thread starter Thread starter sjs
  • Start date Start date
S

sjs

I have rows of data that include a date field. Each row
represents an item in inventory. I need to determine how
many items where received each month, for example how
many items were received during the month on January.

Logically my brain says the field representing January
2004 would read: countif(A1:A1000, month = January and
year = 2004)

Any help would be greatly appreciated!

steve
 
Hi

=SUMPRODUCT((A1:A1000>DATE(2004,1,0))*(A1:A1000<DATE(2004,2,1)))

Arvi Laanemets
 

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