Simple totals

S

Sir Arthur

Hi there.

I'm creating a spreadsheet that displays invoices my business has sent out.
When they are paid I add the date into a "Paid" column. While they are unpaid
the cell is left blank.

What formula would be needed to create automatic totals for paid and unpaid
invoices?

TIA
 
J

Jacob Skaria

Suppose you have column B with dates and ColA with the amount; then try the
below formulas

'Paid total
=SUMIF(B:B,">0",A:A)

'Unpaid total
=SUM(A:A)-SUMIF(B:B,">0",A:A)
 
M

Ms-Exl-Learner

I suggest you to use Sumif Function.

=SUMIF("PAID & UNPAID CELL RANGE","PAID","RANGE OF PAID & UNPAID VALUE")

Examples:-
=SUMIF(A1:A50,"PAID",B1:B50)
=SUMIF(A1:A50,"UNPAID",B1:B50)

Remember to Click Yes, if this post helps!
 
S

Sir Arthur

Thanks to both of you. All sorted.

Ms-Exl-Learner said:
I suggest you to use Sumif Function.

=SUMIF("PAID & UNPAID CELL RANGE","PAID","RANGE OF PAID & UNPAID VALUE")

Examples:-
=SUMIF(A1:A50,"PAID",B1:B50)
=SUMIF(A1:A50,"UNPAID",B1:B50)

Remember to Click Yes, if this post helps!
 
J

Jacob Skaria

In cell AU7 apply the below formula and copy down as required.

=IF(V7=V6,"",SUM(AT7:INDEX(AT7:$AT$100,MATCH(TRUE,INDEX(V7:$V$100<>V7,),)))-INDEX(AT7:$AT$100,MATCH(TRUE,INDEX(V7:$V$100<>V7,),)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top