Sumif - does not contain.

J

jerrymcm

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:B10)

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

My question now is, how would I make this the inverse, i.e does NOT contain
“outlet�
 
P

Peo Sjoblom

=SUMPRODUCT(--(ISERROR(SEARCH("outlet",A2:A10))),B2:B10)


=SUMIF(A:A,"<>*outlet*",B:B)


--


Regards,


Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top