[{"data":1,"prerenderedAt":46},["ShallowReactive",2],{"lesson-shell:conditional-sums\u002Faverageifs-maxifs:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"averageifs-maxifs","Fatima Haddad","owns Ridgeline Bike Rental","\u002Fpersona\u002Ffatima.webp",{"none":9,"win":34,"mac":40},{"title":10,"story":11,"steps":12},"Longest tour per type","Customers write the distance of every tour in June. Fatima wants to put a sign at the door: the average tour for each bike type, and the record. Goat the mountain bike is a candidate.",[13,25],{"id":14,"title":15,"intro":16,"how":17,"example":23,"task":24},"averageifs","Find an average with a condition","AVERAGEIFS finds the average of the rows that match all conditions. Like SUMIFS, the range comes first.",[18,19,20,21,22],"Select the cell for the result.","Type =AVERAGEIFS(","Type the locked range to average and a comma.","Type the locked range to check, the cell with the condition and a closing bracket.","Press Enter.","=AVERAGEIFS($E$5:$E$20,$C$5:$C$20,G5)","Find the average tour for E-bike and Mountain. Fill in H6:H7.",{"id":26,"title":27,"intro":28,"how":29,"example":32,"task":33},"maxifs","Find the largest value with a condition","MAXIFS finds the largest number in the rows that match. MINIFS finds the smallest number. Both work like AVERAGEIFS.",[30,31,22],"Click cell I5.","Type MAXIFS with the same values as AVERAGEIFS.","=MAXIFS($E$5:$E$20,$C$5:$C$20,G5)","Fill in the longest tours in I6:I7. Then find the shortest tours with MINIFS in J5:J7.",{"title":10,"story":11,"steps":35},[36,38],{"id":14,"title":15,"intro":16,"how":37,"example":23,"task":24},[18,19,20,21,22],{"id":26,"title":27,"intro":28,"how":39,"example":32,"task":33},[30,31,22],{"title":10,"story":11,"steps":41},[42,44],{"id":14,"title":15,"intro":16,"how":43,"example":23,"task":24},[18,19,20,21,22],{"id":26,"title":27,"intro":28,"how":45,"example":32,"task":33},[30,31,22],1795376394996]