View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
joemeshuggah joemeshuggah is offline
external usenet poster
 
Posts: 96
Default How to avoid '*' being used as wildcard in SUMIF?

are you using quotes?

e.g.
=SUMIF(A:A,"*SPEC",B:B)

"Kealkil4" wrote:

A data field for which I wish to do a SUMIF begins with the character "*".
e.g I have a Product Code of "*SPEC" where the * is the first character of a
5 character code. When I do a SUMIF the answer includes any row where the
Range value ends with the characters "SPEC".

I do not want the "*" being used as a wildcard in this instance.

All Suggestions welcome.

Issue arises in both Excel 2003 and Excel 2007.