View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Patrick Patrick is offline
external usenet poster
 
Posts: 160
Default does an IF function only look up numbers & not text?

try

if(A5="yes",2,0)
or
if(A5="yes",2,if(A5="no",0,""))

if you want text (2 or 0) to be displayed, put " (double quotes) around the
numbers.

good luck!



"CAPGirl" wrote:

I am trying to calculate a forumula to show -- IF "yes" display 2, IF "no"
display 0.

I'm loosing my marbles over this simple function.