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

วิธีการนับจำนวนเซลล์ด้วยข้อความหรือตัวเลขใน Excel

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

นับจำนวนเซลล์ด้วยข้อความด้วยสูตร

นับจำนวนเซลล์ด้วยจำนวนด้วยสูตร


นับและเลือกเซลล์ที่มีข้อความหรือตัวเลขเฉพาะในช่วงใน Excel:

Kutools สำหรับ Excel's เลือกเซลล์เฉพาะ ยูทิลิตี้สามารถนับและเลือกเซลล์เฉพาะที่มีข้อความหรือตัวเลขในช่วงได้อย่างรวดเร็วดาวน์โหลดฟีเจอร์เต็มฟรี 60 วันของ Kutools for Excel ตอนนี้!

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


นับจำนวนเซลล์ด้วยข้อความด้วยสูตร

สำหรับการนับจำนวนเซลล์ที่มีข้อความใน Excel โปรดทำดังนี้

1. เลือกเซลล์ว่างที่คุณต้องการให้แสดงผลการนับ

2. คัดลอกและวางสูตร = COUNTA (A1: D15) -COUNT (A1: D15) ลงในแถบสูตรแล้วกดปุ่ม Enter จากนั้นคุณจะเห็นจำนวนเซลล์ทั้งหมดที่แสดงในเซลล์ที่เลือก

หมายเหตุ: หลังจากวางสูตรแล้วคุณต้องเปลี่ยนช่วงเซลล์ตามที่คุณต้องการ


นับจำนวนเซลล์ด้วยจำนวนด้วยสูตร

หลังจากนับจำนวนเซลล์ด้วยข้อความส่วนนี้จะแสดงสูตรการนับจำนวนเซลล์ด้วยตัวเลข

1. เลือกเซลล์ว่างสำหรับใส่ผลการนับ

2. คัดลอกและวางสูตร = COUNT (A1: D15) ในแถบสูตรจากนั้นกดปุ่ม Enter ดูภาพหน้าจอ:

จากนั้นคุณจะเห็นผลการนับที่แสดงในเซลล์ที่เลือก

หมายเหตุ: เปลี่ยนช่วงเซลล์ในสูตรตามแผ่นงานของคุณหลังจากคัดลอกและวาง


แท็บ Office - การเรียกดูแบบแท็บการแก้ไขและการจัดการสมุดงานใน Excel:

แท็บ Office นำอินเทอร์เฟซแบบแท็บตามที่เห็นในเว็บเบราว์เซอร์เช่น Google Chrome, Internet Explorer เวอร์ชันใหม่และ Firefox ไปยัง Microsoft Excel มันจะเป็นเครื่องมือที่ประหยัดเวลาและไม่สามารถถูกแทนที่ได้ในงานของคุณ ดูการสาธิตด้านล่าง:

คลิกเพื่อทดลองใช้ Office Tab ฟรี!

แท็บ Office สำหรับ 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 (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How can I count the cells in excel that contains only letters as a text and not numbers?
eg this is a cell with text in excel "john1980" and also "john". I want to count only cells that contains eg "john" and not "john1980"

Thank you
This comment was minimized by the moderator on the site
Hi John,

Try this formula: =COUNTIF(A1:D11, "john")
This comment was minimized by the moderator on the site
Hi,
The "john1980" and also "john" is an example. The cells has random text and text with mumbers. Not a specific word.
This comment was minimized by the moderator on the site
Hi, how can we count the added numbers in a cell , for eg - =1+7+3  , which is 3 numbers . 
This comment was minimized by the moderator on the site
I am stumped trying to work this out. In column “E” I enter a number a few times a day.
I would like in column “F” to equal what the number of entries are from the proceeding rows in column E. I also want the number of entries to subtotal and I want that subtotals divided by the number of entries. Below is an example of what I need.
i.e.
At 10:00 am, I enter 102 in E4, I need F4 to show the auto sum value of E column divided by the number of entries in E column from a starting point of my entries (E4), down to the current row being worked, “4 is current”.
At 10:07 am, I enter 115 in E5, I need F5 to show the auto sum value of E column divided by the number of entries in E column from a starting point of my entries (E4), down to the current row being worked, “5 is current”.
At 10:12 am, I enter 96 in E6, I need F6 to show the auto sum value of E column divided by the number of entries in E column from a starting point of my entries (E4), down to the current row being worked, “6 is current”.
The number of my entries in column E vary from day to day with some rows not having an entry in the E column. I would like the formula to skip rows with no entry in the E column. I thank you so very much in advance for your help


1A B C D E F
2 Days #s
3 Date Time Pressure Temperature Rolling Average
4 2/28/1998 10:00am 40 102 102
5 2/28/1998 10:07am 40 115 =E4+E5/2 or 108.5
6 2/28/1998 10:12am 36 96 =E4+E5+E6/3 or 104.3
7 2/28/1998 10:30am 47 130 =E4+E5+E6+E7/4 or 110.7
8 2/28/1998 1:15pm 41 105 =E4+E5+E6+E7+E8/5 or 109.6
9 3/2/1998 9:15am 43 SKIP. No entry was made in E9
10 3/2/1998 9:45am 40 108 =E4+E5+E6+E7+E8+E10/6 or 109.3
11 3/2/1998 10:30am 39 99 =E4+E5+E6+E7+E8+E10+E11/7 or 107.8
This comment was minimized by the moderator on the site
Hi
can you tell me how i can count the number is written in cell


|123456789| show me is 9 word in this cell
This comment was minimized by the moderator on the site
Hi Bilal,
This formula can help you =LEN(A1)-LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,0,""),1,""),2,""),3,""),4,""),5,""),6,""),7,""),8,""),9,"")).
Thanks for your comment.
This comment was minimized by the moderator on the site
Hi,

How to know the number of the number of an entry that we are making in excel? Please help me regarding this,
This comment was minimized by the moderator on the site
Hi,
Would you please provide a screenshot of your spreadsheet showing what you are exactly trying to do?
This comment was minimized by the moderator on the site
Thank you a lot as well. It resolved my excel problems
This comment was minimized by the moderator on the site
Thank you so much.It really helped me a lot.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations