=SUMPRODUCT(--(A2:A50="Microsoft"),--(D2:D50<""),C2:C50)
replace Microsoft with a cell where you put the company name or with one of
your numbers (1 for Microsoft?)
--
Regards,
Peo Sjoblom
(No private emails please)
"amrezzat" wrote in
message ...
you didnt get what i meant
i only want to sum the numbers in third column if they only belonged to
one company(suppose company number 1 (microsoft)) and also if the
forth column have a value in it
so in that example
the summation of microsoft is 100+100=200
--
amrezzat
------------------------------------------------------------------------
amrezzat's Profile:
http://www.excelforum.com/member.php...o&userid=28766
View this thread: http://www.excelforum.com/showthread...hreadid=485033