Solved

SumIfs with Between Date Range

Posted on 2014-04-22
4
265 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 48

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 48

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now