Sumproduct/Sumifs help please

denise6372

New Member
Joined
May 24, 2011
Messages
1
I'm slowly driving myself mad with this one and can't seem to figure it out.
I'm compiling a spreadsheet for my business and have set formulas to enable me to calculate easily how much I've invoiced between two certain dates.

Now I want to calculate how much value is in invoices unpaid between two certain dates.

I have columns as follows:
1)Invoice date
2) Invoice Amount
3) Paid date
and on a separate tab have cells to enter start date and end date to so I can chose how long a period I'm trying to work out. Ideally it will calculate by adding the lines with no date in the "paid date" column.

Hope that makes sense to somebody and would really appreciate some help.
Many thanks/
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I'm slowly driving myself mad with this one and can't seem to figure it out.
I'm compiling a spreadsheet for my business and have set formulas to enable me to calculate easily how much I've invoiced between two certain dates.

Now I want to calculate how much value is in invoices unpaid between two certain dates.

I have columns as follows:
1)Invoice date
2) Invoice Amount
3) Paid date
and on a separate tab have cells to enter start date and end date to so I can chose how long a period I'm trying to work out. Ideally it will calculate by adding the lines with no date in the "paid date" column.

Hope that makes sense to somebody and would really appreciate some help.
Many thanks/

Try...
Code:
=SUMPRODUCT(
     --(InvoiceDate>=StartDate),
     --(InvoiceDate<=EndDate),
     --ISNUMBER(PaidDate),
     InvoiceAmount)

which will yield total paid amount between a start date and an end date.

Code:
=SUMPRODUCT(
     --(InvoiceDate>=StartDate),
     --(InvoiceDate<=EndDate),
     1-ISNUMBER(PaidDate),
     InvoiceAmount)

which will yield total yet unpaid amount between a start date and an end date.

If you are on Excel 2007 or later, try...

Code:
=SUMIFS(
     InvoiceAmount,
     InvoiceDate,">="&StartDate,
     InvoiceDate,"<="&EndDate,
     PaidDate,"<>")

Code:
=SUMIFS(
     InvoiceAmount,
     InvoiceDate,">="&StartDate,
     InvoiceDate,"<="&EndDate,
     PaidDate,"=")
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,548
Members
452,927
Latest member
rows and columns

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top