#1   Report Post  
Posted to microsoft.public.excel.misc
D D is offline
external usenet poster
 
Posts: 121
Default SUMIFS with Dates

I have a conditional SUMIFS

Detail Sheet

Type Date Qty
Credit 2/1/10 1
Sales 2/2/10 2
Credit 2/15/10 3

Summary Sheet

Week # Start Date End Date Credits Sales
1 2/1/10 2/5/10 1 2
2 2/8/10 2/15/10 3 0

So, basicallay I am summing the Credit column if the Detail is Type Credit
and the Date is = the Start Date on the line and the End Date <= the Date on
the line. Same for Sales. However, as simple as it seems, it just seems not
lo like the dates.

=SUMIFS(Detail!C:C,Detail!A:A,"=B6",Detail!A:A,"< =C6",Detail!B:B,"Credit")

This keeps summing to 0. When I try testing things other than dates, it
works just fine. I tried sticking a '&' before the B6 and C6 - that did not
work.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SUMIFS with Dates

Detail Sheet
Type Date Qty
Credit 2/1/10 1
Sales 2/2/10 2
Credit 2/15/10 3


=SUMIFS(Detail!C:C,Detail!A:A,"=B6",Detail!A:A," <=C6",Detail!B:B,"Credit")
I tried sticking a '&' before the B6 and C6 - that did not work.


Well, according to your Detail sheet the dates are in column B but your
formula is checking column A for the dates!

On your Summary sheet change the header Credits to Credit:

Then enter this formula in Summary D6:

=SUMIFS(Detail!$C:$C,Detail!$B:$B,"="&$B6,Detail! $B:$B,"<="&$C6,Detail!$A:$A,D$5)

Copy acroos to E6 then down as needed.

--
Biff
Microsoft Excel MVP


"d" wrote in message
...
I have a conditional SUMIFS

Detail Sheet

Type Date Qty
Credit 2/1/10 1
Sales 2/2/10 2
Credit 2/15/10 3

Summary Sheet

Week # Start Date End Date Credits Sales
1 2/1/10 2/5/10 1 2
2 2/8/10 2/15/10 3 0

So, basicallay I am summing the Credit column if the Detail is Type Credit
and the Date is = the Start Date on the line and the End Date <= the Date
on
the line. Same for Sales. However, as simple as it seems, it just seems
not
lo like the dates.

=SUMIFS(Detail!C:C,Detail!A:A,"=B6",Detail!A:A,"< =C6",Detail!B:B,"Credit")

This keeps summing to 0. When I try testing things other than dates, it
works just fine. I tried sticking a '&' before the B6 and C6 - that did
not
work.

Any ideas?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMIFS and Dates d Excel Discussion (Misc queries) 1 February 16th 10 10:19 PM
Sumifs with data and dates - I can not figure out the dates gary davis Excel Worksheet Functions 3 January 19th 10 04:01 AM
SUMIFS and dates JLR-Mart Excel Worksheet Functions 3 April 17th 09 01:59 AM
sumifs, sumif with dates Richard Manor Excel Worksheet Functions 6 November 13th 08 12:19 AM
SUMIFS with dates Chinni Krishna Reddy[_2_] Excel Worksheet Functions 2 April 16th 07 10:02 PM


All times are GMT +1. The time now is 10:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"