ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Nesting If and And (https://www.excelbanter.com/excel-worksheet-functions/236012-nesting-if.html)

Terri

Nesting If and And
 
I'm trying to nest this:
IF(and(N3="Yes",and(O3="Yes",and(P3="Yes",and(Q3=" NA","Yes","No")

but it doesn't work :( help please
--
terri

Don Guillett

Nesting If and And
 
Look in the help index for
AND

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"terri" wrote in message
...
I'm trying to nest this:
IF(and(N3="Yes",and(O3="Yes",and(P3="Yes",and(Q3=" NA","Yes","No")

but it doesn't work :( help please
--
terri



Per Jessen

Nesting If and And
 
Hi

Look at this:

=IF(AND(N3="Yes",O3="Yes",P3="Yes",Q3="NA"),"Yes", "No")

Regards,
Per

"terri" skrev i meddelelsen
...
I'm trying to nest this:
IF(and(N3="Yes",and(O3="Yes",and(P3="Yes",and(Q3=" NA","Yes","No")

but it doesn't work :( help please
--
terri



Teethless mama

Nesting If and And
 
Try one of these

=IF(AND(COUNTIF(N3:P3,"yes")=3,Q3="NA"),"yes","No" )
or
=IF(AND(INDEX(N3:P3="yes",),Q3="NA"),"Yes","No")


"terri" wrote:

I'm trying to nest this:
IF(and(N3="Yes",and(O3="Yes",and(P3="Yes",and(Q3=" NA","Yes","No")

but it doesn't work :( help please
--
terri


Terri

Nesting If and And
 
WOW! all three examples work! You are all amazing!!!
thank you sooooo much :) :)
--
terri


"Teethless mama" wrote:

Try one of these

=IF(AND(COUNTIF(N3:P3,"yes")=3,Q3="NA"),"yes","No" )
or
=IF(AND(INDEX(N3:P3="yes",),Q3="NA"),"Yes","No")


"terri" wrote:

I'm trying to nest this:
IF(and(N3="Yes",and(O3="Yes",and(P3="Yes",and(Q3=" NA","Yes","No")

but it doesn't work :( help please
--
terri



All times are GMT +1. The time now is 04:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com