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

จะนับจำนวนเหตุการณ์ในคอลัมน์ใน Google ชีตได้อย่างไร?

สมมติว่าคุณมีรายชื่อในคอลัมน์ A ของ Google แผ่นงานและตอนนี้คุณต้องการนับจำนวนครั้งที่ชื่อที่ไม่ซ้ำกันปรากฏขึ้นตามภาพหน้าจอต่อไปนี้ บทช่วยสอนนี้ฉันจะพูดถึงสูตรสำหรับการแก้งานนี้ใน Google ชีต

นับจำนวนครั้งที่เกิดขึ้นในคอลัมน์ใน Google ชีตด้วยสูตรตัวช่วย

นับจำนวนครั้งที่เกิดขึ้นในคอลัมน์ใน Google ชีตด้วยสูตร


นับจำนวนครั้งที่เกิดขึ้นในคอลัมน์ใน Google ชีตด้วยสูตรตัวช่วย

ในวิธีนี้คุณสามารถแยกชื่อที่ไม่ซ้ำกันทั้งหมดจากคอลัมน์ก่อนจากนั้นจึงนับจำนวนครั้งที่เกิดขึ้นตามค่าที่ไม่ซ้ำกัน

1. โปรดป้อนสูตรนี้: = ไม่ซ้ำกัน (A2: A16) ลงในเซลล์ว่างที่คุณต้องการแยกชื่อเฉพาะจากนั้นกด เข้าสู่ คีย์ค่าที่ไม่ซ้ำกันทั้งหมดได้รับการระบุไว้ตามภาพหน้าจอต่อไปนี้:

หมายเหตุ: ในสูตรข้างต้น A2: A16 คือข้อมูลคอลัมน์ที่คุณต้องการนับ

2. จากนั้นป้อนสูตรนี้: = COUNTIF (A2: A16, C2) ข้างเซลล์สูตรแรกกด เข้าสู่ เพื่อรับผลลัพธ์แรกจากนั้นลากที่จับเติมลงไปที่เซลล์ที่คุณต้องการนับการเกิดขึ้นของค่าที่ไม่ซ้ำดูภาพหน้าจอ:

หมายเหตุ: ในสูตรข้างต้น A2: A16 คือข้อมูลคอลัมน์ที่คุณต้องการนับชื่อเฉพาะและ C2 เป็นค่าเฉพาะแรกที่คุณดึงออกมา


นับจำนวนครั้งที่เกิดขึ้นในคอลัมน์ใน Google ชีตด้วยสูตร

คุณยังสามารถใช้สูตรต่อไปนี้เพื่อให้ได้ผลลัพธ์ กรุณาทำตามนี้:

โปรดป้อนสูตรนี้: = ArrayFormula (QUERY (A1: A16 & {"", ""}, "เลือก Col1, count (Col2) โดยที่ Col1! = '' จัดกลุ่มตามจำนวนป้าย Col1 (Col2) 'Count'", 1)) ลงในเซลล์ว่างที่คุณต้องการใส่ผลลัพธ์จากนั้นกด เข้าสู่ คีย์และผลลัพธ์ที่คำนวณได้แสดงขึ้นพร้อมกันดูภาพหน้าจอ:

หมายเหตุ: ในสูตรข้างต้น A1: A16 คือช่วงข้อมูลซึ่งรวมถึงส่วนหัวคอลัมน์ที่คุณต้องการนับ


นับจำนวนครั้งที่เกิดขึ้นในคอลัมน์ใน Microsoft Excel:

Kutools สำหรับ Excel's แถวรวมขั้นสูง ยูทิลิตี้สามารถช่วยคุณนับจำนวนครั้งที่เกิดขึ้นในคอลัมน์และยังสามารถช่วยคุณในการรวมหรือรวมค่าของเซลล์ที่เกี่ยวข้องตามเซลล์เดียวกันในคอลัมน์อื่น

Kutools สำหรับ Excel: ด้วย Add-in ของ Excel ที่มีประโยชน์มากกว่า 300 รายการให้ทดลองใช้ฟรีโดยไม่มีข้อ จำกัด ใน 30 วัน ดาวน์โหลดและทดลองใช้ฟรีทันที!

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

🤖 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 (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
可以限制规定内容出现的频次吗
This comment was minimized by the moderator on the site
Thanks!!! how do I count multiple columns?Ie column A, B,C,D all have names that needs to be counted
This comment was minimized by the moderator on the site
Thank you for this! Been trying to figure it out for hours!
This comment was minimized by the moderator on the site
Hi, I am trying to filter out some data from a sheet that is regularly updated. To simplify keeping track of the data I have a reporting section on the google sheet.The problem is that the data isn't organized in the most ideal way.

There are 2 columns that I want to use specific data from to create a filter, then with the leftover names I want to know how many unique names there are


Column 1 - Filter with A for one report field, B for the other report field (I will manually change this in the formula)

Column 2 - There are 9 Text entries possible. I want to only include 3 of them as a Filter

Column 3 - There are a couple of thousand entries(names), many are the same in multiple rows. With the data filtered using Column 1, and Column 2, I want to get a number for how many unique names are left after the data has been filtered.


I am not used to having this many things I am trying to filter the data from so any help would be hugely appreciated.


Have an excellent day
This comment was minimized by the moderator on the site
I have a google sheet with a lot of information but I am looking to filter it down into a report.

Column1 - Options are A, B (The is the first data to sort)
Column 2 - has 3 of the text string that I want my sum to include, but I want to leave out the others 5.
Column 3 - Names that I want to know how many unique names there are

What I am looking to figure out is the following

Option A, the sum to only include 3 text string that appears multiple times in a 2nd column, The total being how many unique names there are in Column 3

Hoping someone can help as this is a bit over my experience level
This comment was minimized by the moderator on the site
My count isn't grouping the names together.
i.e.
Column B says
Independence
Walnut St.
Parkway
Walnut St.
and instead of my " count " column saying Walnut St. 2 it says
Walnut St. 1
Walnut St. 1

How can I fix this ?
This comment was minimized by the moderator on the site
This is partly what I'm looking for.
Now my next issue is, how can I sort these so that I get them in desending order?
So it should be looking like this:
James 4
Nicol 3
Ruby 3
Lucy 2
Tom 2
John 1

Hope you can help with that as well
This comment was minimized by the moderator on the site
Hi,
If you want to sort the results in descending order, you just need to sort the data by the formula result column after getting the result.
Hope it can help you!
This comment was minimized by the moderator on the site
Whenever I try to sort, I get an error, is there a way I can fix that? I have the $A$1:$A$7, B1 as my formula - is there something in my formula I should edit?
This comment was minimized by the moderator on the site
VERY useful - thank you so much!
This comment was minimized by the moderator on the site
Thanks! Super useful!
This comment was minimized by the moderator on the site
When you drag the handle down to apply it to the rest of the values, it increments the search radius by 1. So if youre searching =COUNTIF(A1:A10,C1), when you drag the handle down, the second value will be =COUNTIF(A2:A11,C2).
This comment was minimized by the moderator on the site
This is SOOO helpful! This skips an entire step
This comment was minimized by the moderator on the site
You fix it this way
=COUNTIF($A$2:$A$11,C2)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations