[{"data":1,"prerenderedAt":49},["ShallowReactive",2],{"lesson-shell:logical\u002Fand-or:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"and-or","Priya Nair","runs Lantern Fest, a small music festival","\u002Fpersona\u002Fpriya.webp",{"none":9,"win":37,"mac":43},{"title":10,"story":11,"steps":12},"Who gets the big stage","On Sunday, eight bands play. The big stage has two rules. And some bands need a hotel. Every band manager calls Priya to ask. You give her the answers.",[13,26],{"id":14,"title":15,"intro":16,"how":17,"example":24,"task":25},"and","Check two conditions with AND","AND checks two or more conditions. AND is TRUE only if all conditions are true.",[18,19,20,21,22,23],"Select the cell for the result.","Type =IF(AND(","Type condition 1 and a comma.","Type condition 2. Close AND with a bracket. Type a comma.","Type the result if true, the result if false and a closing bracket.","Press Enter.","=IF(AND(C5>=5000,D5>=60),\"Big stage\",\"Tent\")","Check the other bands. Fill in F6:F12.",{"id":27,"title":28,"intro":29,"how":30,"example":35,"task":36},"or","Check two conditions with OR","OR checks two or more conditions. OR is TRUE if at least one condition is true.",[31,32,33,34,23],"Click cell G5.","Type =IF(OR( and condition 1. Type a comma.","Type condition 2. Close OR with a bracket. Type a comma.","Type \"Yes\",\"No\" and a closing bracket.","=IF(OR(E5=\"No\",C5>=10000),\"Yes\",\"No\")","Check the other bands. Fill in G6:G12.",{"title":10,"story":11,"steps":38},[39,41],{"id":14,"title":15,"intro":16,"how":40,"example":24,"task":25},[18,19,20,21,22,23],{"id":27,"title":28,"intro":29,"how":42,"example":35,"task":36},[31,32,33,34,23],{"title":10,"story":11,"steps":44},[45,47],{"id":14,"title":15,"intro":16,"how":46,"example":24,"task":25},[18,19,20,21,22,23],{"id":27,"title":28,"intro":29,"how":48,"example":35,"task":36},[31,32,33,34,23],1795376394780]