Sample Data
This table shows sales numbers for two products, Apples and Bananas, recorded twice each.
| Cell | Value |
|---|---|
| A1 | Product |
| B1 | Sales |
| A2 | Apples |
| B2 | 10 |
| A3 | Bananas |
| B3 | 15 |
| A4 | Apples |
| B4 | 20 |
| A5 | Bananas |
| B5 | 5 |
This table shows sales numbers for two products, Apples and Bananas, recorded twice each.
| Cell | Value |
|---|---|
| A1 | Product |
| B1 | Sales |
| A2 | Apples |
| B2 | 10 |
| A3 | Bananas |
| B3 | 15 |
| A4 | Apples |
| B4 | 20 |
| A5 | Bananas |
| B5 | 5 |
=SUMIF(A2:A5, "Apples", B2:B5)A B 1 Product Sales 2 Apples 10 <-- matches condition 3 Bananas 15 4 Apples 20 <-- matches condition 5 Bananas 5
A B C 1 Product Sales Total Apples 2 Apples 10 30 3 Bananas 15 4 Apples 20 5 Bananas 5
SUM function do in Excel when applied to a range of numbers?=AVERAGE(B1:B4)?=MIN(C1:C5 gives an error. What is the fix?=MIN(C1:C5)Pass the test and this pattern moves unknown