Using the SUMIF function allows one to add together numbers in a range where the numbers are related to a certain condition. For example, in the picture below, we can add up how much just all the apples cost even though there are several other items in the range as well.
The SUMIF function has 3 ‘arguments’ that must be supplied:
- The range to look in
- What to look for in the specified range
- The range to add up the relevant numbers