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

วิธีเพิ่มหมายเลขทุกแถว x ใน Excel

doc เพิ่มขึ้น x แถว 1

โดยปกติเราสามารถเติมตัวเลขตามลำดับในคอลัมน์ด้วย Fill Handle แต่คุณเคยพยายามเติมคอลัมน์ด้วยตัวเลขที่เพิ่มขึ้นทุกๆ x แถวหรือไม่? ตัวอย่างเช่นห้าแถวแรกเติมหมายเลข 1 ในแถวที่ 6 ค่าจะกลายเป็น 2 จากนั้นในแถวที่ 11 ค่าจะกลายเป็น 3 เป็นต้นตามภาพหน้าจอต่อไปนี้เพื่อแก้ปัญหานี้บทความนี้อาจช่วยคุณได้ โปรดปราน.

เพิ่มจำนวนทุกแถว x ด้วยสูตร


ลูกศรสีฟ้าฟองขวา เพิ่มจำนวนทุกแถว x ด้วยสูตร

สูตรง่ายๆต่อไปนี้สามารถช่วยให้คุณเติมคอลัมน์ด้วยตัวเลขที่เพิ่มขึ้นทุกแถว x ตามที่คุณต้องการได้อย่างรวดเร็วโปรดทำดังนี้:

1. ใส่สูตรนี้: = INT ((ROW (E1) -1) / 5) +1 ลงในเซลล์ว่างที่คุณต้องการเติมตัวเลขตามลำดับดูภาพหน้าจอ:

doc เพิ่มขึ้น x แถว 2

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

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

doc เพิ่มขึ้น x แถว 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 (28)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I need to increase a value by X percentage every 3 months. I need the new value to stay fixed for 3 months and then again increase by the same percentage or a different one for another period of 3 months. In other words, I would like to have every 3 months a new number automated by a formula. May I have the formula?
This comment was minimized by the moderator on the site
Hi, I'm working on a data creation where I have to create sequential numbers based on data present in columnA. I have to create id in sequence which I can later concatinate after generating the sequence. Challenge is depending on the count of each value in columnA, the series should fill incrementally based on the count of each value. Also max sequence numbers can be 6 only. If ColumnA rows for a specific value goes above 6, then next series number should start. Any help would be highly appreciated. Eg shown below.

ColumnA ColumnB
PTSA 1
PTSA 1
PTSB 2
PTSB 2
PTSC 3
PTSD 4
PTSE 5
PTSE 5
PTSE 5
PTSE 5
PTSE 5
PTSE 5
PTSE 6
PTSE 6
PTSF 7
This comment was minimized by the moderator on the site
Hi all,

How do i increase in the range of 100 instead of 1. For ex after every 5 columns i need 100 ,200 etc
This comment was minimized by the moderator on the site
Hello, Vignesh
To solve your problem, please apply the below fromula:
=(INT((ROW(A1)-1)/5)+1)*100
Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Hello!!! very interesting!!! Is there a way to do this but with months?
Something like:
A1
25/11/2018
25/11/2018
25/11/2018
25/11/2018
25/12/2018
25/12/2018
25/12/2018
25/12/2018
25/01/2019
25/01/2019
25/01/2019
25/01/2019.... and so on?

Thanks!
This comment was minimized by the moderator on the site
Hello, Alfredo
To solve your problem, please apply the below formula:
=DATE(YEAR("2018/11/25"),MONTH("2018/11/15")+INT((ROW(A1)-1)/4),DAY("2018/11/25"))
Note: If the date format does not match your need, please change the date format to oyur own.
Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Hello,

What is the formula to add sequential numbers to every 8 rows. I don't want the rows in between to have any numbers (2-7, or 9-16, and so on).

Thank you,
Yazen
This comment was minimized by the moderator on the site
Hello, Yazen
Sorry, I can't get your point, could you give a detailed example?
You can insert a screenshot or an Excel file of your problem here.
Thank you!
This comment was minimized by the moderator on the site
I am unable to add a screenshot or attach a file. But, here is what the excel looks like:
1 Apple 1
Apple 2
Apple 3
Apple 4
Apple 5
Apple 6

2 Orange 1
Orange 2
Orange 3
Orange 4
Orange 5
Orange 6

3 Banana 1
Banana 2
Banana 3
Banana 4
Banana 5
Banana 6

4 Melon 1
Melon 2
Melon 3
Melon 4
Melon 5
Melon 6


The numbers from 1 to 4 are manually entered. I am trying to figure out a formula that lets me add these numbers automatically to the first row category only and not every cell in that category.

Any help would be greatly appreciate it.

Thank you.
This comment was minimized by the moderator on the site
Hello,
To solve your problem, please use the below formula:
=IF(MOD((ROW(A1)-1)/6, 1)=0,(ROW(A1)-1)/6+1, "")

https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-increase-numbers.png
Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Thank you very much, that's exactly how I wanted it to be.
This comment was minimized by the moderator on the site
Hey, thank you for this article. can I increase the specified row by other value instead of 1?
This comment was minimized by the moderator on the site
Hello,Jay,
Sorry, I can't get your point, could you give a detailed example? You can insert a picture here to describe your problem.
Thank you!
This comment was minimized by the moderator on the site
Thank you so much for this article.. It saved a lot of time for me. Appreciate your support guys..
This comment was minimized by the moderator on the site
Hello, I was trying to use the same formula for every 12 rows. =INT((ROW(R5)-1)/(12))+1877. But it does not work
This comment was minimized by the moderator on the site
Hello, Marjan, To increment number every 12 Rows, please use this formula:=INT((ROW(E1)-1)/12)+1
Please try it, thank you!
This comment was minimized by the moderator on the site
Thank you so much for this solution!!!!...........Your blog saves my night's sleep :)
This comment was minimized by the moderator on the site
Very helpful, thanks !
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