Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a bunch of yes and no's (sometimes only no's or yes's) entered in row,
I want to check the row and output 1 if there's a single yes in the row |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try something like this:
=COUNTIF(1:1,"yes")0 Does that help? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: I have a bunch of yes and no's (sometimes only no's or yes's) entered in row, I want to check the row and output 1 if there's a single yes in the row |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Actually, the formula I posted returns TRUE or FALSE....
This one returns 1 or 0: =--(COUNTIF(1:1,"yes")0) *********** Regards, Ron XL2002, WinXP "Ron Coderre" wrote: Try something like this: =COUNTIF(1:1,"yes")0 Does that help? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: I have a bunch of yes and no's (sometimes only no's or yes's) entered in row, I want to check the row and output 1 if there's a single yes in the row |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
thanks ron!
however, is there a way i can put a bunch of cell coordinates into the formula to see if there are any values of "yes"? such as, check A3, B3, C3, and D4 to see if there is a "yes" amongst a bunch of "no" is that clear? Thanks again! Dan "Ron Coderre" wrote: Actually, the formula I posted returns TRUE or FALSE.... This one returns 1 or 0: =--(COUNTIF(1:1,"yes")0) *********** Regards, Ron XL2002, WinXP "Ron Coderre" wrote: Try something like this: =COUNTIF(1:1,"yes")0 Does that help? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: I have a bunch of yes and no's (sometimes only no's or yes's) entered in row, I want to check the row and output 1 if there's a single yes in the row |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This is all I can think of, right now:
=--OR(A3="yes",B3="yes",C3="yes",D4="yes") That's only ok for a short list of cells, though. Is that something you can work with? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: thanks ron! however, is there a way i can put a bunch of cell coordinates into the formula to see if there are any values of "yes"? such as, check A3, B3, C3, and D4 to see if there is a "yes" amongst a bunch of "no" is that clear? Thanks again! Dan "Ron Coderre" wrote: Actually, the formula I posted returns TRUE or FALSE.... This one returns 1 or 0: =--(COUNTIF(1:1,"yes")0) *********** Regards, Ron XL2002, WinXP "Ron Coderre" wrote: Try something like this: =COUNTIF(1:1,"yes")0 Does that help? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: I have a bunch of yes and no's (sometimes only no's or yes's) entered in row, I want to check the row and output 1 if there's a single yes in the row |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
doesn't seem to be working...what are the two dashes after the equal sign?
anything that'll perhaps count the "yes" values in a series of cells? thanks! dan "Ron Coderre" wrote: This is all I can think of, right now: =--OR(A3="yes",B3="yes",C3="yes",D4="yes") That's only ok for a short list of cells, though. Is that something you can work with? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: thanks ron! however, is there a way i can put a bunch of cell coordinates into the formula to see if there are any values of "yes"? such as, check A3, B3, C3, and D4 to see if there is a "yes" amongst a bunch of "no" is that clear? Thanks again! Dan "Ron Coderre" wrote: Actually, the formula I posted returns TRUE or FALSE.... This one returns 1 or 0: =--(COUNTIF(1:1,"yes")0) *********** Regards, Ron XL2002, WinXP "Ron Coderre" wrote: Try something like this: =COUNTIF(1:1,"yes")0 Does that help? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: I have a bunch of yes and no's (sometimes only no's or yes's) entered in row, I want to check the row and output 1 if there's a single yes in the row |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
scratch that!
i got it...or i should say YOU got it! thanks, dan "Ron Coderre" wrote: Actually, the formula I posted returns TRUE or FALSE.... This one returns 1 or 0: =--(COUNTIF(1:1,"yes")0) *********** Regards, Ron XL2002, WinXP "Ron Coderre" wrote: Try something like this: =COUNTIF(1:1,"yes")0 Does that help? *********** Regards, Ron XL2002, WinXP "dan2201" wrote: I have a bunch of yes and no's (sometimes only no's or yes's) entered in row, I want to check the row and output 1 if there's a single yes in the row |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
convert "yes" and "no" to "1" and "0", respectively | Excel Worksheet Functions | |||
output date modified if data is entered for multiple rows | Excel Discussion (Misc queries) | |||
Percentage of "yes" or "no" | Excel Worksheet Functions | |||
FILL DATES IN VARIOUS CELLS BASED ON A DATE ENTERED IN A SINGLE C. | Excel Discussion (Misc queries) |