View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default countif column d equals x and column a noblank

=SUMPRODUCT(--(LEN(TRIM(a2:a23))0),--(d2:d23="x"))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Willie Wilson" <Willie
wrote in message
...
total of a column where the text is "X" and the name column is not blank.