Thread: sumproduct
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default sumproduct

Hi,

Am Sat, 11 Aug 2012 17:39:13 +0000 schrieb old coach:

add one 2 more conditions, same as B2:B5.
if cell has "J 0" as the lead characters or "Y 0"
It will work separately but when i add it to the above formula as a 3rd
& 4th condition, it shows 0 as answer.


I hope, i understood your problem correctly.
Try:
=SUMPRODUCT((LEFT(A2:A5,4)="4sha")*((LEFT(B2:B5,3) ="Y
0")+(LEFT(B2:B5,3)="J 0")+(LEFT(B2:B5,1)="0")))


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2