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

วิธีซ่อนเฉพาะส่วนของค่าเซลล์ใน Excel

doc ซ่อนบางส่วน 1
สมมติว่าคุณมีเอกสารข้อมูลทั่วไปเกี่ยวกับเจ้าหน้าที่ แต่บางแผ่นเป็นข้อมูลส่วนตัวเช่นหมายเลขประกันสังคม ตอนนี้คุณต้องการซ่อนบางส่วนของหมายเลขประกันสังคมดังภาพด้านล่างนี้คุณจะแก้ไขได้อย่างไร?

ซ่อนหมายเลขประกันสังคมบางส่วนด้วย Format Cells

ซ่อนข้อความหรือตัวเลขบางส่วนด้วยสูตร

ลูกศรสีฟ้าฟองขวา ซ่อนหมายเลขประกันสังคมบางส่วนด้วย Format Cells

หากต้องการซ่อนหมายเลขประกันสังคมบางส่วนใน Excel คุณสามารถใช้ Format Cells เพื่อแก้ไขได้

1. เลือกหมายเลขที่คุณต้องการซ่อนบางส่วนและคลิกขวาเพื่อเลือก จัดรูปแบบเซลล์ จากเมนูบริบท ดูภาพหน้าจอ:
doc ซ่อนบางส่วน 2

2. จากนั้นใน จัดรูปแบบเซลล์ โต้ตอบคลิก จำนวน และเลือก ประเพณี ราคาเริ่มต้นที่ หมวดหมู่ บานหน้าต่างแล้วไปที่เพื่อป้อนสิ่งนี้ 000 ,, "- ** - ****" เข้าไปใน ชนิดภาพเขียน ช่องด้านขวา ดูภาพหน้าจอ:
doc ซ่อนบางส่วน 3

3 คลิก OKตอนนี้หมายเลขบางส่วนที่คุณเลือกถูกซ่อนไว้

หมายเหตุ: มันจะปัดเศษขึ้นหากตัวเลขที่สี่มีขนาดใหญ่กว่าหรือ eaqul เป็น 5


ลูกศรสีฟ้าฟองขวา ซ่อนข้อความหรือตัวเลขบางส่วนด้วยสูตร

ด้วยวิธีการข้างต้นคุณสามารถซ่อนตัวเลขบางส่วนเท่านั้นหากคุณต้องการซ่อนตัวเลขหรือข้อความบางส่วนคุณสามารถทำได้ดังนี้:

ที่นี่เราซ่อน 4 หมายเลขแรกของหมายเลขหนังสือเดินทาง

เลือกเซลล์ว่างหนึ่งเซลล์ถัดจากหมายเลขหนังสือเดินทางเช่น F22 ป้อนสูตรนี้ = "****" & ขวา (E22,5)จากนั้นลากที่จับการป้อนอัตโนมัติเหนือเซลล์ที่คุณต้องการใช้สูตรนี้
doc ซ่อนบางส่วน 4

เคล็ดลับ:

หากคุณต้องการซ่อนตัวเลขสี่ตัวสุดท้ายให้ใช้สูตรนี้ = ซ้าย (H2,5) & "****"

หากคุณต้องการซ่อนตัวเลขสามตัวตรงกลางให้ใช้สิ่งนี้ = ซ้าย (H2,3) & "***" & ขวา (H2,3)

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

🤖 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 (21)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have 1. Name, so I want to remove "1." Please suggest.
This comment was minimized by the moderator on the site
Is there any command for format cell, to hide the intended value in cell, that containt with charecters. eg. G1234567Q and after applied the format it would be G****567Q ?Note: I am asking to know the cell format not the formula? Thanks in advance!
This comment was minimized by the moderator on the site
If I have a listing of Name with different length, and want to set as "B*** P***" for "Brad Pitt", "M******* Y*** C*** K****" for "Michelle Yeoh Choo Kheng", how can I do it with formula?
p     JL
This comment was minimized by the moderator on the site
have you found a solution? i would also like to know the answer to this. thank you
This comment was minimized by the moderator on the site
Can replace all but the first char with this: =REPLACE(CELL,2,LEN(CELL),REPT("*",LEN(CELL)))
This comment was minimized by the moderator on the site
If I have a number and alphabet set like S1234567A and want to put as S****567A, what formula is usable?
This comment was minimized by the moderator on the site
=REPLACE(CELL,2,4,"****")
This comment was minimized by the moderator on the site
=REPLACE(CELL,1,LEN(CELL)-4,REPT("X",LEN(CELL)-4))is the better version as here you can mask text with variable length
This comment was minimized by the moderator on the site
Hi I tried this but does not seem to work.
This comment was minimized by the moderator on the site
Great solution!
This comment was minimized by the moderator on the site
How can we use format cell to remove the first few characters? For ex: 12,345.67 = **,345.67
This comment was minimized by the moderator on the site
how can i unhide the numbers again
This comment was minimized by the moderator on the site
Hi, sunil, if you use the Format Cells function to hide part of string, when you want to unhide them again, just format the cells as general.
This comment was minimized by the moderator on the site
Nice Sir, Its working
This comment was minimized by the moderator on the site
Sorry, I meant D22
This comment was minimized by the moderator on the site
I am not sure how you wrote the formula Dean, but =LEFT(F22,3)&"-**-****" shows 278-**-**** for me... Maybe check other formats on your destination cell?
This comment was minimized by the moderator on the site
Sorry I did not get your question, could you give me a screenshot or other more information to decribe it?
This comment was minimized by the moderator on the site
Your SSN example fails, in that it rounds up the number, rather than hiding the non-visible placings. In you example, 278-53-6128 is displayed as 279-**-****!
This comment was minimized by the moderator on the site
Sorry, could you give me more information about the fails in your examples? Because it works always in my examples.
This comment was minimized by the moderator on the site
Dean is correct, the image you are using for the example shows staff no 2083 having the social security number of 278536128 but the hidden version starts with 279. The formula itself works, just the first row in the example image is incorrect.
This comment was minimized by the moderator on the site
Thanks for the reminder. The format cell method will round up the number if the fourth number is larger than 5.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations