Thread: Formula help
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Rich[_8_] Rich[_8_] is offline
external usenet poster
 
Posts: 16
Default Formula help


"Peter" wrote in message
...
I need the correct formula for the following propblem...
If(c21=dog then f21+g21) or if (c21=cat then 0,0)


=IF(C21="dog",(F21+G21),0)

cat or anything else will be zero.
--
Rich
http://www.richdavies.com/jingle-smells.htm
http://www.richdavies.com/excel.htm


** Posted from http://www.teranews.com **