View Single Post
  #2  
Old January 12th, 2010, 09:07 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Summing Cells with Text and Numbers

Trevor,

With your 'numbers in a1 - d1 try this

=SUMPRODUCT((LEFT(A11,1)="S")*(RIGHT(A11,LEN(A 11)-1)))

Mike

"Trevor Little" wrote:

Is it possible to use the Sumif function to add numbers with a specific
designator in front of it?

Eg.
A row contains strings like: S8, S10, V5, S5

Is there a formula that can total the S's? (Total would be 23)