Using IF, AND, and OR Functions Together in Google Sheets

if
1
0
Prompt
How do I use the IF, AND, and OR functions together in Google Sheets?