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

วิธีการขีดทับอัตโนมัติตามค่าเซลล์ใน Excel

ใน Excel เราสามารถใช้ขีดฆ่าเพื่อลบเนื้อหาของเซลล์ที่ไม่ต้องการได้ด้วยตนเอง แต่ในบทความนี้ฉันจะพูดถึงวิธีการขีดทับอัตโนมัติตามค่าของเซลล์ ตัวอย่างเช่นฉันต้องการใช้ขีดทับสำหรับข้อมูลแถวตามค่าของเซลล์ในคอลัมน์ E หากค่าของเซลล์คือ“ N” เพื่อใช้ขีดทับโดยอัตโนมัติสำหรับแถวสัมพัทธ์ดังภาพหน้าจอต่อไปนี้

doc ขีดทับอัตโนมัติ 1

ขีดทับอัตโนมัติตามค่าของเซลล์ด้วยการจัดรูปแบบตามเงื่อนไข


ลูกศรสีฟ้าฟองขวา ขีดทับอัตโนมัติตามค่าของเซลล์ด้วยการจัดรูปแบบตามเงื่อนไข

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

1. เลือกช่วงข้อมูลที่คุณต้องการใช้ขีดฆ่าจากนั้นคลิก หน้าแรก > การจัดรูปแบบตามเงื่อนไข > กฎใหม่ดูภาพหน้าจอ:

doc ขีดทับอัตโนมัติ 2

2. ใน กฎการจัดรูปแบบใหม่ โปรดคลิก ใช้สูตรเพื่อกำหนดเซลล์ที่จะจัดรูปแบบ ตัวเลือกใน เลือกประเภทกฎ กล่องรายการจากนั้นป้อนสูตรนี้: = $ E2 = "N" เข้าไปใน จัดรูปแบบค่าโดยที่สูตรนี้เป็นจริง กล่องข้อความดูภาพหน้าจอ:

หมายเหตุ ในสูตรข้างต้น: E2 และ "N” คือค่าเซลล์และข้อความที่คุณต้องการใช้ขีดทับตามโปรดเปลี่ยนค่าตามความต้องการของคุณ

doc ขีดทับอัตโนมัติ 3

3. จากนั้นคลิก รูปแบบ ปุ่มไปที่ จัดรูปแบบเซลล์ ภายใต้ ตัวอักษร แท็บตรวจสอบ ขีดฆ่า จาก ผลกระทบ กล่องรายการดูภาพหน้าจอ:

doc ขีดทับอัตโนมัติ 4

4. จากนั้นคลิก OK > OK เพื่อปิดกล่องโต้ตอบและตอนนี้เมื่อค่าที่คุณป้อนเป็นข้อความเฉพาะ“ N” ข้อมูลแถวทั้งหมดจะถูกใช้ขีดทับโดยอัตโนมัติดูภาพหน้าจอ:

doc ขีดทับอัตโนมัติ 5

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

🤖 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 (8)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Hi,
How can I do if I want the row struckthrough if say EITHER B2= Yes OR I2 = 0?
If I just put it as OR($B2="Yes",$I2="0"), it wont strikethrough if both values are met.
Rated 5 out of 5
This comment was minimized by the moderator on the site
Is it possible to use this formula with a numeric value of zero? I cannot for the life of me get it to work that way but it will work with letters.
This comment was minimized by the moderator on the site
Hello friend,

Glad to help. Yes, you can use this formula =$E1= 0 with a numeric value of zero. Please see the screenshot, you can input formula =$E1= 0 into the Format values where this formula is true text box. Please note the first row of the data is header.
https://www.extendoffice.com/images/stories/comments/comment-zmt/strikethrough-value.png

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Merci beaucoup :) <3 
This comment was minimized by the moderator on the site
I regularly wind up utilizing the strikethrough highlight in both Word and Excel to stamp things as finished. This component is genuinely clear in Word, as a strikethrough symbol shows up conspicuously on the Home tab in Word 2007 and later. Then again, in Excel this component doesn't have its own particular symbol, yet it has a console alternate route, Ctrl-5. However there's no worked in essay writing route for strikethrough in Word.
This comment was minimized by the moderator on the site
Hello everyone, I just have to say that this site is just amazing!
Much creative and extremely curricular website I have ever found while searching essay writing service on the Internet.
I am very satisfied with their work and inventory, everything looked very well and kept. I appreciate your work, keep up a great job.
This comment was minimized by the moderator on the site
This was a great help to me
This comment was minimized by the moderator on the site
Using the instructions from this page (Auto strikethrough based on cell value with Conditional Formatting) I am trying to add the proper formula to a spreadsheet with the cell value being a check mark (instead of N like the example). Ultimately, what I am trying to do is this: When I double click column A1, it will automatically add a check mark in that cell. In addition to the check mark, it will perform auto-strikethrough on cells B1 and C1. Is it possible to accomplish this? I had no problem entering a rule to add a check mark to a cell by double clicking it. And I had no problem adding the conditional formatting in order to auto strikethrough text. What I cannot seem to figure out is how to combine the 2 efforts. I do not like the idea of Check boxes and have tried that route already.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations