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

จะนับค่าเฉพาะในแผ่นงานหลายแผ่นได้อย่างไร

สมมติว่าฉันมีแผ่นงานหลายแผ่นซึ่งมีข้อมูลต่อไปนี้และตอนนี้ฉันต้องการรับจำนวนการเกิดขึ้นของค่าเฉพาะ "Excel" จากแผ่นงานเหล่านี้ ฉันจะนับค่าเฉพาะในแผ่นงานหลายแผ่นได้อย่างไร

doc- นับข้ามหลายแผ่น -1 doc- นับข้ามหลายแผ่น -2 doc- นับข้ามหลายแผ่น -3 2 doc- นับข้ามหลายแผ่น -4

นับค่าเฉพาะในแผ่นงานหลายแผ่นด้วยสูตร

นับค่าเฉพาะในแผ่นงานหลายแผ่นด้วย Kutools for Excel


  นับค่าเฉพาะในแผ่นงานหลายแผ่นด้วยสูตร

ใน Excel มีสูตรให้คุณนับค่าบางค่าจากแผ่นงานหลายแผ่น กรุณาดำเนินการดังนี้:

1. แสดงชื่อแผ่นงานทั้งหมดที่มีข้อมูลที่คุณต้องการนับในคอลัมน์เดียวเหมือนภาพหน้าจอต่อไปนี้:

doc- นับข้ามหลายแผ่น -5

2. ในเซลล์ว่างโปรดป้อนสูตรนี้: =SUMPRODUCT(COUNTIF(INDIRECT("'"&C2:C4&"'!A2:A6"),E2))จากนั้นกด เข้าสู่ และคุณจะได้รับจำนวนค่า "Excel" ในแผ่นงานเหล่านี้ดูภาพหน้าจอ:

doc- นับข้ามหลายแผ่น -6

หมายเหตุ:

1. ในสูตรข้างต้น:

  • A2: A6 คือช่วงข้อมูลที่คุณต้องการนับค่าที่ระบุในแผ่นงาน
  • C2: C4 คือรายชื่อแผ่นงานที่มีข้อมูลที่คุณต้องการใช้
  • E2 เป็นเกณฑ์ที่คุณต้องการตาม

2. หากต้องมีหลายแผ่นงานคุณสามารถอ่านบทความนี้ได้ วิธีการแสดงชื่อแผ่นงานใน Excel เพื่อจัดการกับงานนี้

3. ใน Excel คุณยังสามารถใช้ฟังก์ชัน COUNTIF เพื่อเพิ่มแผ่นงานทีละแผ่นได้โปรดทำตามสูตรต่อไปนี้: =COUNTIF(Sheet1!A2:A6,D2)+COUNTIF(Sheet10!A2:A6,D2)+COUNTIF(Sheet15!A2:A6,D2), (Sheet1, Sheet10 และ Sheet15 คือแผ่นงานที่คุณต้องการนับ D2 เป็นเกณฑ์ที่คุณยึดตาม) จากนั้นกด เข้าสู่ กุญแจสำคัญในการรับผลลัพธ์ ดูภาพหน้าจอ:

doc- นับข้ามหลายแผ่น -7


นับค่าเฉพาะในแผ่นงานหลายแผ่นด้วย Kutools for Excel

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

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

หลังจากการติดตั้ง Kutools สำหรับ Excelให้เช่าทำดังนี้

1. คลิก Kutools > การเดินเรือดูภาพหน้าจอ:

doc- นับข้ามหลายแผ่น -9

doc- นับข้ามหลายแผ่น -10

2. ใน การเดินเรือ บานหน้าต่างโปรดดำเนินการดังต่อไปนี้:

(1. ) คลิก ค้นหาและแทนที่ ปุ่มเพื่อขยายไฟล์ ค้นหาและแทนที่ บานหน้าต่าง;

(2. ) พิมพ์ค่าเฉพาะลงใน สิ่งที่ค้นหา กล่องข้อความ;

(3. ) เลือกขอบเขตการค้นหาจากไฟล์ วิทิน ดรอปดาวน์ในกรณีนี้ฉันจะเลือก แผ่นงานที่เลือก;

(4. ) จากนั้นเลือกแผ่นงานที่คุณต้องการนับค่าเฉพาะจากไฟล์ สมุดงาน กล่องรายการ;

(5. ) ตรวจสอบ จับคู่เซลล์ทั้งหมด หากคุณต้องการนับเซลล์ที่ตรงกันทั้งหมด

(6. ) จากนั้นคลิกที่ไฟล์ ค้นหาทั้งหมด ปุ่มเพื่อแสดงรายการค่าเฉพาะทั้งหมดจากแผ่นงานหลายแผ่นและจำนวนเซลล์จะแสดงที่ด้านล่างของบานหน้าต่าง

ดาวน์โหลดและทดลองใช้ Kutools for Excel ฟรีทันที!


Demo: นับค่าเฉพาะในแผ่นงานหลายแผ่นด้วย Kutools for Excel

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


บทความที่เกี่ยวข้อง:

จะใช้ countif เพื่อคำนวณเปอร์เซ็นต์ใน Excel ได้อย่างไร?

วิธีการนับด้วยหลายเกณฑ์ใน Excel

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

🤖 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
Hello, I've used the =SUMPRODUCT(COUNTIF(INDIRECT("'"&C2:C4&"'!A2:A6"),E2)) successfully to total criteria for sheetlists by month for 2023. I want to continue on the same workbook for 2024 and make new sheetlists by month. When i try the above formula with 2024 sheetlists, I get an REF error that i cant figure out how to resolve. Is there any way to resolve the error or do i have to start a new workbook?
This comment was minimized by the moderator on the site
Ik krijg alleen maar foutmeldingen na het kopieren-plakken van het voorbeeld en lezen van de tutorial. Ook na cellen veranderen en dergelijke.

Hoe kan ik de getallen in cellen over meerdere sheets/tabbladen bij elkaar optellen?
This comment was minimized by the moderator on the site
Hi, Leek,
to sum values from multiple worksheets, please apply htis formula: =SUM(Sheet1!B5,Sheet2!B5,Sheet3!B5…)

Notes:
1. In this formula, Sheet1!B5, Sheet2!B5, Sheet3!B5 are the sheet name and cell value that you wan tto sum, if there are more sheets, you just add them into the formula as you need.
2. If the source worksheet name contains a space or special character, it must be wrapped in single quotes. For example: 'New York'!B5

Please try it, hope can help you!
This comment was minimized by the moderator on the site
Thank you. Even though is very long formula, the one that worked the easiest for me was COUNTIF + COUNTIF
This comment was minimized by the moderator on the site
This doesn't work when the sheet name has dashes in them. Anything I can do about it?
This comment was minimized by the moderator on the site
Need a answer very eagerly for this. I have multiple worksheets in our workbook, and I want to count total number for values in a column C for every sheet and that too every sheet wise not a total of every C column of all sheets.
This comment was minimized by the moderator on the site
1*1=1 but from 2 it should be 3 double. how i set up in excel? please give me a solution.
This comment was minimized by the moderator on the site
This was extremely helpful. the below formula is what i use to track all my employees Vacation,Sick,Personal,LOA days. I have tabs for every month of the year and use this to track how many days they have used. All i do is change the "V" to a "S" or "P". Formula works perfect! thanks for the info....

=COUNTIF(January!B16:AF16,"V")+COUNTIF(February!B16:AF16,"V")+COUNTIF(March!B16:AF16,"V")+COUNTIF(April!B16:AF16,"V")+COUNTIF(May!B16:AF16,"V")+COUNTIF(June!B16:AF16,"V")+COUNTIF(July!B16:AF16,"V")+COUNTIF(August!B16:AF16,"V")+COUNTIF(September!B16:AF16,"V")+COUNTIF(October!B16:AF16,"V")+COUNTIF(November!B16:AF16,"V")+COUNTIF(December!B16:AF16,"V")
This comment was minimized by the moderator on the site
I want to count specific word in Coloum accross the Jan to Dec, Please advice and sum it up
This comment was minimized by the moderator on the site
Hi. Using this formula:
=SUMPRODUCT(COUNTIF(INDIRECT("'"&C2:C4&"'!A2:A6"),E2))

I get a Ref error if Column C has more than 9 rows. In other words, INDIRECT("'"&C2:C9&"'!A2:A6"),E2)), is OK but INDIRECT("'"&C2:C10&"'!A2:A6"),E2)) is not.
How do I avoid this error?
This comment was minimized by the moderator on the site
How would I write the formula above (=SUMPRODUCT(COUNTIF(INDIRECT("'"&C2:C4&"'!A2:A6"),E2))) if I had to use the COUNTIFS function? Right now I have to see if certain cells have met 2 to 3 criteria (across multiple worksheets). cheers for you help.
This comment was minimized by the moderator on the site
try =SUMPRODUCT(COUNTIFS(INDIRECT("'"&C2:C4&"'!A2:A6"),E2),(INDIRECT("'"&C2:C4&"'!A2:A6"),X2),(INDIRECT("'"&C2:C4&"'!A2:A6"),Y2)) where E2, X2 and Y2 are your criteria and INDIRECT("'"&C2:C4&"'!A2:A6" are your criteria range, where C2:C4 are your tab names and A2:A6 is your data range let me know if it works I'm actually very curious, didn't have time to run and test it myself. I just had to use one criteria so above easier formula did work wonders for me
This comment was minimized by the moderator on the site
Can you not specify your range of cells within a RANGE of sheets instead of "sheet1+sheet2+sheet3...." and specify a range to compare to like: countif(sheet1:sheet5!b:b, a:a)
This comment was minimized by the moderator on the site
tried it, didn't work. you need your tab(sheet) names in the cells for it to work. The cells are actually making up a range themselves, hence C2:C4 in the formula
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