ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Nested IF Help (https://www.excelbanter.com/excel-discussion-misc-queries/255505-nested-if-help.html)

FrankTimJr

Nested IF Help
 
I need some help defining a Nested IF Statement.

I need to check for the following conditions:

If A1="Yes", then B1, C1, D1, E1 must contain an entry (All 4 cells). If
TRUE, then enter "Compliant", otherwise enter "Non Compliant". I need the
statement to evaluate each of B1, C1, D1, E1 individually. If B1 has an
entry and C1 does not, then "Non Compliant".

Is this a clear enough description for some help?

Thanks in advance.
Frank


Fred Smith[_4_]

Nested IF Help
 
Try this:

=if(a1="Yes",if(counta(b1:e1)=4,"Compliant","Non Compliant"),"A1 not Yes")

Regards
Fred

"FrankTimJr" wrote in message
...
I need some help defining a Nested IF Statement.

I need to check for the following conditions:

If A1="Yes", then B1, C1, D1, E1 must contain an entry (All 4 cells). If
TRUE, then enter "Compliant", otherwise enter "Non Compliant". I need the
statement to evaluate each of B1, C1, D1, E1 individually. If B1 has an
entry and C1 does not, then "Non Compliant".

Is this a clear enough description for some help?

Thanks in advance.
Frank



FrankTimJr

Nested IF Help
 
Thank you sir! Works perfectly!

"Fred Smith" wrote:

Try this:

=if(a1="Yes",if(counta(b1:e1)=4,"Compliant","Non Compliant"),"A1 not Yes")

Regards
Fred

"FrankTimJr" wrote in message
...
I need some help defining a Nested IF Statement.

I need to check for the following conditions:

If A1="Yes", then B1, C1, D1, E1 must contain an entry (All 4 cells). If
TRUE, then enter "Compliant", otherwise enter "Non Compliant". I need the
statement to evaluate each of B1, C1, D1, E1 individually. If B1 has an
entry and C1 does not, then "Non Compliant".

Is this a clear enough description for some help?

Thanks in advance.
Frank


.


Fred Smith[_4_]

Nested IF Help
 
Glad to help. Thanks for the feedback.

Regards,
Fred

"FrankTimJr" wrote in message
...
Thank you sir! Works perfectly!

"Fred Smith" wrote:

Try this:

=if(a1="Yes",if(counta(b1:e1)=4,"Compliant","Non Compliant"),"A1 not
Yes")

Regards
Fred

"FrankTimJr" wrote in message
...
I need some help defining a Nested IF Statement.

I need to check for the following conditions:

If A1="Yes", then B1, C1, D1, E1 must contain an entry (All 4 cells).
If
TRUE, then enter "Compliant", otherwise enter "Non Compliant". I need
the
statement to evaluate each of B1, C1, D1, E1 individually. If B1 has
an
entry and C1 does not, then "Non Compliant".

Is this a clear enough description for some help?

Thanks in advance.
Frank


.




All times are GMT +1. The time now is 06:32 AM.

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