Complex Function

D

Derek

Here is what I'm trying to do:

I'm creating a log of specific occurrences (one row for
each occurrence entered).

A:(Date) C:(This condition?)
01/08/04 Y

I need to count the total number of occurrences entered
into the log that have a January date in column A:, AND
that contain a "Y" in column C:.

I'm famliar with date formating and specific serial
numbers for dates, but I cant combine the two conditions
here to achieve a total for the entire log.

Thanks
 
C

Chris Leonard

In column D:

=IF(AND(MONTH(A1)=1,C1="y"),1,0)

In Cell E1 =countif(D:D,1)

HTH

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top