View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Help with a formula

cell D4

=IF(AND($N4<"",$N4=AC$2,$N4<=AD$2),ABS(SUM(COUNT IF($D$4,{"Greenbrier","Paramount","Harris Ranch"}))-1),"")

If this post helps click Yes
---------------
Jacob Skaria


"Trev" wrote:

I have a formula setup to count all the entries between a certain date to
count the entries for a project within that date. What I need is to count
the entries that are not equal to the project name. Example in column D I
enter the project name could be Greenbrier, Paramount, Harris Ranch or other
names. I have a formula setup to counting Greenbrier, Paramount and Harris
Ranch separately now and what I need is a counts all of the other entries
that are not equal Greenbrier, Paramount or Harris Ranch.

=IF(AND($N4=AC$2,$N4<=AD$2),COUNTIF($D4,"Greenbri er"),"")
=IF(AND($N4=AC$2,$N4<=AD$2),COUNTIF($D4,"Paramoun t"),"")
=IF(AND($N4=AC$2,$N4<=AD$2),COUNTIF($D4,"Harris Ranch"),"")
Now I need one to count anything that is not these 3.
Thanks