|  

» Counting the Number of Excel Files in a List According to File Type and Date Criteria

Problem:

In the range A2:B6 are file names and their corresponding creation date.
How could we, for example, count the number of Excel files (".xls") created in April?

Solution:

Use the SUMPRODUCT, MONTH, and RIGHT functions as shown in the following formula:
=SUMPRODUCT((MONTH(B2:B6)=C2)*(RIGHT(A2:A6,3)=C3))
Screenshot // Counting the Number of Excel Files in a List According to File Type and Date Criteria
Counting the Number of Excel Files in a List According to File Type and Date Criteria

Rate This Tip
12 34 5
Rating: 3.25     Views: 22725
No comments have been submitted.
Name
Comment Title
Comments