Text wild card search

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Below is a sumproduct formula that works great:

=SUMPRODUCT((OFFSET(Chk_COG_Build!$A$1,4,1,CountA!$B$2,1)="Dessert")*(OFFSET(Chk_COG_Build!$A$1,4,2,CountA!$B$2,1)<=AH$4)*(OFFSET(Chk_COG_Build!$A$1,4,3,CountA!$B$2,1)>=AH$4))

I would like to add one more set of criteria into this formula but I am not
sure as to how. I would like to add something like :

OFFSET(Chk_COG_Build!$A$1,4,,CountA!$B$2,1)="Pricing")

But I would like the formula to look for "pricing" ANYWHERE within the cell
it is referencing and I am not sure as to how to go about this. Can anyone
please help me out?

Thanks,
Chad
 
Add this array to your formula:

(ISNUMBER(SEARCH("pricing",OFFSET(Chk_COG_Build!$A$1,4,,CountA!$B$2,1))))

Biff
 

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

Similar Threads


Back
Top