sumproduct with dates

J

Jake

Hello,

I was trying to use sumproduct to calculate if column a was a date and
column b was item and column c was a dollar amount so I would know how many
items sold during a specific month and year. It works to calculate the exact
date (7/2/2007 or 7/4/06) but I want it to calculate by month (i.e. all july
07) so I will know how many items sold in a given month and year. Many thanks.
 
B

Bernard Liengme

=SUMPRODUCT(--MONTH(A1:A100)=1,.....)
will test that the month of the dates in A1:A100 is 1 (January - for most of
us)
best wishes
 
B

Bernard Liengme

Please do not post separately to more than one NG - most of us read them
all.
Answered in .newusers
best wishes
 

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

Similar Threads


Top