View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default Sumproduct Ignore Text

Hi Steve,

Am Fri, 1 Jun 2012 07:53:30 -0700 (PDT) schrieb Steve:

I am using a sumprouct formula to add the contents in G2:G66 where the
first 8 characters of C2:C66 are Subtotal.
=SUMPRODUCT(--(LEFT(C2:C66,8)="Subtotal",--(G2:G66))


try:
=SUMPRODUCT(--(LEFT(C2:C66,8)="Subtotal"),(G2:G66))

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