View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RichardM RichardM is offline
external usenet poster
 
Posts: 3
Default Countif only col a = col b by date

I am trying to count the number of times both col a and col b have a 1 in
them on the same day. The spreadsheet has three columns A=Date C=1 or
blank,D=1or blank. The formula I have is this
=COUNTIF(C1:C367,"1")-COUNTIF(D1:D367,"1") but it is not giving me the
correct count number of times that column c and col d are equal. Any
suggestions?