When writing for two condition we need to use SUMIFS() that can handle more then one condition, the first argument it takes is sum_range, afterwards it takes pairs of ranges and criteria to calculate the sum.
Category: Math and trigonometry
Adds the cells in a range that meet multiple criteria
SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
Create a new account
I already have an account
You haven't saved the current formula!
Are you sure to continue?
You haven't save the current formula!
Made with in Istanbul
START LEARNING EXCEL with SHEETZOOM