A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Discussion (Misc queries)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

can I make cell "yes" equal 1, "no" equal 0



 
 
Thread Tools Display Modes
  #1  
Old January 25th 05, 04:55 PM
can I make cell yes equal 1, no equa
external usenet poster
 
Posts: n/a
Default can I make cell "yes" equal 1, "no" equal 0


Ads
  #2  
Old January 25th 05, 05:05 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default

in another cell?

=IF(AND(A1<>"yes",A1<>"no"),"",(A1="yes")*1+(A1="n o")*0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"can I make cell yes equal 1, no equa" <can I make cell "yes" equal 1, "no"
> wrote in message
...
>



  #3  
Old January 25th 05, 07:06 PM
Sandy Mann
external usenet poster
 
Posts: n/a
Default

Picky but I don't think that you need the " +(A1="no")*0 " Just

=IF(AND(A1<>"yes",A1<>"no"),"",(A1="yes")*1)

or

=IF(AND(A1<>"yes",A1<>"no"),"",--(A1="yes"))

will work

Regards

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


"Bob Phillips" > wrote in message
...
> in another cell?
>
> =IF(AND(A1<>"yes",A1<>"no"),"",(A1="yes")*1+(A1="n o")*0)
>
> --
>
> HTH
>
> RP
> (remove nothere from the email address if mailing direct)
>
>
> "can I make cell yes equal 1, no equa" <can I make cell "yes" equal 1,

"no"
> > wrote in message
> ...
> >

>
>



  #4  
Old January 25th 05, 08:57 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default

Hi Sandy,

Quite right, well spotted.

Bob

"Sandy Mann" > wrote in message
...
> Picky but I don't think that you need the " +(A1="no")*0 " Just
>
> =IF(AND(A1<>"yes",A1<>"no"),"",(A1="yes")*1)
>
> or
>
> =IF(AND(A1<>"yes",A1<>"no"),"",--(A1="yes"))
>
> will work
>
> Regards
>
> Sandy
> --
> to e-mail direct replace @mailintor.com with @tiscali.co.uk
>
>
> "Bob Phillips" > wrote in message
> ...
> > in another cell?
> >
> > =IF(AND(A1<>"yes",A1<>"no"),"",(A1="yes")*1+(A1="n o")*0)
> >
> > --
> >
> > HTH
> >
> > RP
> > (remove nothere from the email address if mailing direct)
> >
> >
> > "can I make cell yes equal 1, no equa" <can I make cell "yes" equal 1,

> "no"
> > > wrote in message
> > ...
> > >

> >
> >

>
>



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a cell equal to another cells value and not it's fo. TroutKing Excel Worksheet Functions 2 January 17th 05 06:15 PM
make cell contents equal to null value - not blank, but empty mpierre Excel Worksheet Functions 1 December 29th 04 06:57 AM
How do I make one cell equal to another Deb Blackshaw Excel Worksheet Functions 2 December 20th 04 12:29 AM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 08:20 PM.


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