[{"data":1,"prerenderedAt":49},["ShallowReactive",2],{"lesson-shell:logical\u002Fif-basics:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"if-basics","Priya Nair","runs Lantern Fest, a small music festival","\u002Fpersona\u002Fpriya.webp",{"none":9,"win":37,"mac":43},{"title":10,"story":11,"steps":12},"Call the late bands","The bands arrive in 10 minutes. Some bands are late. Priya calls only the bands that are very late. And she must pay each band the correct fee. You let Excel decide.",[13,27],{"id":14,"title":15,"intro":16,"how":17,"example":25,"task":26},"if-text","Check a condition with IF","IF checks a condition. If the condition is true, IF gives back one value. If it is false, IF gives back a different value.",[18,19,20,21,22,23,24],"Select the cell for the result.","Type =IF(","Type the test, for example D5>15. Type a comma.","Type the result if true. Put text in quotation marks. Type a comma.","Type the result if false and a closing bracket.","Press Enter.","Use > (greater than), \u003C (less than), >= (greater than or equal to), \u003C= and = in the test.","=IF(D5>15,\"Call\",\"OK\")","Check the other bands. Fill in E6:E12.",{"id":28,"title":29,"intro":30,"how":31,"example":35,"task":36},"if-number","Give back a number with IF","IF can give back numbers too. Numbers do not need quotation marks.",[32,33,34,23],"Click cell F5.","Type =IF(C5>=60,","Type 800,500 and a closing bracket.","=IF(C5>=60,800,500)","Find the fees for the other bands. Fill in F6:F12.",{"title":10,"story":11,"steps":38},[39,41],{"id":14,"title":15,"intro":16,"how":40,"example":25,"task":26},[18,19,20,21,22,23,24],{"id":28,"title":29,"intro":30,"how":42,"example":35,"task":36},[32,33,34,23],{"title":10,"story":11,"steps":44},[45,47],{"id":14,"title":15,"intro":16,"how":46,"example":25,"task":26},[18,19,20,21,22,23,24],{"id":28,"title":29,"intro":30,"how":48,"example":35,"task":36},[32,33,34,23],1795376394035]