Solved

SumIfs with Between Date Range

Posted on 2014-04-22
4
268 Views
Last Modified: 2014-04-22
I have the following function =IFERROR(SUMIFS($L:$L,$D:$D,"*fj*b*",$F:$F,"*14",$E:$E,"<> hld",$C:$C,"mys")/COUNTIFS($D:$D,"*fj*b*",$F:$F,"*14",$E:$E,"<> hld",$C:$C,"mys"),0)

and need to add the additional criteria of between the date range of 2/2/14 and 5/3/14 and the date range is found in column K. What would be the best way to add the criteria?

Thanks
0
Comment
Question by:jmac001
  • 2
  • 2
4 Comments
 
LVL 50

Expert Comment

by:Rgonzo1971
ID: 40015340
Hi,

you say you have a date range but only one column

How's that?

Regards
0
 

Author Comment

by:jmac001
ID: 40015384
Column K represent an opening date and my goal is to only add if the date falls in the first quarter which is Feb - May 3, is it possible to update the equation with only one date column?
0
 
LVL 50

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40015441
Hi,

pls try

=IFERROR(SUMIFS($L:$L,$D:$D,"*fj*b*",$F:$F,"*14",$E:$E,"<> hld",$C:$C,"mys",$K:$K,">="&DATE(2014,2,2),$K:$K,"<="&DATE(2014,5,3))/COUNTIFS($D:$D,"*fj*b*",$F:$F,"*14",$E:$E,"<> hld",$C:$C,"mys",$K:$K,">="&DATE(2014,2,2),$K:$K,"<="&DATE(2014,5,3)),0)

Open in new window

0
 

Author Closing Comment

by:jmac001
ID: 40015556
Thanks that worked!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question