Forum Discussion
HighFiveEm
Jun 21, 2021Copper Contributor
Trying to create an IF Statement in Excel if all answers are Yes the cell turn to "YES"
Trying to create an IF statement in Excel when all answers are YES, Column I turns to "YES" and if there is one answer that is "No" then column I turns to "NO".
- Jun 21, 2021
That's like
=IF( PRODUCT( (C4:C9="yes")*1) * PRODUCT( (E4:E9="yes")*1) * PRODUCT( (G4:G7="yes")*1) , "yes", "no")If you are on 365 you don't need PRODUCT
SergeiBaklan
Jun 21, 2021Diamond Contributor
That's like
=IF( PRODUCT( (C4:C9="yes")*1) *
PRODUCT( (E4:E9="yes")*1) *
PRODUCT( (G4:G7="yes")*1) ,
"yes", "no")
If you are on 365 you don't need PRODUCT
MindyS
Mar 24, 2022Copper Contributor
If i have two columns, and i type yes or no in the boxes how can i create a formula that if both columns in a row is no the answer will be no? but if one answer is yes and 1 is no the answer should be yes?
- SergeiBaklanMar 24, 2022Diamond Contributor