Need help creating a formula!

kristylee

New Member
Joined
Aug 28, 2006
Messages
21
I need to be able to take an invoice amount for a range of dates and allocate it according to defined periods. For example:

Period 1 = 9/13/20 and prior
Period 2 = 9/14/20 through 10/20/20
Period 3 = 10/21/20 through 11/30/20
Period 4 = 12/1 and onward

So let's say I have an invoice for $5,000 covering 3rd Q 2020 (7/1/20 - 9/30/20) then the calculation would allocate 75 days of it to Period 1, 17 days to Period 2 and 0 to periods 3 & 4. Any ideas?? I am trying but can't figure out anything simple.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
We have no idea what your worksheet looks like and are not familiar with what you are trying to do. So what about a small set of sample data and the expected results with XL2BB?

Also, I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,588
Members
449,089
Latest member
Motoracer88

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