sumifs between 2 specific dates entered.

  • Thread starter Thread starter GEO
  • Start date Start date
G

GEO

I am having a problem in writing a function for a multiple spread sheet
workbook that involves dates, qty, and customers. What I what to do is type
in a date range (beginning in one box and ending in another) to produce a
listing sum of the qtys by customer.

This is what I have but I am not doing something right.

=SUMIFS('Master Listing'!D:D,('Master Listing'!N:N,">="$N$35,'Master
Listing'!N:N,"<=$O$35"),'Master Listing'!C:C,B6)
 
Try
=SUMPRODUCT(('Master Listing'!N:N>=$N$35)*('Master Listing'!N:N<=$O$35)*
('Master Listing'!C:C=B6),'Master Listing'!D:D)

If this post helps click Yes
 
Try it like this (all on one line):

=SUMIFS('Master Listing'!D:D,'Master Listing'!N:N,
">="&'Master Listing'!N35,'Master Listing'!N:N,
"<="&'Master Listing'!O35,'Master Listing'!C:C,
'Master Listing'!B6)
 
Ooops!

I used the wrong cell refs for the date boundaries:

=SUMIFS('Master Listing'!D:D,'Master Listing'!N:N,
">="&N35,'Master Listing'!N:N,"<="&O35,
'Master Listing'!C:C,'Master Listing'!B6)
 
">=" should be within double quotes and the cell reference attached using &

=SUMIFS('Master Listing'!D:D,'Master Listing'!N:N,">=" & $N$35,
'Master Listing'!N:N,"<=" & $O$35,'Master Listing'!C:C,B6)

If this post helps click Yes
 
Back
Top