Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how can I calculate cells containing words yes or no

I have 3 cells, containing either yes or no. I want to calculation where sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and where
the 3 cells are either no or less then 3 yes then the answer would be no.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,290
Default how can I calculate cells containing words yes or no


One way...
=IF(LEN(B5)+LEN(C5)+LEN(D5)=9,B5,"No")
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Brian N"
wrote in message
I have 3 cells, containing either yes or no. I want to calculation where sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and where
the 3 cells are either no or less then 3 yes then the answer would be no.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default how can I calculate cells containing words yes or no

For A10, A1, A12:

In cell B10 enter:
=IF((A10="yes")*(A11="yes")*(A12="yes"),"yes","no" )

--
Gary''s Student - gsnu200775


"Brian N" wrote:

I have 3 cells, containing either yes or no. I want to calculation where sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and where
the 3 cells are either no or less then 3 yes then the answer would be no.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default how can I calculate cells containing words yes or no

Try this:

=IF(COUNTIF(A1:C1,"Yes")=3,"Yes","No")

Assumes your Yes/No values are in cells A1 to C1.

Hope this helps.

Pete

On Mar 24, 11:26*pm, Brian N wrote:
I have 3 cells, containing either yes or no. *I want to calculation where sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and where
the 3 cells are either no or less then 3 yes then the answer would be no. *


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 492
Default how can I calculate cells containing words yes or no

One more, if the cells are adjacent eg A1:A3,
=IF(COUNTIF(A1:A3,"Yes")=3,"Yes","No")
If not,
=IF(AND(A1="Yes",A6="Yes",A13="Yes"),"Yes","No")
Regards,
Alan.
"Brian N" wrote in message
...
I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be no.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how can I calculate cells containing words yes or no

Another one:

=IF(A1&B1&C1="yesyesyes","yes","no")


--
Biff
Microsoft Excel MVP


"Brian N" wrote in message
...
I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be no.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 492
Default how can I calculate cells containing words yes or no

That's really good! Most innovative and surprisingly simple. A prime example
of "That obvious, why didn't I think of that?"
Regards,
Alan.
"T. Valko" wrote in message
...
Another one:

=IF(A1&B1&C1="yesyesyes","yes","no")


--
Biff
Microsoft Excel MVP


"Brian N" wrote in message
...
I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be no.




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default how can I calculate cells containing words yes or no

yet another one:

=IF(COUNITF(A1:A3,"no"),"no","yes")

assuming the cells may be only populated with yes and/or no

;-)
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,290
Default how can I calculate cells containing words yes or no



I'm puzzled, why no array formulas? <g...
{=CHOOSE(OR(B5:D5="No")+1,"Yes","No")}
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Brian N"
wrote in message
I have 3 cells, containing either yes or no. I want to calculation where sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and where
the 3 cells are either no or less then 3 yes then the answer would be no.
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how can I calculate cells containing words yes or no

"That obvious, why didn't I think of that?"

I find myself saying that quite often!


--
Biff
Microsoft Excel MVP


"Alan" wrote in message
...
That's really good! Most innovative and surprisingly simple. A prime
example of "That obvious, why didn't I think of that?"
Regards,
Alan.
"T. Valko" wrote in message
...
Another one:

=IF(A1&B1&C1="yesyesyes","yes","no")


--
Biff
Microsoft Excel MVP


"Brian N" wrote in message
...
I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be
no.








  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how can I calculate cells containing words yes or no

why no array formulas?

Good question!

=IF(AND(A1:C1="yes"),"yes","no")

<g


--
Biff
Microsoft Excel MVP


"Jim Cone" wrote in message
...


I'm puzzled, why no array formulas? <g...
{=CHOOSE(OR(B5:D5="No")+1,"Yes","No")}
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Brian N"
wrote in message
I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be no.



  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,290
Default how can I calculate cells containing words yes or no


I feel better now. <g
'--
Jim Cone


"T. Valko"
wrote in message
why no array formulas?

Good question!

=IF(AND(A1:C1="yes"),"yes","no")

<g
--
Biff
Microsoft Excel MVP


  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how can I calculate cells containing words yes or no

A little bit shorter...

=IF(LEN(A1&B1&C1)=9,"yes","no")

Rick


"T. Valko" wrote in message
...
Another one:

=IF(A1&B1&C1="yesyesyes","yes","no")


--
Biff
Microsoft Excel MVP


"Brian N" wrote in message
...
I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be no.




  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how can I calculate cells containing words yes or no

=IF(LEN(A1&B1&C1)=9,"yes","no")

A1 = yes
B1 = yes
C1 = no<space

Don't'cha just hate me! <g


--
Biff
Microsoft Excel MVP


"Rick Rothstein (MVP - VB)" wrote in
message ...
A little bit shorter...

=IF(LEN(A1&B1&C1)=9,"yes","no")

Rick


"T. Valko" wrote in message
...
Another one:

=IF(A1&B1&C1="yesyesyes","yes","no")


--
Biff
Microsoft Excel MVP


"Brian N" wrote in message
...
I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be
no.






  #15   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how can I calculate cells containing words yes or no

Well, if we are assuming stray spaces, then your formula would fail with any
cell containing yes<space. I would think neither of us has to worry,
though, as the OP specifically said "I have 3 cells, containing either yes
or no" with no mention of trailing space characters.<g

Rick


"T. Valko" wrote in message
...
=IF(LEN(A1&B1&C1)=9,"yes","no")


A1 = yes
B1 = yes
C1 = no<space

Don't'cha just hate me! <g


--
Biff
Microsoft Excel MVP


"Rick Rothstein (MVP - VB)" wrote in
message ...
A little bit shorter...

=IF(LEN(A1&B1&C1)=9,"yes","no")

Rick


"T. Valko" wrote in message
...
Another one:

=IF(A1&B1&C1="yesyesyes","yes","no")


--
Biff
Microsoft Excel MVP


"Brian N" wrote in message
...
I have 3 cells, containing either yes or no. I want to calculation
where sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be
no.








  #16   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default how can I calculate cells containing words yes or no

Brian, I have 3 columns A is all the yes's B is all the No's and C is the
person's names. I would like to put a formula in columb A & B to count the
yes's and no's. Hope i explained that one right :0) thanks for helping

"Brian N" wrote:

I have 3 cells, containing either yes or no. I want to calculation where sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and where
the 3 cells are either no or less then 3 yes then the answer would be no.

  #17   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default how can I calculate cells containing words yes or no

Hi

=COUNTIF(A:A,"Yes")
=COUNTIF(B:B,"No")

--
Regards
Roger Govier

"SSharp" wrote in message
...
Brian, I have 3 columns A is all the yes's B is all the No's and C is the
person's names. I would like to put a formula in columb A & B to count the
yes's and no's. Hope i explained that one right :0) thanks for helping

"Brian N" wrote:

I have 3 cells, containing either yes or no. I want to calculation where
sum
of cells is no, no, yes (answer is No), or yes, yes yes (answer is yes)
essentially where answers are all yes then the returned sum is Yes and
where
the 3 cells are either no or less then 3 yes then the answer would be no.


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting by numbers w/ words in the same cells guyfromage Excel Discussion (Misc queries) 2 August 23rd 06 10:29 PM
conditional formatting for cells containing words LawW Excel Discussion (Misc queries) 2 March 21st 06 06:43 PM
cannot get color in cells and words jbsl Setting up and Configuration of Excel 1 February 2nd 06 01:35 PM
calculate the number of words in a row whose length is greater than 2 sks1379 Excel Worksheet Functions 5 September 4th 05 06:21 PM
Words in Excel Cells The Butler From Tennessee Excel Worksheet Functions 2 December 2nd 04 01:09 AM


All times are GMT +1. The time now is 06:51 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"