SUMIF function - criteria of between two dates. How?

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

Guest

When using the SUMIF function it allows a criteria from one colomn. How do
you right that to be between two dates.
 
=SUMIF(DateRange,">="&X2,SumRange)-SUMIF(DateRange,">"&Y2,SumRange)

where X2 <= Y2, calculates a total for dates that are between X2 and Y2
inclusive.
 
Thanks for the correction - the other will also work if you include the
..html (my browser adds it if necessary).
 

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