Thread: = if X=1
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default = if X=1

If A1 is 'x' then return 1 else blank

Try this in cell B1
=IF(A1="X",1,"")

If this post helps click Yes
---------------
Jacob Skaria


"Gen" wrote:

How do I enter a formula that is gives a value if x appears in the cell?