If function nested three times

Nick70

Active Member
Joined
Aug 20, 2013
Messages
304
Office Version
  1. 365
Platform
  1. Windows
Hi,

We have text in cells C:4, E:4 and G:4.

Possible text in cell C:4 is equal to Yes / Maybe/ No (so three possible answers).
Possible text in cell E:4 is equal to Yes / Maybe/ No (so three possible answers).
Possible text in cell G:4 is equal to Yes / No (so two possible answers).

I would like to have a formula in cell H:4 that gives back text "Pass" if there is at least one "Yes" or one "Maybe" in either cell C:4 or in cell E:4 (so for example "Yes" in cell C:4 and text "No" in cell E:4) and text "Yes" in cell G:4.

Formula in cell H:4 will give back text "Fail" if there is at least one "Yes" or one "Maybe" in either cell C:4 or cell E:4 (so for example "No" in cell C:4 and text "Maybe" in cell E:4).and text "No" in cell G:4.

Formula in cell H:4 will give back text "Repeat" if cell C:4 and cell E:4 have both text "No" and cell G:4 has text "No".

Formula in cell H:4 will give back text "Continue" if cell C:4 and cell E:4 have both text "No" and cell G:4 has text "Yes".

How do I do this?

Thanks,
Nic :unsure::unsure:
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Try:
Excel Formula:
=SWITCH(G4,"No",IF(COUNTIF(C4:D4,"No")=2,"Repeat","Fail"),"Yes",IF(COUNTIF(C4:D4,"No")=2,"Continue","Pass"))
 
Upvote 0
Solution
I've mistaken column D for E. As long as column D doesn't have one of the listed values "Yes", "No", "Maybe" you can extend the range to C4:E4.
 
Upvote 0

Forum statistics

Threads
1,216,115
Messages
6,128,923
Members
449,478
Latest member
Davenil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top