S sachar Member Apr 9, 2016 #1 Dear All, With reference to the attach sample file, May I know what is the wrong with Sumif formula the worksheet Cell ”B16” however, there should be the total of Jan, Feb & Mar. Please help me? Thanking you. Attachments Sample file_automatic sum of month.xlsx 11.6 KB · Views: 10
Dear All, With reference to the attach sample file, May I know what is the wrong with Sumif formula the worksheet Cell ”B16” however, there should be the total of Jan, Feb & Mar. Please help me? Thanking you.
N Naresh Yadav Active Member Apr 9, 2016 #2 Dear Sachar, pl try this one =SUMPRODUCT((TEXT(A3:A14,"mmm")={"Jan","Feb","Mar"})*(B3:B14))
V Villalobos Active Member Apr 9, 2016 #3 maybe =SUMIF(A3:A14,"<="&(EOMONTH(TODAY(),-1)),B3:B14) Attachments Sample file_automatic sum of month.xlsx 11.8 KB · Views: 6
Deepak Excel Ninja Apr 9, 2016 #4 A little eased where start & end date are defined.. =SUMIFS(B3:B14,A3:A14,">="&DATE(2016,1,1),A3:A14,"<="&DATE(2016,3,31)) Sorter.. =SUMPRODUCT((MONTH(A3:A14)<4)*$B$3:$B$14) more sorter but CSE =SUM((MONTH(A3:A14)<4)*$B$3:$B$14)
A little eased where start & end date are defined.. =SUMIFS(B3:B14,A3:A14,">="&DATE(2016,1,1),A3:A14,"<="&DATE(2016,3,31)) Sorter.. =SUMPRODUCT((MONTH(A3:A14)<4)*$B$3:$B$14) more sorter but CSE =SUM((MONTH(A3:A14)<4)*$B$3:$B$14)
Deepak Excel Ninja Apr 9, 2016 #7 One more.. =SUMPRODUCT((MONTH(A3:A14)={1,2,3})*$B$3:$B$14) Just for fun... =SUMPRODUCT(NOT(ISERROR(MONTH(A3:A14)={1;2;3}))*$B$3:$B$14)
One more.. =SUMPRODUCT((MONTH(A3:A14)={1,2,3})*$B$3:$B$14) Just for fun... =SUMPRODUCT(NOT(ISERROR(MONTH(A3:A14)={1;2;3}))*$B$3:$B$14)