Nov 22 2022 12:38 AM
I have 4 cells, B2, C2, D2 and E2. "Y" is for "Yes". "N" is for "No". to make this equation "Independent", B2 must be "N", C2 must be "N", D2 must be "N" and G2 must be "Y". Otherwise the equation will be "Not Independent".
Can Anyone share pls.
Nov 22 2022 01:00 AM
@chuahlm Try this:
=IF(SUM(--(B2:E2={"N","N","N","Y"}))=4,"Independent","Not Independent")
Nov 22 2022 05:31 AM
It gives #VALUE!. Why? What is wrong?
Nov 22 2022 05:37 AM - edited Nov 22 2022 05:39 AM
@chuahlm Have a look at the attached file and see which formulas work. Perhaps you need to enter the formula with C-S-E (ctrl shift enter) of you are not on MS365 or Excel 2021. That will enclose the formula in curly brackets { }
Nov 22 2022 06:00 AM
Nov 22 2022 06:17 AM
On which Excel version/platform you are?
Nov 22 2022 02:43 PM
Nov 22 2022 06:45 PM
Nov 23 2022 04:08 AM
SolutionSince you have Excel 2019, the formula will only work if you confirm it by pressing Ctrl+Shift+Enter each time you edit it.
Nov 23 2022 05:14 AM
Nov 23 2022 07:08 AM
Glad to know you sorted this out.
Nov 23 2022 04:08 AM
SolutionSince you have Excel 2019, the formula will only work if you confirm it by pressing Ctrl+Shift+Enter each time you edit it.