メインコンテンツへスキップ

Excelで複数の単語に条件付き書式検索を適用するにはどうすればよいですか?

ドキュメントのハイライトに単語が含まれている1

特定の値に基づいて行を強調表示するのは簡単かもしれません。この記事では、列Dにあるかどうか、つまりセルの内容に次のテキストが含まれているかどうかに応じて、列Aのセルを強調表示する方法について説明します。特定のリストを表示し、左のスクリーンショットのように強調表示します。

セルを強調表示する条件付き書式には、いくつかの値のXNUMXつが含まれています

フィルタセルには特定の値が含まれており、それらを一度に強調表示します


セルを強調表示する条件付き書式には、いくつかの値のXNUMXつが含まれています

実際には、 条件付き書式 この仕事を解決するのを助けることができます、次のステップで行ってください:

1. まず、特定の単語リストの範囲名を作成し、セルテキストを選択して範囲名を入力してください 私のリスト (必要に応じて名前を変更できます) 名前 ボックス、プレス 入力します キー、スクリーンショットを参照してください:

ドキュメントのハイライトに単語が含まれている2

2。 次に、強調表示するセルを選択して、をクリックします ホーム > 条件付き書式 > 新しいルール、で 新しい書式設定規則 ダイアログボックスで、以下の操作を完了します。

(1.)クリック 式を使用して、フォーマットするセルを決定するルールタイプを選択します リストボックス;

(2.)次に、次の式を入力します。 = SUM(COUNTIF(A2、 "*"&Mylist& "*")) (A2 強調表示する範囲の最初のセルです。 私のリスト 手順1)で作成した範囲名です。 この数式が真であるときの書式値 テキストボックス;

(3.)次にクリック フォーマット

ドキュメントのハイライトに単語が含まれている3

3。 行く セルの書式設定 ダイアログボックスで、XNUMXつの色を選択して、下のセルを強調表示します。 埋める タブ、スクリーンショットを参照してください:

ドキュメントのハイライトに単語が含まれている4

4. そして、 OK > OK ダイアログを閉じるには、特定のリストセル値のいずれかを含むすべてのセルが一度に強調表示されます。スクリーンショットを参照してください。

ドキュメントのハイライトに単語が含まれている5


フィルタセルには特定の値が含まれており、それらを一度に強調表示します

あなたが持っている場合 Kutools for Excelそのと スーパーフィルター ユーティリティを使用すると、指定したテキスト値を含むセルをすばやくフィルタリングして、一度に強調表示できます。

Kutools for Excel : 300以上の便利なExcelアドインがあり、30日以内に制限なしで無料で試すことができます. 

インストールした後 Kutools for Excel、次のようにしてください。

1に設定します。 OK をクリックします。 クツールズプラス > スーパーフィルター、スクリーンショットを参照してください:

2。 の中に スーパーフィルター ペインで、次の操作を実行してください。

  • (1.)チェック 指定の オプションをクリックし、次にクリックします。 ドキュメントのハイライトに単語が含まれている11 フィルタリングするデータ範囲を選択するボタン。
  • (2.)必要に応じて、フィルター基準間の関係を選択します。
  • (3.)次に、基準リストボックスに基準を設定します。

ドキュメントのハイライトに単語が含まれている8

3。 基準を設定したら、をクリックします フィルタ セルをフィルタリングするには、必要に応じて特定の値が含まれます。 次に、下の選択したセルにXNUMXつの塗りつぶし色を選択します ホーム タブ、スクリーンショットを参照してください:

ドキュメントのハイライトに単語が含まれている9

4。 そして、すべてのセルに特定の値が含まれていることが強調表示されます。これで、をクリックしてフィルターをキャンセルできます。 クリア ボタン、スクリーンショットを参照してください:

ドキュメントのハイライトに単語が含まれている10

今すぐExcel用のダウンロードと無料トライアルKutoolsをクリックしてください!


デモ:フィルターセルには特定の値が含まれており、それらを一度に強調表示します

Kutools for Excel:300以上の便利なExcelアドインがあり、30日以内に制限なしで無料で試すことができます。 今すぐダウンロードして無料トライアル!

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (34)
Rated 4.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
=SUMPRODUCT(--ISNUMBER(SEARCH(IF(Mylist<>"",Mylist),A2)))>0
How to Format whole row in this formula
This comment was minimized by the moderator on the site
THANK YOU VERY MUCH, YOU SAVED A LOT OF TIME OF ME.
This comment was minimized by the moderator on the site
Hello, Akash,
Glad it can help you!
Have a good new year! 😄
This comment was minimized by the moderator on the site
Above formula not working, coz , My condition (i.e if my list is blank). And if my list is remaining blank excel formatting all cells. Help me.
This comment was minimized by the moderator on the site
Hello, Akash,
If your data list contains blank cell, please apply the below formula into the Conditional Formatting:
=SUMPRODUCT(--ISNUMBER(SEARCH(IF(Mylist<>"",Mylist),A2)))>0
Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
I want to format whole Row. In this formula how to format whole Row.
This comment was minimized by the moderator on the site
I want to format only the text contained in my list. I do not want to format if my list (one or two cell of my list) is blank
This comment was minimized by the moderator on the site
Hello, AKASH
To solve your problem, the following article may help you:
https://www.extendoffice.com/documents/excel/2499-excel-conditional-formatting-ignore-blank-zero.html

Please have a try, thank you!
This comment was minimized by the moderator on the site
Greetings!

I am trying to use a range of words in a row, from another sheet.
My formula looks like this:

=Info!=SUM(COUNTIF($A1,"*"&LGreen&"*"))

"Info" is the sheet, "LGreen" is the row of words i want to use, and the words start at A1 in "Info" sheet.

But i still get "There is a problem with this formula.......
Does it matter if the words are in a row/column? And how do i make that change in the formula?
I would like to use the whole row (continuous), so that i can put in more words later on.
If not, i can select specific range/cells, as long as i understand whats wrong x)

Thanks in advance!
This comment was minimized by the moderator on the site
Hello, Sykopaten

In fact, you just need follow the method in the article, in the first step, you should create a range name for your data list in aother sheet, which can be applied to the entire workbook. And then use the formula: =SUM(COUNTIF(A2,"*"&Mylist&"*")) into the conditional formatting of the worksheet you want to highlihgt the cells.

Or you can insert your excel file as attachment here for us to check.

Thank you!
This comment was minimized by the moderator on the site
Thank you so much to the reply! This surely helped a lot!
Have a great new year! :D
This comment was minimized by the moderator on the site
Hello, Sykopaten,
Glad it can help you!
Happy new year!😀
This comment was minimized by the moderator on the site
Can you provide instructions for how to reverse this formula. In the same example, how would you format cells that did NOT contain a word from your keyword list?
Rated 4.5 out of 5
This comment was minimized by the moderator on the site
Hello, Jeff,
To solve your problem, please apply the below formula:
=IF(SUM(COUNTIF(A2,"*"&Mylist&"*"))=1, 0,1)

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Consegui, a formula é funcional e adorei!! obrigado!
This comment was minimized by the moderator on the site
Hello,

is the formula sensitive to space?
This comment was minimized by the moderator on the site
I have a List that contains "Numbers" and when I run this formula it only work on "Word/Text". What shall be my approach for numbers? For example, I have two rego ( registration) number for management team eg 1234 and 6789, so my data in A column will contain a lot of different vehicle number, i want to hightlight GREEN only these two regos.
This comment was minimized by the moderator on the site
This is for the "OR" function. How do I go abouts this with the "AND"?

As in I need to highlight ONLY the cells that have all of the list and not just either of the list.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations