Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1=COUNTIF(C2:C50,"Yes") | A=SUMIF(A2:A20,"Pizza",C2:C20) | |
| 2=SUMIF(B2:B30,">10",C2:C30) | B=COUNTIF(B2:B40,">10") | |
| 3Count how many scores in B2:B40 are greater than 10 | CThe text condition Yes is missing its quote marks. It should be "Yes". | |
| 4Add up the Sales in C2:C20 for rows where column A says Pizza | DAdds up the values in C2:C30 where the matching cell in B2:B30 is greater than 10 | |
| 5=COUNTIF(C2:C50,Yes) | EThe arguments are in the wrong order. The condition must come second and the sum range third. | |
| 6=SUMIF(B2:B30,C2:C30,">10") | FCounts how many cells in C2:C50 contain the text Yes |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=COUNTIF(C2:C50,"Yes") — COUNTIF counts the cells in a range that meet a condition. SUMIF works the same way but adds up the values that meet it. Example: count every 'Yes' in C2:C50.=COUNTIF(C2:C50,"Yes")=COUNTIF(B2:B30,">10")=SUMIF(A2:A20,"Food",B2:B20)=SUMIF(A2:A20,"Food",B2:B20)=COUNTIF(C2:C50,"Yes")