Count Birthdays By Year Excel Formula
where data is an Excel Table in the range (C5:B16). As the formula is copied down, it returns a count of birthdays per year as shown. Video: What is an Excel table. Note: this example has been updated below to show how to create an all-in-one formula with dynamic arrays in the latest version of Excel. SUMPRODUCT function The easiest way to solve this problem is to use the SUMPRODUCT function together with the YEAR function like this in cell F5: Working from the inside out, we use the YEAR function to extract the year from each birthday: Because there are 12 dates in the list, the YEAR function returns 12 values in an array like this: Next, each value in this array is compared against the year in E5, which is 1999....