Accrual Worksheet Next Pay date Formula

ItalianPlatinum

Well-known Member
Joined
Mar 23, 2017
Messages
857
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I am looking to put together a worksheet to help calculate interest accruals depending on user inputs. Before I can expand it out further I need a way to determine the last payment date and next payment date considering the date in B1. Those would be driven by the inputs in other cells. See below for XLBB next to the cells is what they should be in this case (semi-annual) If Quarterly then in this case it should read 7/17/24 & 10/17/24. If monthly then 7/17/24 & 8/17/24 and etc for the others. Would someone be able to assist with those two formulas?

The additional caveat to that is if the first coupon date hasn't occurred yet then the Last payment date should be = to the first coupon date (start date essentially). Most cases it doesn't matter, but in rare occasions it is needed. I tried to start with a simpler example. Thanks in advance.

Book1
ABCDEFG
1Date8/8/2024
2SecurityAAABBBAANNUAL1
3Shares7,435,000BBI-MONTHLY6
4Rate5.5%DDAILY
5Fixed/VariableFFEVERY 2 WEEKS26
6Accrual Method30/360MMONTHLY12
7Payment FrequencySQQUARTERLY4
8Payment Month1SSEMI-ANNUAL2
9Payment Date17TSEMI-MONTHLY24
10Issue Date1/17/2017WWEEKLY52
111st Coupon Date7/17/2017
12Last Payment Date7/17/2024
13Next Payment Date1/17/2025
14Days in Period0
15Smoothing
16
17Due at Pay Date$ 204,462.50
18Daily Accrual#DIV/0!
19Accrued to Date#DIV/0!
20
Sheet1
Cell Formulas
RangeFormula
B14B14=B13-B12
B17B17=(B3*B4)/VLOOKUP(B7,$D$2:$F$10,3,FALSE)
B18B18=ROUND(B17/B14,2)
B19B19=ROUND((B13-B1+1)*B18,2)
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

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