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 Array Formula Help Needed

Try
'formula1
=SUMPRODUCT((A1:A100)*(B1:B10=""))


'formula 2
=SUMPRODUCT((B1:B10="")*(A1:A10))
OR
=SUMIF(B1:B10,"",A1:A10)


--
Jacob (MVP - Excel)


"nelly" wrote:

Hi Guys

I need an array formula which counts the number of instances range Comp1 has
a value greater then zero AND Range Comp2 has a blank value.

Sounds simple but I just can't figure it out.

Also would be helpfull would the same criterior but instead of counting the
instances sums the vales in range Comp1

A B
1 1
3
1 2
1 1
1
4 4

Answer for formula 1 would be 2

and for formula 2 would be 4

Regards
Nelly