What does the SUMIF function do?
Adds all the numbers in a range of cells.
Adds up cell values based on a condition.
Returns a subtotal in a list or database.
None of the above.