Search code examples
dateexcel-formulaformulassumifs

Sumif Between Dates in Excel Not Working


I am trying to return/sum-if the "total bonus" in column F if the "effective date" is in between the two dates listed in cells G2 and H2. My current formula is returning a "0". What is wrong here?

Formulas are set to automatic in settings.

enter image description here


Solution

  • Try a SUMIFS,

    =sumifs(f$3:f$5, e$3:e$5, ">="&$g$2, e$3:e$5, "<="&$h$2)