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

 จะแยกตัวเลขออกจากสตริงข้อความใน Google ชีตได้อย่างไร?

หากคุณต้องการแยกเฉพาะตัวเลขจากรายการสตริงข้อความเพื่อให้ได้ผลลัพธ์ตามภาพหน้าจอต่อไปนี้คุณจะทำงานนี้ใน Google ชีตได้อย่างไร

แยกตัวเลขจากสตริงข้อความใน Google ชีตด้วยสูตรเท่านั้น


แยกตัวเลขจากสตริงข้อความใน Google ชีตด้วยสูตรเท่านั้น

สูตรต่อไปนี้สามารถช่วยให้คุณทำงานนี้ได้โปรดทำดังนี้:

1. ใส่สูตรนี้: = แยก (LOWER (A2); "abcdefghijklmnopqrstuvwxyz") ลงในเซลล์ว่างที่คุณต้องการแยกตัวเลขเท่านั้นจากนั้นกด เข้าสู่ คีย์ตัวเลขทั้งหมดในเซลล์ A2 ถูกแยกออกพร้อมกันดูภาพหน้าจอ:

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

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

🤖 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 (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Perfectly, got very good
This comment was minimized by the moderator on the site
Bonjour, Googlesheet m'indique que la formule "Inférieur" n'existe pas, existe t'il un équivalent s'il vous plait?
En vous remerciant par avance,
cto
This comment was minimized by the moderator on the site
Hello,
Please try the bloe formula: =SPLIT( LOWER(A2) ; "abcdefghijklmnopqrstuvwxyz " )
This comment was minimized by the moderator on the site
3년 전에 이렇게 유익한 함수를 공유해 주셨네요. 너무 감사합니다.
너무나 감사해서 혹시 저 같은 경우가 있으신 분들을 위해서 오늘 제가 응용한 함수도 공유하고 갑니다.
Gas Super VIC (G_22GD_2BD_NF )
VIC Loyalty Plus (E_19GD_3BD)
이런 조합에서 숫자만 추출해서 각 숫자의 합을 내야했었는데
=SPLIT (LOWER (A2); "abcdefghijklmnopqrstuvwxyz") 여기에서
=SPLIT (LOWER (A6), "abcdefghijklmnopqrstuvwxyz ()_") 제가 제외하고자 하는 기호도 포함시켰더니 깔끔하게
22 2
19 3
이라는 결과를 얻었고 sum 함수를 접목해서 24, 22 라는 숫자를 얻을 수 있었습니다.
감사합니다
This comment was minimized by the moderator on the site
this is useful, but doesn't fully solve my problem. When I use this formula, punctuation marks and non-Latin characters are also treated as numbers. Is the best way around this to expand the list of characters in the quotation marks as currently written? My approach for now has been to try and clean the data of any existing punctuation, but the stuff written in Cyrillic is necessary information that I cannot remove.
This comment was minimized by the moderator on the site
Hello,
If there are some other punctuation marks and non-Latin characters in your text strings, you can apply this formula to extract the numbers only:
=REGEXREPLACE(A1,"\D+", "")
Hope it can help you, thank you!
This comment was minimized by the moderator on the site
thank you? it works
=REGEXREPLACE(A6;"\D+"; "")*1
This comment was minimized by the moderator on the site
problem when you have two string of numbers in the text.
This comment was minimized by the moderator on the site
Hi santhosh,
Yes, as you said, this formula only can extract all the numbers into one cell.
If you have any other good formulas, please comment here.
Thank you!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations