How does one get excel sum of a column based on given dates range

  • Thread starter Thread starter co_jer
  • Start date Start date
C

co_jer

in an excel database, there ais one column with multiple dates (some dates
are repeated) and another with related values.

How does one get a sum of related values for a user given date range? What
about averages excluding those with zero values?
 
Here is the first part. Say the dates are in column A and the values are in
column B. Then:
=SUMPRODUCT((A1:A100>DATE(2008,3,12))*(A1:A100<DATE(2008,3,24)),(B1:B100))

will give the sum of the values between 3/13/2008 and 3/23/2008
 

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