View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Ambassador Ambassador is offline
external usenet poster
 
Posts: 4
Default sumif formula with multiple criteria question

Given range named "type" and "qty", i am trying to write a formula that will
sum the "qty" of multiple "type"s together. I've tried
=sum(if((type="apples")+(type="oranges"),qty,0) and
=sumif(type,(or("apples"),("oranges")),qty)
neither work....can someone help me please?

Thanks,
Amb