sumifs between 2 specific dates entered.

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)
 
J

Jacob Skaria

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
 
T

T. Valko

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)
 
T

T. Valko

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)
 
J

Jacob Skaria

">=" 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
 

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