SUMPRODUCT and Accounting Period Dates?

minsk2000

Board Regular
Joined
Dec 25, 2005
Messages
68
Hi everyone,

Could you help me guys please to incorporate accounting period into SUMPRODUCT formula.

Right now I can sum amounts according to calendar month using =SUMPRODUCT (--(MONTH ($D$65:$D$109)=1),--(YEAR($D$65:$D$109)=2006) but I don’t know how to modify this formula to sum amounts according to accounting period.

Month end is January 25, 2006 February 22, 2006 March 22, 2006 April 26 2006, May 24 2006.

Close is last Wednesday of every month except for March, June, and September when it is the second last Wednesday of the month. December is usually the last Wednesday.
It is probably very hard to incorporate this condition into the formula so is there any way to put just dates to sum amounts between those close dates?

This is an example of an accounting period.

03/29/06 04/05/06 04/12/06 04/19/06 04/26/06


$ 1,790 $ 1,950 $ 1,300 $ 2,600 $ 2,175


Thanks a lot

Minsk
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,458
Hi guys. Please help with at least an idea how I can put just dates?

Thanks

A generic approach with dates,

=SUMPRODUCT(--(Range > "1/2/2006"+0),--(Range<="3/1/2006"+0),RangeToSum)
 

Forum statistics

Threads
1,140,944
Messages
5,703,305
Members
421,290
Latest member
james90

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
Top