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

วิธีสร้างรายการชุดตัวเลข 4 หลักที่เป็นไปได้ทั้งหมดใน Excel

ในบางกรณีเราอาจต้องสร้างรายการตัวเลข 4 หลักที่เป็นไปได้ทั้งหมดของตัวเลข 0 ถึง 9 ซึ่งหมายถึงการสร้างรายการ 0000, 0001, 0002 … 9999 เพื่อแก้ปัญหารายการใน Excel อย่างรวดเร็วฉันขอแนะนำเทคนิคบางอย่างสำหรับคุณ

รายการตัวเลข 4 หลักที่เป็นไปได้ทั้งหมดพร้อมสูตร

รายการตัวเลข 4 หลักที่เป็นไปได้ทั้งหมดพร้อมรายการชุดค่าผสมทั้งหมด ความคิดที่ดี 3

แสดงรายการตัวเลข 4 หลักที่เป็นไปได้ทั้งหมดพร้อมกับหมายเลขลำดับการแทรก ความคิดที่ดี 3


ใน Excel คุณสามารถใช้สูตรด้านล่างเพื่อแสดงรายการชุดตัวเลข 4 หลักที่เป็นไปได้ทั้งหมดของหมายเลข 0 ถึง 9

เลือกเซลล์ว่างและพิมพ์สูตรนี้ = ข้อความ (ROW (A1) -1, "0000") เข้าไปแล้วกด เข้าสู่ จากนั้นลากที่จับการป้อนอัตโนมัติลงมาจนกว่าจะมีการแสดงชุดค่าผสม 4 หลักทั้งหมด

doc แสดงรายการชุดค่าผสม 4 หลัก 1


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

Kutools สำหรับ Excel, ที่มีมากกว่า 300 ฟังก์ชั่นที่มีประโยชน์ทำให้งานของคุณง่ายขึ้น 

หลังจากการติดตั้ง Kutools สำหรับ Excel โปรดทำดังนี้:(ดาวน์โหลด Kutools for Excel ฟรีทันที!)

1. เลือกเซลล์ A1 พิมพ์ 0 ลงในเซลล์จากนั้นลงเซลล์ถัดไปแล้วพิมพ์ 1 ลงไป จากนั้นเลือก A1 และ A2 แล้วลากที่จับการป้อนอัตโนมัติลงไปจนกระทั่งหมายเลข 9 ปรากฏขึ้น ดูภาพหน้าจอ:

doc แสดงรายการชุดค่าผสม 4 หลัก 2

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

doc แสดงรายการชุดค่าผสม 4 หลัก 3

3 คลิก Kutools > สิ่งที่ใส่เข้าไป > แสดงรายการชุดค่าผสมทั้งหมด. ดูภาพหน้าจอ:

doc แสดงรายการชุดตัวเลขทั้งหมด 12

4 แสดงรายการชุดค่าผสมทั้งหมด กล่องโต้ตอบจะปรากฏขึ้นและคุณต้องดำเนินการด้านล่าง:

(1) เลือก ความคุ้มค่า ใน ชนิดภาพเขียน รายการ;

(2) คลิก ปุ่ม doc เพื่อเลือกรายการหมายเลขของคุณ (คุณสามารถพิมพ์ตัวเลขที่คั่นด้วยเครื่องหมายจุลภาคลงในกล่องข้อความได้โดยตรง) แล้วคลิก เพิ่ม เพื่อเพิ่มรายการแรกเข้าไป รายการชุดค่าผสม;

(3) ทำซ้ำขั้นตอน (2) สามครั้งเพื่อเพิ่มรายการตัวเลขสามรายการอื่น ๆ เข้าไป รายการชุดค่าผสม.

doc แสดงรายการชุดค่าผสม 4 หลัก 12

5 คลิก Ok. ตอนนี้กล่องโต้ตอบจะปรากฏขึ้นเพื่อเตือนให้คุณเลือกเซลล์ที่จะใส่ผลลัพธ์ที่นี่คุณต้องเลือกเซลล์แรกของคอลัมน์ที่คุณจัดรูปแบบเป็น ข้อความ.

doc แสดงรายการชุดค่าผสม 4 หลัก 6

6 คลิก OK. ตอนนี้ชุดตัวเลข 4 หลักทั้งหมดของ 0-9 กำลังแสดงรายการ

doc แสดงรายการชุดค่าผสม 4 หลัก 7

คลิกที่นี่เพื่อเรียนรู้เพิ่มเติมเกี่ยวกับรายการชุดค่าผสมทั้งหมด


In Kutools สำหรับ Excel, คุณสามารถใช้ได้ แทรกหมายเลขลำดับ เพื่อแก้ปัญหานี้ด้วย

หลังจากการติดตั้ง Kutools สำหรับ Excel โปรดทำดังนี้:(ดาวน์โหลด Kutools for Excel ฟรีทันที!)

1. เลือกเซลล์จำนวนมาก (มากกว่า 100000 เซลล์) แล้วคลิก Kutools > สิ่งที่ใส่เข้าไป > แทรกหมายเลขลำดับ. ดูภาพหน้าจอ:

doc แสดงรายการชุดตัวเลขทั้งหมด 13

2. จากนั้นใน แทรกหมายเลขลำดับ โต้ตอบทำตามด้านล่าง:

(1) คลิก ใหม่ เพื่อสร้างลำดับใหม่ ดูภาพหน้าจอ:

doc แสดงรายการชุดค่าผสม 4 หลัก 9

(2) ประเภท 0 เป็น เริ่มต้น จำนวน, 1 เป็น การเพิ่มขึ้นและ 4 เป็น จำนวนหลักและตรวจสอบ เลขท้าย ตัวเลือกและประเภท 9999 ลงในกล่องข้อความ ดูภาพหน้าจอ:

doc แสดงรายการชุดค่าผสม 4 หลัก 10

3 คลิก เพิ่ม เพื่อเพิ่มกฎลำดับนี้จากนั้นคลิก เติมช่วง. ดูภาพหน้าจอ:

doc แสดงรายการชุดค่าผสม 4 หลัก 11

คลิกที่นี่เพื่อทราบรายละเอียดเกี่ยวกับแทรกหมายเลขลำดับ

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

🤖 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 (20)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi everyone, how I can generate a list of 4 digits passcode where the 2nd number will always be 7 and the last number will always be 6
X7X6
This comment was minimized by the moderator on the site
Il primo metodo con la formula non funziona. Mi dice che gli elementi della formula sono insufficienti e sono sicura di aver scritto correttamente
This comment was minimized by the moderator on the site
Hi, Sara Cutelli, the formula provided only work for English version, may be you can try this formula =TESTO(RIF.RIGA(A1)-1;"0000")
This comment was minimized by the moderator on the site
For simplicity, lets say my values are letters, there are 16 of them.

a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p

I need all 3 letter sets, except no repeated letters.
And I also do not need different order sequences, example: I do not need all of these, just one: abc, bca, cab, acb, bac.
How would I get this?
This comment was minimized by the moderator on the site
Hi, I found a code for solving your job. You can view this tutorial, How to list all possible combinations from single column in Excel? the second method may help you.
This comment was minimized by the moderator on the site
Sorry, I have not found any solution for yor question.
This comment was minimized by the moderator on the site
36930.15
87000
62974
56812.54
44475
40500.23
38925
38250
35571.52
34049.98
27272
26100
24975
22050
20025
19811.03
18450
16650
15000
15000
15000
15000
15000
15000
15000
15000
15000
15000
15000
15000
13933.01
13857.55
10951
10687.04
7650
7546.77
6823.96
5922
5834.333
5732
5411
3083
1851
1217.46
1100
1017.7
40


i WANT MAXIMUM COMBINATION VALUE HOW DO I GET IN EXCEL
This comment was minimized by the moderator on the site
Hi, SACHIN, you can use the List all combination utility of Kutools for Excel to list all combinations, then use the Select cells with max or min value utility of Kutools for Excel to find tge maximum combination value.
This comment was minimized by the moderator on the site
hi from numbers 1 to 8 how many mixed 4 number combinations do i get
This comment was minimized by the moderator on the site
Hi,dinesh,just try the third method, you can get the final result by yourselft.
This comment was minimized by the moderator on the site
I WANT COMBINATION OF 1,2,3,4,5,6,7,8 PLEASE PROVIDE THE EXCEL SHEET

T
This comment was minimized by the moderator on the site
Just try above method, you can do by yourself.
This comment was minimized by the moderator on the site
I have a question! How to list all possible combination of numbers? For example, I have these numbers: 2, 2, 2, 1, 0. I want to generate all possible combinations of these five numbers. For example 22210, 10222, 21220, 20122, 21022... and so on. Please help!
This comment was minimized by the moderator on the site
Dear Frıend.
5 number permutations that what you want
Not combonatıons
If you know Mıctosoft365 Excel you can easyly create one changing dıgıts
Have z nıce day
This comment was minimized by the moderator on the site
Hello. Thanks for the List All combinations tool. However, some combinations exceed the total number of rows excel can offer in a given column (1,048,576). Is it possible to let the list continue in another column within the same sheet? Or even have the tool in word or text which doesn't limit the rows? I appreciate your feedback!
This comment was minimized by the moderator on the site
Sorry, this is too difficult to execute.
This comment was minimized by the moderator on the site
Hi Mr.Sunny can u sove this I have 1,2,3....22 but I pick only any 11 Numbers order not matter what are the list of possibilities
This comment was minimized by the moderator on the site
you can create all the possibilities of a group of numbers in the number program mobile app.
This comment was minimized by the moderator on the site
Hi, dharmendar, you can try to use Kutools for Excel‘s Select and Sort Randomly feature to select 11 numbers randomly from the 1,2,3...22 list.
This comment was minimized by the moderator on the site
hi. thanks for the stuff
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations