Is it possible to =sumif(and(a1:a10,"hello",c1:c10),(left(d1:d10,2)="AD") somethin like this?
F Fred Lavallee May 16, 2005 #1 Is it possible to =sumif(and(a1:a10,"hello",c1:c10),(left(d1:d10,2)="AD") somethin like this?
J JE McGimpsey May 16, 2005 #2 One way: =SUMPRODUCT(--(A1:A10="hello"),--(LEFT(D110,2)="AD"),C1:C10) For an explanation of the "--", see http://www.mcgimpsey.com/excel/doubleneg.html
One way: =SUMPRODUCT(--(A1:A10="hello"),--(LEFT(D110,2)="AD"),C1:C10) For an explanation of the "--", see http://www.mcgimpsey.com/excel/doubleneg.html
B bj May 16, 2005 #3 Try =sumproduct(--(a1:a10="hello"),--(left(d1:d10,2)="AD"),c1:c10) [the --( is to convert a logical true false to 1,0]
Try =sumproduct(--(a1:a10="hello"),--(left(d1:d10,2)="AD"),c1:c10) [the --( is to convert a logical true false to 1,0]
A Alok May 16, 2005 #4 Use Sumproduct instead. =Sumproduct(--(A1:A10="hello"),--(left(d1:d10,2)="AD"),(C1:C10)) Alok Joshi
P Peo Sjoblom May 16, 2005 #5 No, but you can use SUMPRODUCT =SUMPRODUCT(--(A1:A10="hello"),--(LEFT(D110,2)="AD"),C1:C10) Regards, Peo Sjoblom
No, but you can use SUMPRODUCT =SUMPRODUCT(--(A1:A10="hello"),--(LEFT(D110,2)="AD"),C1:C10) Regards, Peo Sjoblom