[{"data":1,"prerenderedAt":48},["ShallowReactive",2],{"lesson-shell:logical\u002Fiferror:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"iferror","Priya Nair","runs Lantern Fest, a small music festival","\u002Fpersona\u002Fpriya.webp",{"none":9,"win":36,"mac":42},{"title":10,"story":11,"steps":12},"No #DIV\u002F0! on the board","Fans rate the bands on the info board. Some bands have no votes yet, and the board shows #DIV\u002F0!. Some bands have no next show, and the board shows #N\u002FA. The fans think the board is broken.",[13,24],{"id":4,"title":14,"intro":15,"how":16,"example":22,"task":23},"Catch errors with IFERROR","IFERROR checks a formula. If the formula gives an error, IFERROR gives back a different value.",[17,18,19,20,21],"Select the cell with the error.","Type =IFERROR(","Type the formula and a comma.","Type the value for an error and a closing bracket.","Press Enter.","=IFERROR(C5\u002FD5,\"No votes yet\")","Fix the other ratings. Fill in E6:E12.",{"id":25,"title":26,"intro":27,"how":28,"example":34,"task":35},"ifna","Catch #N\u002FA with IFNA","IFNA catches only the error #N\u002FA. A lookup gives #N\u002FA if it does not find the value.",[29,30,31,32,21,33],"Click cell F5.","Type =IFNA(XLOOKUP(","Type the lookup, close it with a bracket and type a comma.","Type \"Not planned\" and a closing bracket.","IFNA catches only #N\u002FA. Other errors, for example #DIV\u002F0!, still show. So you still see real mistakes.","=IFNA(XLOOKUP(B5,H:H,I:I),\"Not planned\")","Find the next show of the other bands. Fill in F6:F12.",{"title":10,"story":11,"steps":37},[38,40],{"id":4,"title":14,"intro":15,"how":39,"example":22,"task":23},[17,18,19,20,21],{"id":25,"title":26,"intro":27,"how":41,"example":34,"task":35},[29,30,31,32,21,33],{"title":10,"story":11,"steps":43},[44,46],{"id":4,"title":14,"intro":15,"how":45,"example":22,"task":23},[17,18,19,20,21],{"id":25,"title":26,"intro":27,"how":47,"example":34,"task":35},[29,30,31,32,21,33],1795376394823]