View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid vezerid is offline
external usenet poster
 
Posts: 751
Default Excel lookup in multiple areas

=SUMPRODUCT((B1:B100=X)*(C1:C100=Y)*D1:D100)

HTH
Kostis Vezerides


Kitbasher wrote:
I have a long log and I need to look up and sum if it meets certain criteria.
I have used sumif and that works for one criteria but how do I do a sumif
type function if I have more than one.

If B1:B100=X and C1:C100=Y then SUM D1:D100 if they contain both X&Y