View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Help With An If Formula


Maybe something like:

in C3
=IF(B1="2pk",A1/4,0)

basic of formula
IF(condition, if true, if false)

condition - B1 = "2pk" ....will calculate to TRUE or FALSE
if true - A1/4 or any value you want returned
if false - 0 or "" to return a blank cell or any value you want
returned

Hope this helps!
Jean-Guy


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