View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Help with correcting writing a formula

try sumproduct()
=sumproduct(--(D21:D208="Office
name"),--(E21:E2080),--E21:E208<=2),--(K21:K208<""))

"tuk16664" wrote:

Hi

I would like some help with a formula that i am trying to create on my
spread sheet. The formula needs to countif a specific set of data is reached.
So far i have an array formula working that counts if 2 specific names are
added

I.e. =COUNT(IF((D21:D208="Office name")*(E21:E208="Not Offered"),K21:K208))

What i want to do now is keep the original part with the office name but
then have it count if a value in column I21:I208 is 0 and <=2.

Not sure if this can me done and really would appreciate some help

Many thanks for your time.