Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want cell N8 to display "Yes" if any cell between B8 and M8 have a "Y" in
them. I have tried the array {=IF(B8:M8="Y","Yes","No")} but it only reads the first cell and disregards any "Y" in any other cell. If the cels have "N" in them then N8 can remain empty. Any ideas? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try...
{=IF(Or(B8:M8="Y"),"Yes","No")} -- JNW "JKWParrott" wrote: I want cell N8 to display "Yes" if any cell between B8 and M8 have a "Y" in them. I have tried the array {=IF(B8:M8="Y","Yes","No")} but it only reads the first cell and disregards any "Y" in any other cell. If the cels have "N" in them then N8 can remain empty. Any ideas? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks, worked like a charm.
"JNW" wrote: Try... {=IF(Or(B8:M8="Y"),"Yes","No")} -- JNW "JKWParrott" wrote: I want cell N8 to display "Yes" if any cell between B8 and M8 have a "Y" in them. I have tried the array {=IF(B8:M8="Y","Yes","No")} but it only reads the first cell and disregards any "Y" in any other cell. If the cels have "N" in them then N8 can remain empty. Any ideas? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=if(countif(b8:m8,"y")0,"yes","no")
or if you want the cell to look blank: =if(countif(b8:m8,"y")0,"yes","") JKWParrott wrote: I want cell N8 to display "Yes" if any cell between B8 and M8 have a "Y" in them. I have tried the array {=IF(B8:M8="Y","Yes","No")} but it only reads the first cell and disregards any "Y" in any other cell. If the cels have "N" in them then N8 can remain empty. Any ideas? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PASTING NON ADJACENT CELLS | Excel Discussion (Misc queries) | |||
SUM function won't allow more than 30 non-adjacent cells | Excel Worksheet Functions | |||
Graphing non adjacent cells | Charts and Charting in Excel | |||
By selecting cells adjacent to cells tally sheet | Excel Worksheet Functions | |||
How do I fill (copy) nonadjacent cells to adjacent cells? | Excel Discussion (Misc queries) |