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

Use sumproduct
=SUMPRODUCT((B1:B100="x")*(C1:C100="y")*(D1:D100))
--
JNW


"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