ไปยังเนื้อหาหลัก

วิธีใช้การค้นหาการจัดรูปแบบตามเงื่อนไขสำหรับหลายคำใน Excel

เน้นเอกสารประกอบด้วยคำใด ๆ 1

อาจเป็นเรื่องง่ายที่เราจะเน้นแถวตามค่าเฉพาะบทความนี้ฉันจะพูดถึงวิธีการเน้นเซลล์ในคอลัมน์ A ขึ้นอยู่กับว่าพบในคอลัมน์ D หรือไม่ซึ่งหมายความว่าหากเนื้อหาของเซลล์มีข้อความใด ๆ ใน รายการเฉพาะจากนั้นไฮไลต์ตามภาพหน้าจอด้านซ้ายที่แสดง

การจัดรูปแบบตามเงื่อนไขเพื่อเน้นเซลล์มีหนึ่งในหลายค่า

เซลล์กรองมีค่าเฉพาะและไฮไลต์พร้อมกัน


การจัดรูปแบบตามเงื่อนไขเพื่อเน้นเซลล์มีหนึ่งในหลายค่า

ในความเป็นจริง การจัดรูปแบบตามเงื่อนไข สามารถช่วยคุณแก้ไขงานนี้ได้โปรดทำตามขั้นตอนต่อไปนี้:

1. ขั้นแรกโปรดสร้างชื่อช่วงสำหรับรายการคำเฉพาะเลือกข้อความในเซลล์และป้อนชื่อช่วง รายการของฉัน (คุณสามารถเปลี่ยนชื่อได้ตามต้องการ) ลงในไฟล์ Name แล้วกด เข้าสู่ สำคัญดูภาพหน้าจอ:

เน้นเอกสารประกอบด้วยคำใด ๆ 2

2. จากนั้นเลือกเซลล์ที่คุณต้องการเน้นแล้วคลิก หน้าแรก > การจัดรูปแบบตามเงื่อนไข > กฎใหม่ใน กฎการจัดรูปแบบใหม่ กล่องโต้ตอบเสร็จสิ้นการดำเนินการด้านล่าง:

(1. ) คลิก ใช้สูตรเพื่อกำหนดเซลล์ที่จะจัดรูปแบบ ภายใต้ เลือกประเภทกฎ กล่องรายการ;

(2. ) จากนั้นป้อนสูตรนี้: = SUM (COUNTIF (A2, "*" & Mylist & "*")) (A2 คือเซลล์แรกของช่วงที่คุณต้องการเน้น รายการของฉัน คือชื่อช่วงที่คุณสร้างในขั้นตอนที่ 1) ลงในไฟล์ จัดรูปแบบค่าโดยที่สูตรนี้เป็นจริง กล่องข้อความ;

(3. ) จากนั้นคลิก รูปแบบ ปุ่ม

เน้นเอกสารประกอบด้วยคำใด ๆ 3

3. ไปที่ จัดรูปแบบเซลล์ กล่องโต้ตอบและเลือกสีเดียวเพื่อเน้นเซลล์ที่อยู่ใต้ไฟล์ ใส่ ดูภาพหน้าจอ:

เน้นเอกสารประกอบด้วยคำใด ๆ 4

4. จากนั้นคลิก OK > OK เพื่อปิดกล่องโต้ตอบเซลล์ทั้งหมดที่มีค่าเซลล์รายการใดรายการหนึ่งจะถูกเน้นพร้อมกันดูภาพหน้าจอ:

เน้นเอกสารประกอบด้วยคำใด ๆ 5


เซลล์กรองมีค่าเฉพาะและไฮไลต์พร้อมกัน

ถ้าคุณมี Kutools สำหรับ Excelเดียวกันกับที่ ซุปเปอร์ฟิลเตอร์ ยูทิลิตี้คุณสามารถกรองเซลล์ที่มีค่าข้อความที่ระบุได้อย่างรวดเร็วจากนั้นไฮไลต์พร้อมกัน

Kutools สำหรับ Excel : ด้วย Add-in ของ Excel ที่มีประโยชน์มากกว่า 300 รายการทดลองใช้ฟรีโดยไม่มีข้อ จำกัด ใน 30 วัน. 

หลังจากการติดตั้ง Kutools สำหรับ Excelโปรดดำเนินการดังนี้:

1. คลิก Kutools พลัส > ซุปเปอร์ฟิลเตอร์ดูภาพหน้าจอ:

2. ใน ซุปเปอร์ฟิลเตอร์ บานหน้าต่างโปรดดำเนินการดังต่อไปนี้:

  • (1. ) ตรวจสอบ ระบุ ตัวเลือกแล้วคลิกตกลง เน้นเอกสารประกอบด้วยคำใด ๆ 11 ปุ่มเพื่อเลือกช่วงข้อมูลที่คุณต้องการกรอง
  • (2. ) เลือกความสัมพันธ์ระหว่างเกณฑ์การกรองตามที่คุณต้องการ
  • (3. ) จากนั้นกำหนดเกณฑ์ในกล่องรายการเกณฑ์

เน้นเอกสารประกอบด้วยคำใด ๆ 8

3. หลังจากกำหนดเกณฑ์แล้วให้คลิก ตัวกรอง เพื่อกรองเซลล์มีค่าเฉพาะตามที่คุณต้องการ จากนั้นเลือกสีเติมหนึ่งสีสำหรับเซลล์ที่เลือกข้างใต้ หน้าแรก ดูภาพหน้าจอ:

เน้นเอกสารประกอบด้วยคำใด ๆ 9

4. และเซลล์ทั้งหมดมีค่าเฉพาะจะถูกไฮไลต์ตอนนี้คุณสามารถยกเลิกตัวกรองได้โดยคลิก ทูโทนช็อคชิพ ปุ่มดูภาพหน้าจอ:

เน้นเอกสารประกอบด้วยคำใด ๆ 10

คลิกดาวน์โหลดและทดลองใช้ฟรี Kutools for Excel ทันที!


การสาธิต: เซลล์กรองมีค่าเฉพาะและไฮไลต์พร้อมกัน

Kutools สำหรับ Excel: ด้วย Add-in ของ Excel ที่มีประโยชน์มากกว่า 300 รายการให้ทดลองใช้ฟรีโดยไม่มีข้อ จำกัด ใน 30 วัน ดาวน์โหลดและทดลองใช้ฟรีทันที!

สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, 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