View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default countif using multiple if statements

Hi,
=sumproduct((B7:B25="a")+(C7:C25="b"))

"Raymond" wrote:

I am trying to do a countif formula using multiple if statements. For example:

if B7:B25="a" and C7:C25="b" then A= count