Thread: IF Statement
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default IF Statement


Try this array formula:

=SUM(IF((E1:E100="discontinue")*(B1:B1000),1))

entered using SHIFT+CTRL+ENTER

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=496219