View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default SUMIF using two ranges

Try Sumproduct:-

=SUMPRODUCT((A1:A100="xxx")*(B1:B100="yyy")*(D1:D1 00))

Mike


"yvonneb" wrote:

I would like to use SUMIF with two IF ranges ie:

If Column A="xxx" and Column B="yyy" then sum column D

Is this possible? I have only every used SUMIF(A:A,"xxx",D:D)

Many thanks
Yvonne