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
 

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

Similar Threads

SumIf Function Question 6
SUMIF between 2 dates 1
sumifs, sumif with dates 6
SUMIF help 6
Sumif 5
Sumifs (I think) 5
Help with SUMIF function criteria 4
DSUM - SUMIF - or something else? 3

Back
Top