SUMPRODUCT is a good formula
=IF(SUMPRODUCT((A1:A100200)*(B1:B100<400)*(...)) 0,...)
Another useful approach is to use CHOOSE
=CHOOSE(1+(A1200)*1+(B1400)*1,"Buy","Hold","Sell ")
Hope this helps
Ola Sandström
--
olasa
------------------------------------------------------------------------
olasa's Profile:
http://www.excelforum.com/member.php...o&userid=17760
View this thread:
http://www.excelforum.com/showthread...hreadid=378306