Using SUMIFS with date range

C

Catrina

I am trying to sum a column of cells if several criteria are met...1. equal
to specific customer name, 2. is greater than or equal to a beginning date
entered into a specific cell and 3. is less than or equal to an end date
entered into another specific cell. I can get the formula to work if I use
the beginning and end dates in the SUMIFS formula, but I don't want to change
the formula each time I run the spread. So I want to be able to data enter
the begin and end dates in certain cells (line in B1 and B2) so I only change
those dates to recalculate the totals.
 
E

Eduardo

Hi
I assume you enter the customer name in A1, start day in B1 and finish day
in B2. then your information starts with customers name in cell A5, dates in
B5 and you want to summarize column C

=sumproduct(--($A$5:$A$1000=$A$1),--($B$5:$B$1000>=$B$1),--($B$5:$B$1000<=$B$2),$C$5:$C$1000)
 

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

Top