Forum Discussion

Herrmenan's avatar
Herrmenan
Copper Contributor
Aug 24, 2019
Solved

Help with Excel formula

I need help with Excel to return the sum of the values in a column if certain condition. In the table below, the in the cell next to Month 1, I need to add a formula that will tell Excel to return th...
  • Haytham Amairah's avatar
    Aug 24, 2019

    Herrmenan

     

    Hi,

     

    You can use this formula:

    =SUMPRODUCT((YEAR($A$2:$A$16)=E7)*(MONTH($A$2:$A$16)=F7),$B$2:$B$16)

     

    Hope that helps

Resources