Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

COUNTIF two indexes match to return counts of their rows

TableI want excel to display the following:

Count the number of rows with a date filled in when a cell from one table is equal to a cell in a different table column.

For example,

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

With R9 containing the value 8 and column A having many 8’s, I want excel to count the number of sales date values in all rows where these values match. In this scenario there are 9 rows where cell R9 is equal to values in column A that have a sales date shown.

Edit: I would like this all to go in column Z under sold count.

>Solution :

Assuming Column A is your ID column and Column C contains the date values, you can use this formula:

=COUNTIFS(A2:A18,H3,C2:C18, "<>")

Here, H3 refers to the ID that you want to check for. The "<>" simply counts all rows that are not blank. Please adjust the ranges and column references to match your sheet.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading