Thread: Excel formula
View Single Post
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

=sumproduct(--(L1:L1000="Yes"),--(O1:O1000="Yes"))

"Shirley" wrote in message
...
I am using an excel spreadsheet to count the occurrences
in two different columns and can't figure out the
formula. For example, I want a total of cells that have
a "yes" in column L and a "yes" in column O, if there is
only a "yes" in one of the columns I don't want to count
it.