Numbers - Simple formula
This is probably very simple task, but I'm not getting it yet.
I have a column (H) representing what I am invoicing. In the end if (H) I'm summarizing all the invoices and this is what I want as well, but now I want another function. On column (M) I wrote Yes when each invoice has been paid. And I want a cell (H1) to look at (M) and if it says (Yes), then add the number from (H) on the same row where it says "yes" in column (M).
So, I want something similar to what my image is showing, however, this one is manually created as you can see. But if column (M) says (Yes) I want each row to add up on the cell on the right to where it says Paid.
I hope it make sense.
Thanks in advance...