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
 
Back
Top