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...


Posted on Dec 26, 2019 12:37 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 26, 2019 6:05 AM

I suggest that you add a footer row at the bottom of the table, by reducing the size of the table to only those cells you need:


So let's start over and build this from the ground up



Blank, new table:



Open the Table formatter on the right:


Then add to footer rows by selecting "2" from the pop-down menu. I also suggesting making the first row a header row.




Now enter the names of the columns. Now enter your data values:

I'm in a locale that uses the period as the decimal (whereas you are in a locale that uses the comma as the decimal separator). Therefore, I will present formulas with the comma as the delimiter between arguments. you should change these commas to semicolons.


In the footer row (Always the the last two rows of the table because we selected "2"), enter the formula:

=sum(C)


To do this, select cell C19, then type (or copy and paste from here), the formula:

=sum(C)


shorthand for this is:

C19=sum(C)


Now lets add the formula to add up those invoices where you have indicated "Yes"

C20=SUMIF(H, "Yes", C)


you should actually enter the formula (because or currency settings are different):

C20=SUMIF(H; "Yes"; C)




3 replies
Question marked as Top-ranking reply

Dec 26, 2019 6:05 AM in response to Smäck

I suggest that you add a footer row at the bottom of the table, by reducing the size of the table to only those cells you need:


So let's start over and build this from the ground up



Blank, new table:



Open the Table formatter on the right:


Then add to footer rows by selecting "2" from the pop-down menu. I also suggesting making the first row a header row.




Now enter the names of the columns. Now enter your data values:

I'm in a locale that uses the period as the decimal (whereas you are in a locale that uses the comma as the decimal separator). Therefore, I will present formulas with the comma as the delimiter between arguments. you should change these commas to semicolons.


In the footer row (Always the the last two rows of the table because we selected "2"), enter the formula:

=sum(C)


To do this, select cell C19, then type (or copy and paste from here), the formula:

=sum(C)


shorthand for this is:

C19=sum(C)


Now lets add the formula to add up those invoices where you have indicated "Yes"

C20=SUMIF(H, "Yes", C)


you should actually enter the formula (because or currency settings are different):

C20=SUMIF(H; "Yes"; C)




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Numbers - Simple formula

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.