#1   Report Post  
kiran
 
Posts: n/a
Default Help

I have a column with values yes no as mentioned below i want 1 if value is
yes 0 if value is no in next column
yes
no
yes
yes
no
no
yes
yes

  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi kiran

In B1 use this formula and copy down
=IF(A1="yes",1,0)

--
Regards Ron de Bruin
http://www.rondebruin.nl



"kiran" wrote in message ...
I have a column with values yes no as mentioned below i want 1 if value is
yes 0 if value is no in next column
yes
no
yes
yes
no
no
yes
yes



  #3   Report Post  
Nick Hodge
 
Posts: n/a
Default

Kiran

=IF(A1="yes",1,0)

Presumes yes/ no are in column A and are all lower case, copy the formula
down as far as needed

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"kiran" wrote in message
...
I have a column with values yes no as mentioned below i want 1 if value is
yes 0 if value is no in next column
yes
no
yes
yes
no
no
yes
yes



  #4   Report Post  
RagDyeR
 
Posts: n/a
Default

If "yes" and "no" are the *only* possible entries in Column A:

=--(A1="yes")

If other entries are possible:

=IF(A1="yes",1,IF(A1="no",0,""))
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"kiran" wrote in message
...
I have a column with values yes no as mentioned below i want 1 if value is
yes 0 if value is no in next column
yes
no
yes
yes
no
no
yes
yes


  #5   Report Post  
Sandy Mann
 
Posts: n/a
Default

Presumes yes/ no are in column A and are all lower case, copy the formula

I don't think that the comparison is case sensitive, is it?

Regards

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"Nick Hodge" wrote in message
...
Kiran

=IF(A1="yes",1,0)

Presumes yes/ no are in column A and are all lower case, copy the formula
down as far as needed

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"kiran" wrote in message
...
I have a column with values yes no as mentioned below i want 1 if value

is
yes 0 if value is no in next column
yes
no
yes
yes
no
no
yes
yes







  #6   Report Post  
Gord Dibben
 
Posts: n/a
Default

Sandy

My Excel 2002 will return correct results whether lower or upper case.


Gord Dibben Excel MVP

On Tue, 25 Jan 2005 17:45:27 -0000, "Sandy Mann"
wrote:

Presumes yes/ no are in column A and are all lower case, copy the formula


I don't think that the comparison is case sensitive, is it?

Regards

Sandy


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 PM.

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"