EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login

Count Names in Excel

By Arun GuptaArun Gupta

Home » Excel » Blog » Statistical Functions in Excel » Count Names in Excel

Count Names in Excel

Count Names in Excel (Table of Contents)

  • Overview of Count Names in Excel
  • How to Count Names in Excel?

Overview of Count Names in Excel

COUNT is an in-built function in MS Excel which will count the number of cells that contain the numbers in the cell. It comes under statistical function category and it is used to return an integer as output. There are many ways to count the cells in the given range with several user’s criteria. As an example, COUNTIF, DCOUNT, COUNTA, etc.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Formula: There are many value parameters in simple count function where it will count all cells which contain numbers.

Count Formula

There are some specific in-built Count functions which are listed below:

  • COUNT: It will count the number of cells that contain the numbers.
  • COUNTIF: It will count the number of cells that contain the numbers and should be satisfying the user’s criteria.
  • DCOUNT: It will count the cells which are containing some number in the selected database and which is satisfying the user criteria.
  • DCOUNTA: It will count the non-blank cells in the selected database and which is satisfying the user criteria.

How to Count Names in Excel?

Counting Names in excel is very simple and easy. So, here are some examples which can help you to Count Names in Excel.

You can download this Count Names Excel Template here – Count Names Excel Template

Example #1 – Count Name which has Age Data

Let’s assume there is a user which has some people’s personal data like Name and Age, where the user wants to calculate the count of the name which has age data in the table.

Let’s see how we can do this with the Count function.

Step 1: Open MS Excel from the start menu >> Go to Sheet1 where user kept the data.

Popular Course in this category
Excel Training (18 Courses, 9+ Projects)18 Online Courses | 9 Hands-on Projects | 95+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.9 (7,111 ratings)
Course Price

View Course

Related Courses
Excel Advanced Training (14 Courses, 23+ Projects)Excel for Marketing Training (5 Courses, 13+ Projects)

Count Names in Excel example 1.1

Step 2: Now create headers for Count name where the user wants count name which has age data.

Count Names in Excel example 1.2

Step 3: Now calculate the count of a name in the given data by the Count function>> use the equal sign to calculate >> Write in D2 Cell and use COUNT>> “=COUNT (“

Count Names in Excel example 1.3

Step 4: Now it will ask for the value1 which are given in B2 to B10 cell >> select B2 to B10 cell >> “=COUNT (B2: A10)”

Count Names in Excel example 1.4

Step 5: Now press on the Enter key.

Count Names in Excel example 1.5

Summary of Example #1: As the user wants to calculate the count of the name which has age data in the table. So, there are 6 names in the above example who have age data in the table.

Example #2 – Count Name which has Some Common String

Let’s assume there is a user who has some people’s personal data like Name and Age, where the user wants to calculate the count of the name which has “Jr.” string common in their name. Let’s see how we can do this with the COUNTIF function.

Step 1: Open MS Excel from the start menu >> Go to Sheet2 where user kept the data.

Count Names in Excel example 2.1

Step 2: Now create a header for Count name which has “Jr.” string common in their name.

Count Names in Excel example 2.2

Step 3: Now calculate the count of a name in the given data by the COUNTIF function>> use the equal sign to calculate >> Write in D2 Cell and use COUNTIF>> “=COUNTIF (“

Count Names in Excel example 2.3

Step 4: Now it will ask for value1 which are given in A2 to A10 cell >> select A2 to A10 cell >> “=COUNTIF (A2: A10,”

Count Names in Excel example 2.4

Step 5: Now it will ask for criteria which is to search only for the “Jr.” string in the name >>so write in D2 cell >> “=COUNTIF (A2: A10,” *Jr.”)”

Count Names in Excel example 2.5

Step 6: Now press the Enter key.

Count Names in Excel example 2.6

Summary of Example #2: As the user wants to count of the name which has “Jr.” string common in their name in the table. So, there are 3 names in the above example who have “Jr.” string in their name.

Example #3 – Number of Letters with Ending a Specific String

Let’s assume a user wants to count the names which have 5 letters and “ry” string common in their name. Let’s see how we can do this with the COUNTIF function.

 Step 1: Open MS Excel from the start menu >> Go to Sheet3 where user kept the data.

Count Names in Excel example 3.1

Step 2: Now create a header for Count name which has 5 letters and “ry” string common in their name.

Count Names in Excel example 3.2

Step 3: Now calculate the count of a name in the given data by the COUNTIF function>> use the equal sign to calculate >> Write in E2 Cell and use COUNTIF>> “=COUNTIF (“

RY string example 3.3

Step 4: Now it will ask for value1 which are given in A2 to A10 cell >> select A2 to A10 cell >> “=COUNTIF (A2: A10,”

RY string example 3.4

Step 5: Now it will ask for criteria which is to search only for the “ry” string in the name with 5 letters>>so write in E2 cell >> “=COUNTIF (A2: A10,”???ry”)”

RY string example 3.5

Step 6: Now press the Enter key.

RY string example 3.6

Summary of Example #3: As the user wants to count the names which has 5 letters in Name and “ry” string common in their name in the table. So, there are 2 names in the above example who have “ry” string in their name with five letters.

Things to Remember About Count Names in Excel

  • The Count function comes under the statistical function category and it used to return an integer as output.
  • If a cell containing any value which is not numeric like text or #NA, then it will not be counted by the count function.
  • The asterisk (*) is used to match any set of characters in the COUNTIF criteria.
  • The question mark (?) is used as the wildcard character to match any single character in the criteria of the function.
  • In the criteria a user can use greater than “>”, less than “<” or equal to “=” symbol to create criteria in the function. As an example, “=COUNTIF (A2:A5,”>=10”)” here as the output it will return the count of the cell which has a value greater than or equal to 10.

Recommended Articles

This is a guide to Count Names in Excel. Here we discuss How to Count Names in Excel along with examples and downloadable excel template. You may also look at the following articles to learn more –

  1. Count Cells with Text in Excel
  2. Count Characters in Excel
  3. Count Formula in Excel
  4. COUNTIFS in Excel

Excel Training (18 Courses, 9+ Projects)

18 Online Courses

9 Hands-on Projects

95+ Hours

Verifiable Certificate of Completion

Lifetime Access

Learn More

0 Shares
Share
Tweet
Share
Primary Sidebar
Excel Functions
  • Statistical Functions in Excel
    • COUNTIF Formula in Excel
    • COUNTIFS with Multiple Criteria
    • Statistics in Excel
    • Confidence Interval in Excel
    • Interpolate in Excel
    • Linear Programming in Excel
    • COUNTIFS in Excel
    • Excel Variance
    • Normal Distribution Formula in Excel
    • Count Cells with Text in Excel
    • Excel Formula For Rank
    • Linear Regression in Excel
    • COUNTA Function in Excel
    • MAX Formula in Excel
    • Excel NORMSINV
    • Count Names in Excel
    • FORECAST Formula in Excel
    • NPER in Excel
    • Excel Median Formula
    • Lognormal Distribution in Excel
    • Excel Chi Square Test
    • Count Formula in Excel
    • COUNTIF Examples in Excel
    • Excel P-Value
    • COUNTIF Not Blank in Excel
    • Excel Standard Deviation Formula
    • Excel GROWTH Formula
    • Excel Percentile Formula
    • Excel Frequency Formula
    • Excel Average Formula
    • Excel Correlation Matrix
    • Excel Z Score
    • Excel MAX IF Function
    • Z TEST in Excel
    • Excel Trendline
    • Excel F-Test
    • Excel STDEV Function
    • Excel Frequency Distribution
    • DCOUNT Function in Excel
    • Excel MIN Function
    • Excel Forecast Function
    • FREQUENCY Excel Function
    • COUNTIF with Multiple Criteria
    • Standard Deviation in Excel
    • MAX Excel Function
    • Excel QUARTILE Function
    • Excel T.Test Function
    • Excel PERCENTILE Function
    • MODE Excel Function
    • SLOPE Excel Function
    • Excel Median Function
    • Excel TREND Function
    • Excel Count Function
    • Excel LARGE Function
    • SMALL Excel Function
    • COUNTIF Excel Function
    • Excel AVERAGE Function
    • Excel CORREL Function
  • Excel Functions (12+)
  • Excel Tools (110+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (13+)
  • Lookup Reference Functions in Excel (33+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (25+)
  • Date and Time Function in Excel (22+)
  • Information Functions in Excel (4+)
  • Excel Charts (55+)
  • Excel Tips (220+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (20+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL ADVANCED Training Certification
  • Online Excel for Marketing Course
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

© 2020 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA Login

Forgot Password?

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you
Book Your One Instructor : One Learner Free Class

Let’s Get Started

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

Download Count Names Excel Template

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

Special Offer - Excel Training (18 Courses, 9+ Projects) Learn More