[{"data":1,"prerenderedAt":49},["ShallowReactive",2],{"lesson-shell:job-tests\u002Fsummary-report:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"summary-report","Jamal Carter","applies for a job at Meridian Supplies","\u002Fpersona\u002Fjamal.webp",{"none":9,"win":36,"mac":42},{"title":10,"story":11,"steps":12},"Report by region","Round three. Meridian sends a raw export with 16 sales lines. The task is a small report: revenue, orders and average order for each region, and the paper revenue too. The sales manager wants this report every Monday. Jamal turns the egg timer to 8 minutes.",[13,27],{"id":14,"title":15,"intro":16,"how":17,"example":25,"task":26},"sum-count","Revenue and orders per region","SUMIFS adds up the rows that match a condition. COUNTIFS counts them. Use the region cell as the condition, so the formula works in every row.",[18,19,20,21,22,23,24],"Select the first cell of the report column.","Type =SUMIFS( and the range to add up with $ signs.","Type the condition range with $ signs, the cell with the condition and a closing bracket.","Press Enter.","Select the formula and the cells below it.","Press Ctrl+D.","COUNTIFS has no range to add up. It starts with the first pair: =COUNTIFS(range,condition).","=SUMIFS($F$5:$F$20,$C$5:$C$20,H5)","Count the orders of each region. Fill J5:J8 with COUNTIFS.",{"id":28,"title":29,"intro":30,"how":31,"example":34,"task":35},"avg-two-conditions","Average and a second condition","AVERAGEIFS works like SUMIFS, but it gives the average. SUMIFS can take more pairs of range and condition. A row counts only when all conditions match.",[18,32,21,22,23,33],"Type =AVERAGEIFS( with the range to average first, then the pairs.","For a second condition, add one more pair at the end: a range, a comma and the condition.","=AVERAGEIFS($F$5:$F$20,$C$5:$C$20,H5)","Fill the paper revenue in L5:L8: the revenue of each region, only for the category Paper. Use SUMIFS with two conditions.",{"title":10,"story":11,"steps":37},[38,40],{"id":14,"title":15,"intro":16,"how":39,"example":25,"task":26},[18,19,20,21,22,23,24],{"id":28,"title":29,"intro":30,"how":41,"example":34,"task":35},[18,32,21,22,23,33],{"title":10,"story":11,"steps":43},[44,47],{"id":14,"title":15,"intro":16,"how":45,"example":25,"task":26},[18,19,20,21,22,46,24],"Press Control+D.",{"id":28,"title":29,"intro":30,"how":48,"example":34,"task":35},[18,32,21,22,46,33],1795376396071]