Forum Discussion

ajpalm531's avatar
ajpalm531
Copper Contributor
Mar 15, 2022
Solved

SUM by Month formula not working

The formula I am having trouble with is as follows: =SUMIFS($E$6:$E$266,$A$6:$A$266,">="&$A273,$A$6:$A$266,"<="&EOMONTH($A273,0)) It is to calculate the monthly totals of a sheet. The problem is it...
  • HansVogelaar's avatar
    Mar 15, 2022

    ajpalm531 

    Perhaps the values in A6:A266 include a time component. Try

    =SUMIFS($E$6:$E$266,$A$6:$A$266,">="&$A273,$A$6:$A$266,"<"&EOMONTH($A273,0)+1)

    If A273 is the first day of a month, you can also use

    =SUMIFS($E$6:$E$266,$A$6:$A$266,">="&$A273,$A$6:$A$266,"<"&EDATE($A273,1))

Resources