Using SUMIFS with multiple AND OR conditions

前端 未结 7 2223
青春惊慌失措
青春惊慌失措 2020-12-10 15:50

I would like to create a succinct Excel formula that SUMS a column based on a set of AND conditions, plus a set of OR conditions.

My Excel table contains the followi

7条回答
  •  抹茶落季
    2020-12-10 16:10

    Quote_Month (Worksheet!$D:$D) contains a formula (=TEXT(Worksheet!$E:$E,"mmm-yy"))to convert a date/time number from another column into a text based month reference.

    You can use OR by adding + in Sumproduct. See this

    =SUMPRODUCT((Quote_Value)*(Salesman="JBloggs")*(Days_To_Close<=90)*((Quote_Month="Cond1")+(Quote_Month="Cond2")+(Quote_Month="Cond3")))

    ScreenShot

    enter image description here

提交回复
热议问题