Add up only paid invoices by client in Apple Numbers (14.1)

Hi all,


I'm a complete noob to Numbers and formulas, please be gentle!

This thread was close to what I want but not quite...

How to SUM only checked checkboxes in a c… - Apple Community


I'm trying to create a table that shows total paid invoice amounts by client.

In my first table "Invoices":

Column A is my Checkbox (Paid), checked if the invoice has been paid.

Column C is the client name (Client).

Column E is the Invoice Amount.


My new table is just 2 columns

Column A is the client name

Column B should be the total amount of PAID invoices only for each client.


The latest formula I've tried is this:


SUMIF(Paid,TRUE,Invoices::Invoice Amount)


This just gives me a total of everything in Column E


Prior to that I tried this:


SUMIF(Paid,TRUE,Invoices::Client,Invoices::Invoice Amount)


This just gives me the error "SUMIF requires between 2 and 3 arguments, but was given 4."


I also tried this:


Paid+TRUE+SUMIF(Invoices::Client,$A3,Invoices::Invoice Amount)


I get a warning with the message "The formula uses a Boolean in place of a number." but it does give me a total however it also disregards whether Paid has been checked.


Am I close with any of these? I'm guessing I need to say what should happen if Column A isn't checked?


Any help much appreciated!

MacBook Pro 16″, macOS 13.6

Posted on Jul 12, 2024 12:24 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 12, 2024 3:16 AM

Hi alistair,


The SUMIFS function is your friend.



Formula in "Paid per Client" B2 is SUMIFS(Invoices::E,Invoices::A,"True",Invoices::C,A2)


Regards,

Ian.

2 replies

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.

Add up only paid invoices by client in Apple Numbers (14.1)

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