Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8818027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:59:47+00:00 2026-06-14T04:59:47+00:00

I am using the following Google Docs formula to display cells content if they

  • 0

I am using the following Google Docs formula to display cells content if they contains a specific word or phrase:

=FILTER(Sheet7!B2:B;MMULT(SEARCH(TRANSPOSE(” “&G2:G&” “);” “&Sheet7!B2:B&” “);SIGN(ROW(Sheet7!B2:B))))

In one column, in this case I use column G, I have a list of words which a specific cell must contain to be displayed. All works well, but now I wonder if it is possible to modify this formula so I can also add a list of unwanted words in cells. I would like to use a princip:

CELL MUST CONTAIN phrase BUT NOT phrase.

For example, if cell contains BLUE SHIRT, than its content should be displayed, but if cell contains BLUE SHOES OR BLUE HAT etc., than content should NOT be displayed.

Thank you for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:59:49+00:00Added an answer on June 14, 2026 at 4:59 am

    If the phrases to be excluded are in H2:H:

    =FILTER(Sheet7!B2:B;
            MMULT(SEARCH(TRANSPOSE(" "&G2:G&" ");" "&Sheet7!B2:B&" ");SIGN(ROW(G2:G)));
            NOT(MMULT(SEARCH(TRANSPOSE(" "&H2:H&" ");" "&Sheet7!B2:B&" ");SIGN(ROW(H2:H))))
           )
    

    As discussed previously, be careful with the array in the second argument of MMULT. Its vertical length should match the width of the horizontal array in the first argument.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using following code to locate location on default google map. Uri uri =
By using the following tool oAuth Playground , and following the documentation Google Documents
I am using the following code to get the Google Plus posts, public class
I am using the following code to access the background page function in google
i am using the following code to send a request in jsonp using google
I am using the following method to reverse geocode a google maps latlng: [GClientGeocoder.getLocations(address:String,
When using GWT I get following warning: Referencing deprecated class 'com.google.gwt.user.client.rpc.SerializableException' While it's only
Here is the following code-snippet I'm using in my Google Spreadsheet onEdit() function: else
I'm using jQuery version 1.7.1 from Google CDN and have the following code: $(menuInstance).delay(2000).removeClass('loading').html(ul);
I am using the Google Maps api. When I take the following URL and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.