#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gen Gen is offline
external usenet poster
 
Posts: 6
Default = if X=1

How do I enter a formula that is gives a value if x appears in the cell?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default = if X=1

What value do you want?

Try one of these...

=IF(A1="x",10,0)

=(A1="x")*10

=IF(A1="x","Yes","No")

=IF(A1="x","Yes","")

--
Biff
Microsoft Excel MVP


"Gen" wrote in message
...
How do I enter a formula that is gives a value if x appears in the cell?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"