Formula for Automated allocation of money based on Date

JayB0730

Board Regular
Joined
Oct 22, 2014
Messages
74
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a spreadsheet setup as follows:
Column A: Description of Expense; Column B: Current Hold Amount; Column C: Total Amount Due;

What I want to accomplish is the following:

1. Based on Today(), calculate how many Fridays have passed in the current month (e.g. 1/27/18 = 4; 1/25/18 = 3) & divide that # by Total amount due to determine Current Hold Amount.
2. Also want the calculation to stop after the last Friday in the month until I "reset" the month. This is to ensure if I am not able to record Current Hold Amount in time before next month's first Friday, the calculation will not reset.

Appreciate any help you can provide.

Thank you!
Jay
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi,

The number of fridays past in the month is easily calculated with =NETWORKDAYS.INTL(DATE(YEAR(TODAY()),MONTH(TODAY()),1),TODAY(),"1111101").
However if you want a formula based on Today() you can't make it stop because it will always take the actual date and can't be manually reset.
Are you able to share a mockup of how you want this to work?
 
Upvote 0
Hi Jorismoerings,

I appreciate you looking into this for me. I mocked up3 different scenarios. Hopefully this will provide more info into what I am looking to do. Let me know if you have further questions. TIA!

Scenario 1: Current Date: Friday, Jan 19, 2018

Results: Based on "Current Date", we are in the month of January and there are only 4 Fridays in this month. Since we have not reached "4" Fridays, the Reset Flag remains at "N". Now the system should calculate that only 3 Fridays have been reached, therefore multiplying the Total Monthly Amount by ".25 x 3 " or ".75" to get "Current Hold" amount.
DescriptionTotal Monthly AmountCurrent HoldReset Flag
Insurance10075N
Mortgage1000750N
HOA200150N

<tbody>
</tbody>

Scenario 2: Current Date: Thursday, Jan 25, 2018

Results: Based on "Current Date", we are in the month of January and there are only 4 Fridays in this month. Since we have not reached "4" Fridays, the Reset Flag remains at "N". Now the system should calculate that only 3 Fridays have been reached, therefore multiplying the Total Monthly Amount by ".25 x 3 " or ".75" to get "Current Hold" amount.
DescriptionTotal Monthly AmountCurrent HoldReset Flag
Insurance10075N
Mortgage1000750N
HOA200150N


<tbody>
</tbody>

Scenario 3: Current Date: Friday, Feb 2, 2018

Results: Based on "Current Date", we are now in the Month of February. Since the previous month would have reached 4 Fridays the "Reset Flag" should change to "Y". NOTE: This workbook could be opened at any time so we need the system to know that the flag should have been changed to "Y". With the flag being "Y", the system should only keep the calculation based on January. Therefore the amounts should be multiplied by "1". Once I manually update the flags to "N", the system will recalculate based on the current month of February.
DescriptionTotal Monthly AmountCurrent HoldReset Flag
Insurance100100Y
Mortgage10001000Y
HOA200200Y

<tbody>
</tbody>
-Jay
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

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