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

วิธีการนับข้อมูลตามกลุ่มใน Excel

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

นับข้อมูลตามกลุ่มด้วยตาราง Pivot


ลูกศรสีฟ้าฟองขวา นับข้อมูลตามกลุ่มด้วยตาราง Pivot

หากคุณต้องการนับข้อมูลที่แสดงด้านล่างตามกลุ่มคุณต้องแทรกตาราง Pivot

doc-นับตามกลุ่ม-1

1. เลือกช่วงข้อมูลและคลิก สิ่งที่ใส่เข้าไป > ตาราง Pivot > ตาราง Pivot. ดูภาพหน้าจอ:

doc-นับตามกลุ่ม-2

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

doc-นับตามกลุ่ม-3

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

doc-นับตามกลุ่ม-4

ตอนนี้การนับของแต่ละกลุ่มจะแสดงในตาราง Pivot

doc-นับตามกลุ่ม-5


บทความญาติ:

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

🤖 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
Hi, Han, I did not find a formula can directly count several specific words in a cell, but I have a formula that can count one word such as colorful in a cell, then you can count other words one by one, then use SUM function to get the total number.
=(LEN($B$2)-LEN(SUBSTITUTE($B$2,C1,"")))/LEN(C1)
https://cdn.extendoffice.com/images/stories/comments/sun-comment/doc-count-specific-words.png
This comment was minimized by the moderator on the site
How to count specific words in a pharagraph ?
There are tens of pages explain word counting for only "1" specific word. But there is NO any answer about my question. So;

Lets say;

*In A1 to A6 (A1, A2, A3,A4,A5,A6) there are some specific words. ( colorful, single, double, triple, positive)

*And there is B1 cell which has a pharagraph. >>> Hello. I am a person thinking positive. My life is colorful.How about your life ?

*In C1 cell, I want to see how many of the words from A1 to A6 cells, in B1 cell (the pharagraph) has been used ?

Is there someone who can create a formula for this ? I could not find any answers to this question.
This comment was minimized by the moderator on the site
Thanks Sir!
Very helpful
This comment was minimized by the moderator on the site
Works brilliantly! Thanks
This comment was minimized by the moderator on the site
This is excellently clear and I commend you for posting this. But it does not work. I wonder if you simply cut and pasted the content from somewhere and actually know how to do this. You just wasted a lot of my time. I am apparently not the first one. You should take this down.
This comment was minimized by the moderator on the site
Doesn't work.
This comment was minimized by the moderator on the site
Thank you very much!
This comment was minimized by the moderator on the site
does not work does not work does not work does not work does not work does not work does not work does not work
This comment was minimized by the moderator on the site
if there is multiple sheet in excel when what will do ?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations