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

วิธีจัดเรียงข้อมูลแบบไดนามิกใน Microsoft Excel

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

จัดเรียงข้อมูล synamic ใน Excel ด้วยสูตร


จัดเรียงข้อมูล synamic ใน Excel ด้วยสูตร

1. แทรกคอลัมน์ใหม่ที่จุดเริ่มต้นของข้อมูลเดิม ที่นี่ฉันแทรกคอลัมน์หมายเลขก่อนข้อมูลต้นฉบับตามภาพด้านล่างที่แสดง:

2. ทำตามตัวอย่างของเราใส่สูตร = อันดับ (C2, C $ 2: C $ 6) ในเซลล์ A2 เพื่อจัดเรียงผลิตภัณฑ์ดั้งเดิมตามการจัดเก็บและกดปุ่ม เข้าสู่ กุญแจ

3. เลือกเซลล์ A2 ต่อไปลากไฟล์ เติมที่จับ ลงไปที่เซลล์ A6 เพื่อรับหมายเลขพักทั้งหมดในคอลัมน์ No.

4: คัดลอกชื่อเรื่องของข้อมูลต้นฉบับแล้ววางไว้ข้างตารางต้นฉบับเช่น E1: G1 ในคอลัมน์หมายเลขที่ต้องการให้ใส่หมายเลขลำดับที่เหมือนกับลำดับเลขเช่น 1, 2, …. ดูภาพหน้าจอ:

5. ใส่สูตร = VLOOKUP (E2, A $ 2: C $ 6,2, FALSE) ลงในเซลล์ F2 แล้วกดปุ่ม เข้าสู่ กุญแจ

สูตรนี้จะค้นหาค่าของ Desired NO ในตารางเดิมและแสดงชื่อผลิตภัณฑ์ที่เกี่ยวข้องในเซลล์

หมายเหตุ: หากการทำซ้ำหรือความสัมพันธ์แสดงในคอลัมน์ผลิตภัณฑ์หรือคอลัมน์ที่เก็บข้อมูลคุณควรใช้ฟังก์ชันนี้ดีกว่า =IFERROR(VLOOKUP(E2,A$2:C$6,2,FALSE), VLOOKUP(E2,A$2:C$6,2,TRUE))

6. เลือกเซลล์ F2 ต่อไปลาก Fill Handle ลงไปที่เซลล์ F6 เพื่อรับชื่อผลิตภัณฑ์ทั้งหมดและเลือกช่วง F2: F6 ลาก Fill Handle ไปทางขวาไปยังช่วง G2: G6 เพื่อรับหมายเลขพื้นที่จัดเก็บทั้งหมด

จากนั้นคุณจะได้รับการจัดเรียงตารางการจัดเก็บใหม่ตามลำดับที่ลดลงตามที่เก็บข้อมูลดังภาพด้านล่างที่แสดง:

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

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

🤖 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 (49)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hi,, what if there will be more than to numbers that were ties?
This comment was minimized by the moderator on the site
Wonderful....Thanks this helped me
This comment was minimized by the moderator on the site
I had lost the ability to sort several rows of information on one page of a spreadsheet with many pages. After trying to fix the situation by reworking formulas none of the information will sort now. Can I fix this without having to recreate page that is the problem. Same information needs to be transferred to another page that contains all information from all the pages; this too stops sort there. Big problem and don't know how to solve it.
This comment was minimized by the moderator on the site
i need to convert a number into another format.lets take an example - no =12394567 i need to convert it into 674501239. its simple (last 2 digit in first ,then 2nd last 2 digits then add a zero(0) then first four digits in the last. can you please guys tell me the formula for this?
This comment was minimized by the moderator on the site
=CONCATENATE(RIGHT(A1,2),MID(A1,5,2),"0",LEFT(A1,4)) will get you that order of digits.
This comment was minimized by the moderator on the site
you can use the CONCATENATE and then LEFT or RIGHT in excel formula. Its easy, Got it ?
This comment was minimized by the moderator on the site
Sure, mail me the detail and I will show you the finished product
This comment was minimized by the moderator on the site
Hi, no problem, email me and I will show hulu how the finished product works.
This comment was minimized by the moderator on the site
Hi Dear, I have a sheet with 100 items , each item has a specific cost that happens in one year .I want to create another sheet that shows only the item that has cost in one year automatically ? for example all of the item with item No. and description and cost in 2016 and then for 2017 and so on... thanks
This comment was minimized by the moderator on the site
how can i sort lowest to highest value (a to z) in your example i.e lowest storage to highest storage. i use your formulla '=RANK(C2,C$2:C $6) + COUNTIF(C$2:C2, "="&C2)-1'" & "=IFERROR(VLOOKUP(E2,A$2:C$6,2,FALSE), VLOOKUP(E2,A$2:C$6,2,TRUE))" . al is going well but i cannot sort lowest to highest.
This comment was minimized by the moderator on the site
Kedirech, you rock!! The COUNT thing eliminates ties!! I've had this problem for years but now this is the solution!! Thanks!!
This comment was minimized by the moderator on the site
Hi, I do it with if statements alone, how do I let you look at my file?
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