While working on reports, you want a formula that will give you a sum of values based on the criteria of a corresponding non-empty cell.
You can find the output by using SUMIF & SUMPRODUCT functions.
Let us take an example:
We have some numbers in column A & some codes in column B. In column C, we want a formula that will give us the total of numbers in column A provided that the corresponding cell in column B should not be empty. If it is empty then the formula will ignore the value in column A
Let us see the second method by which we can get the same output. We can use SUMPRODUCT function to obtain the same output.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.