Formula needed

Hello,


I need a formula to calculate the total amount per month for each partner. Can anyone help me with this issue?

Thank you!


Posted on Jan 22, 2021 8:00 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 22, 2021 8:39 PM

Hi HD,


HD wrote:

That formula in cell A2 of table B:

SUMIFS($Donation,Table 1::A,"="&A2,$Month,"="&B1)

Though I cannot for the life of me get it to fill down or across correctly, so I had to tweak the formulae in the other 7 cells manually.

Absolute references ($ symbols) should be:


Formula in B2 of Table 2 =SUMIFS(Table 1::$C,Table 1::$A,$A2,Table 1::$B,B$1)

That will fill right and fill down 😉.


Also, I used Column & Row references instead of Column & Row labels.

Also, SUMIFS does not need ,"="& (the = is implicit).

Also, I entered the month names in both tables as text to prevent Numbers changing them to Date & Time. That will make the document work for any single year (but not for multiple years).


Regards,

Ian.

5 replies
Question marked as Top-ranking reply

Jan 22, 2021 8:39 PM in response to HD

Hi HD,


HD wrote:

That formula in cell A2 of table B:

SUMIFS($Donation,Table 1::A,"="&A2,$Month,"="&B1)

Though I cannot for the life of me get it to fill down or across correctly, so I had to tweak the formulae in the other 7 cells manually.

Absolute references ($ symbols) should be:


Formula in B2 of Table 2 =SUMIFS(Table 1::$C,Table 1::$A,$A2,Table 1::$B,B$1)

That will fill right and fill down 😉.


Also, I used Column & Row references instead of Column & Row labels.

Also, SUMIFS does not need ,"="& (the = is implicit).

Also, I entered the month names in both tables as text to prevent Numbers changing them to Date & Time. That will make the document work for any single year (but not for multiple years).


Regards,

Ian.

Jan 22, 2021 10:01 AM in response to Stridtie

Here's one way of calculating the total for each partner:





That formula in cell A2 of table B:


SUMIFS($Donation,Table 1::A,"="&A2,$Month,"="&B1)


Though I cannot for the life of me get it to fill down or across correctly, so I had to tweak the formulae in the other 7 cells manually.


The totals in Row 6 of table 2 are just the columns summed:



Hope it helps.




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.

Formula needed

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