View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
q3pd q3pd is offline
external usenet poster
 
Posts: 7
Default Countif text in individual cells

I have d2, e2 and f2 with text in them. The text is either 'Physical' or
'Remote'.

When they have 'Physical' in d2, and/or e2 and/or f2 I want a function in a1
that returns the number of cells with 'Physical', not including cell e2.

E.g.: Countif(d2:f2, "Physical") returns 3 if all three cells have Physical
in them, however i want it to return 2 and ignore cell e2..

I tried Countif(d2,f2 "Physical"), however Excel will not accept this.

How do I do this function?
--
Q3PD