Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to count if dates are in a specific year in Excel?

Supposing you have an employee information table which containing the name and date of birth in two columns, and now, you want to find how many employees are born in a specific year, how can you do? This article provides two methods to help you solve the problem.

Count if dates are in a specific year with formula
Count if date s are in a specific year with an awesome feature


Count if dates are in a specific year with formula

The formula in this section can help to count number of date cells if they are in a specific year.

Syntax

SUMPRODUCT(array1,[array2],[array3],…)

Argument

Array1 (Required): The first array argument you want to multiply and then add.
Array2, array3 (Optional): The second and third array arguments you want to multiply and then add.

1. Select a blank cell to output the result, copy and paste the below formula into it and press the Enter key to get the result.

=SUMPRODUCT(--(YEAR(B2:B68)=E1))

Note: In the formula, B2:B68 is the date range; and E1 is the cell containing the certain year you will count dates based on. Please change them to your own needs.


Count if date s are in a specific year with an awesome feature

Here will recommend a handy feature for you. The Select Specific Cells utility of Kutools for Excel can help to quickly count and select all date cells which are in a specific year in Excel. You can do as follows to achieve it.

Before applying Kutools for Excel, please download and install it firstly.

1. Select all date cells, click Kutools > Select > Select Specific Cells. See screenshot:

2. In the opening Select Specific Cells dialog, you need to:

  • 2.1 Select Cell in the Selection type section;
  • 2.2 Choose Contains from the Specific type drop-down list;
  • 2.3 Enter the specific year into the textbox;
  • 2.4 Click OK.

3. Then another Select Specific Cells dialog pops up to tell you how many date cells are in the specific year. Click OK to close it. And all qualified cells are selected immediately.

  If you want to have a free trial ( 60-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Related article

Use countif with multiple criteria in Excel
In Excel, COUNTIF function may help us to calculate the number of a certain value in a list. But sometimes, we need to use multiple criteria for counting, this will be more complex, today, I will talk about some items for counting with multiple criteria.

Countif by date/month/year and date range in Excel
Methods in this tutorial will guide you to Countif by date/month/year and date range with formulas in Excel.

Count if cells are start with or end with specific text in Excel
Supposing you have a range of data and you want to count the number of cells which start with “kte” or end with “kte” in a worksheet. Here I introduce some tricks instead of manual counting for you.

Countif a specific value across multiple worksheets
Supposing you have multiple worksheets and want to get the number of occurrence of a specific value “Excel” from theses worksheets. How could I count a specific values across multiple worksheet?

Convert date to weekday, month, year name or number in Excel
Says you enter a date in one cell, and it shows as 12/13/2015. Is there a way to show only the month or the weekday, or the text of month name or weekday name, such as December, or Sunday? The methods in this article can help you easily convert or format any kinds of date to display only the weekday name or month name in Excel.

Convert birthdate to age quickly in Excel
For instance, you get a range of various birthdate data in Excel, and you need to convert these birthdate to display their exact age value in Excel, how would you like to figure out? This article lists some tips to convert the birth date to age in Excel easily.


Kutools for Excel - The Best Office Productivity Tool Increase Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 60-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.