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

จะเพิ่มตัวเลขได้อย่างไรเมื่อค่าเปลี่ยนแปลงในคอลัมน์อื่น

ค่าที่เพิ่มขึ้น doc เปลี่ยนแปลง 1

สมมติว่าคุณมีรายการค่าในคอลัมน์ A และตอนนี้คุณต้องการเพิ่มจำนวนทีละ 1 ในคอลัมน์ B เมื่อค่าในคอลัมน์ A เปลี่ยนแปลงซึ่งหมายถึงตัวเลขในคอลัมน์ B เพิ่มขึ้นจนกระทั่งค่าในคอลัมน์ A เปลี่ยนไปจากนั้น การเพิ่มจำนวนเริ่มจาก 1 อีกครั้งตามภาพหน้าจอด้านซ้ายที่แสดง ใน Excel คุณสามารถแก้ปัญหานี้ได้ด้วยวิธีการต่อไปนี้

ตัวเลขที่เพิ่มขึ้นเมื่อค่าเปลี่ยนแปลงในแต่ละกลุ่มด้วยสูตร


ลูกศรสีฟ้าฟองขวา ตัวเลขที่เพิ่มขึ้นเมื่อค่าเปลี่ยนแปลงในแต่ละกลุ่มด้วยสูตร

หากต้องการเพิ่มตัวเลขตามคอลัมน์อื่นเมื่อค่าเปลี่ยนแปลงสูตรง่ายๆต่อไปนี้อาจช่วยคุณได้

1. ใส่สูตรนี้: = IF (A2 <> A1,1, B1 + 1) ลงในเซลล์ว่างซึ่งอยู่ข้างข้อมูลของคุณ B2ตัวอย่างเช่นดูภาพหน้าจอ:

ค่าที่เพิ่มขึ้น doc เปลี่ยนแปลง 2

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

ค่าที่เพิ่มขึ้น doc เปลี่ยนแปลง 3

หมายเหตุ: นี่คือสูตรอื่น = COUNTIF ($ A $ 2: A2, A2) ยังสามารถช่วยคุณสร้างลำดับตัวเลขที่รีสตาร์ทสำหรับทุกการเปลี่ยนแปลงในคอลัมน์อื่น

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

🤖 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 (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi i have a scenerio like:-

Code Price Result
2 100 1
2 250 2
2 300 3
4 600 1
4 800 2
5 900 1
5 1000 2
5 1000 2
6 300 1

how would i get values that i want in result column
This comment was minimized by the moderator on the site
Hello,
I'm sorry, I didn't understand your question. Could you describe it in more detail?
Thank you!
This comment was minimized by the moderator on the site
Hi,
Not sure if this is he best place to ask this but would love your help on this formula. I deposit an amount say $300 in my bank and get interest say $1.5 per day on the given amount. Once the accumulated interest reaches $100 (in a certain no. of days) I reinvest it and deposit it back into the bank which then increases my interest to $2.5 per day and so on. I would like the increasing interest, no. of days taken for each cycle amount accumulated and total amount invested in a table. The part I'm facing difficulty is in the part where the interest increases in each row and also want to constrain it to reinvest it if above $100 only, and also the amount of days it took for me to go above $100 each time.
This comment was minimized by the moderator on the site
Io devo fare questo:
In una casella ho un numero che va da 0 a 100 e vorrei che in un altra casella che ha valore iniziale 0 aumenti di una unità quando nella prima casella si passa da 0 a 5 e poi ogni 10. Quindi da 5 a 15 e l'sltra casella passa da 10 a 11, da 15 a 20 e l'altra casella passa da 11 a 12 così via.
This comment was minimized by the moderator on the site
I have number in a column. I want to count how many times that there is a break in the numbering sequence. So if you have 2,3,4, 10, 13,14,15. You would get a count of 3 times there was a break between the sequence in the numbers. I have spent two days trying all different kinds of formulas. Please help.
This comment was minimized by the moderator on the site
How to make this arrayformula? 
This comment was minimized by the moderator on the site
Hey! I have to imput steps from 1 to 15 and then the time used for that step is displayed in another collumn but then I want this time to stay the same when I change te step number. How do i make a collumn stay the same so I can imput other data?
Thanks!
This comment was minimized by the moderator on the site
If i have a list like this
BananaBananaBananaOrangeOrangeCherryCherryBananaOrange
How do i make it keep increment the sequence number in function of the name, i want it to recognized that he already seen this word/Number before in the column. do i have to always put a sorting filter to make it work?
thanks,
Evelyne
This comment was minimized by the moderator on the site
If you use the other suggested formula, =COUNTIF($A$2:A2,A2), Excel keeps counting no matter the order the words are in.
This comment was minimized by the moderator on the site
Hello Is there a way to calculate orange as total 6 and not show the increment order like 1,2,3,4,5 but at the end of row as 6 before entering into next new name
This comment was minimized by the moderator on the site
i need to increment number using the duplicate criteria, means if the criteria changes the Main Serial Number and Sub Serial Number should change, for example
1.1 604
1.2 604
2.1 605
2.2 605
2.3 605
3.1 606
3.2 606
4.1 607
4.2 607

hope you got my point. kindly help
This comment was minimized by the moderator on the site
is there a way to do this but I want to separate the different numbers, for example like
A1 1
A2 1
A3 2
A4 3
A5 3

I would like to automatically calulate the maximum number 1 in a row, maximum number 2 etc
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