View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Sumif - does not contain.

Just replace ISNUMBER with ISERROR in the sumproduct
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"jerrymcm" wrote:
A few days ago, I asked about creating a sumif formula that adds the values
in one column for the cells in another column that contain the text string
"outlet".

I got these answers, both of which worked well.

=SUMPRODUCT(ISNUMBER(SEARCH("outlet",A2:A10))*B2:B 10)

=sumif(a:a,"*outlet*",b:b)

My question now is, how would I make this the inverse, i.e does NOT contain
€śoutlet€ť?