[{"data":1,"prerenderedAt":49},["ShallowReactive",2],{"lesson-shell:conditional-sums\u002Fsumifs:en":3},{"id":4,"who":5,"role":6,"image":7,"text":8},"sumifs","Fatima Haddad","owns Ridgeline Bike Rental","\u002Fpersona\u002Ffatima.webp",{"none":9,"win":37,"mac":43},{"title":10,"story":11,"steps":12},"Weekend e-bike revenue","Fatima thinks about two more e-bikes for the weekend. They are expensive. Before she buys, she wants the numbers: how much do e-bikes earn on Saturday and Sunday? One condition is not enough.",[13,27],{"id":14,"title":15,"intro":16,"how":17,"example":25,"task":26},"sumifs-text","Add up with two conditions","SUMIFS adds up the numbers in the rows that match all conditions. The range to add up comes first.",[18,19,20,21,22,23,24],"Select the cell for the result.","Type =SUMIFS(","Type the range to add up and a comma.","Type pair 1: a range, a comma, the condition and a comma.","Type pair 2 and a closing bracket.","Press Enter.","SUMIF has the range to add up last. SUMIFS has it first.","=SUMIFS(F5:F24,D5:D24,\"E-bike\",C5:C24,\"Sat\")","Find the e-bike revenue on Sunday. Put it in cell I6.",{"id":28,"title":29,"intro":30,"how":31,"example":35,"task":36},"sumifs-number","Combine text and a comparison","A condition in SUMIFS can compare numbers, for example \">=4\". Put the comparison in quotation marks.",[32,33,34,23],"Click cell I7.","Type =SUMIFS(F5:F24,D5:D24,\"E-bike\",","Type a comparison in quotation marks, for example \">=4\".","=SUMIFS(F5:F24,D5:D24,\"E-bike\",E5:E24,\">=4\")","Find the revenue of City bikes for rentals of 4 hours or more. Put it in cell I8.",{"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],1795376394938]