Forum Legends,
I have a list of value by month from Apr17 to Mar18 . I want to find out the totals by Quarter with multiple criteria.
Please help me.
Forum Legends,
I have a list of value by month from Apr17 to Mar18 . I want to find out the totals by Quarter with multiple criteria.
Please help me.
In C5
You should now be able to work out the others,![]()
=SUMIFS('TIME SHEET'!$D$2:$D$366,'TIME SHEET'!$A$2:$A$366,">="&DATE(2017,MONTH(LEFT(C$1,3)&0),1),'TIME SHEET'!$A$2:$A$366,"<="&EOMONTH(DATE(2017,MONTH(RIGHT(C$1,3)&0),1),0),'TIME SHEET'!$B$2:$B$366,"G")
IN C9
in C10![]()
=SUMPRODUCT(('TIME SHEET'!$D$2:$D$366),('TIME SHEET'!$A$2:$A$366>=DATE(2017,MONTH(LEFT(C$1,3)&0),1))*('TIME SHEET'!$A$2:$A$366<=EOMONTH(DATE(2017,MONTH(RIGHT(C$1,3)&0),1),0))*(WEEKDAY('TIME SHEET'!$A$2:$A$366,2)=6))
In C11![]()
=SUMPRODUCT(('TIME SHEET'!$D$2:$D$366),('TIME SHEET'!$A$2:$A$366>=DATE(2017,MONTH(LEFT(C$1,3)&0),1))*('TIME SHEET'!$A$2:$A$366<=EOMONTH(DATE(2017,MONTH(RIGHT(C$1,3)&0),1),0))*(WEEKDAY('TIME SHEET'!$A$2:$A$366,2)=7)
in C12![]()
=SUMPRODUCT(('TIME SHEET'!$C$2:$C$366),('TIME SHEET'!$C$2:$C$366<2)*('TIME SHEET'!$A$2:$A$366>=DATE(2017,MONTH(LEFT(C$1,3)&0),1))*('TIME SHEET'!$A$2:$A$366<=EOMONTH(DATE(2017,MONTH(RIGHT(C$1,3)&0),1),0))*(WEEKDAY('TIME SHEET'!$A$2:$A$366,2)<6))
Copy all across and change year in colmnn F to 2018![]()
=SUMPRODUCT(('TIME SHEET'!$C$2:$C$366),('TIME SHEET'!$C$2:$C$366>2)*('TIME SHEET'!$A$2:$A$366>=DATE(2017,MONTH(LEFT(C$1,3)&0),1))*('TIME SHEET'!$A$2:$A$366<=EOMONTH(DATE(2017,MONTH(RIGHT(C$1,3)&0),1),0))*(WEEKDAY('TIME SHEET'!$A$2:$A$366,2)<6))
You could use helper columns I added in F & G and use SUMIFS for all calculations.
e.g in H5
=SUMIFS('TIME SHEET'!$D$2:$D$366,'TIME SHEET'!$F$2:$F$366,"=" &C$2,'TIME SHEET'!$B$2:$B$366,"G")
Last edited by JohnTopley; 05-14-2017 at 04:04 AM.
Thank you so much for your help and reply. Sorry for he late reply because I am not received any email notification from "Forum".
Formulas working charm. Thank you.
your formula working is fine for eomonths criteria was single cells.(C1=Apr-Jue).
I want the same results but eomonth criteria two columns are C2&C3=April-17 & June-17).
I followup your way and change the edate and emonth ranges but return error. How do resolve the issue.
Please help and advice.
Re yout PM message: try this,,,,
=SUMIFS('TIME SHEET'!$D$2:$D$366,'TIME SHEET'!$A$2:$A$366,">="&C$2,'TIME SHEET'!$A$2:$A$366,"<="&EOMONTH(C$3,0),'TIME SHEET'!$B$2:$B$366,"G")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks