Link to home
Start Free TrialLog in
Avatar of Sanjay Gandhi
Sanjay GandhiFlag for India

asked on

COUNTIFS Date Range With Month

Hi,

I have a range of dates spanning from one month to other months. Then I have a summary where there are months. Now in the summary I want the count to be done for months seeing the dates in the range.

Attached is the file which explains the problem. Appears simple, but I tried a v-e-r-y big formula to achieve this. Any better way?

Thanks,
San.CountIFs-Month.xlsx
Avatar of byundt
byundt
Flag of United States of America image

To sum matching values:
=SUMIFS($D$4:$D$20,$B$4:$B$20,">=" & $F24,$B$4:$B$20,"<=" & EOMONTH($F24,0),$C$4:$C$20,G$23)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of byundt
byundt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial