COUPDAYS Google Sheet Formula
Generate Google Sheet COUPDAYS Formulas in seconds
Interactive Formula Generator
Formula Generator
Create complex Google Sheets formulas with natural language. Simply describe what you want to calculate.
Upgrade to Sheet Alchemy Pro
Get advanced formulas, batch processing, and priority support
Input
Result
Your formula will be displayed here:
Your formula will appear here
Describe what you want to calculate and click Generate
Pro Features Available
Sheet Alchemy Pro includes additional advanced features to enhance your formula generation.
Advanced Formulas
Complex array formulas and dynamic ranges
Batch Processing
Generate multiple formulas at once
Unlimited History
Save and organize all your formulas
COUPDAYS Formula Syntax
Example Use Case
Calculating the number of days in the coupon period containing the settlement date
Understanding the COUPDAYS Formula
The COUPDAYS function in Excel calculates the total number of days in the coupon period containing the settlement date. It's a bond analysis tool for calculating accrued interest—like determining the full period length for prorating interest payments.
COUPDAYS("2022-04-15", "2023-04-15", 2, 0) calculates the total days in the current coupon period for a bond with semiannual payments. It takes settlement, maturity, frequency, basis arguments, counting days per the specified day count convention—essential for accurate bond pricing and interest calculations.
Why Use COUPDAYS?
COUPDAYS determines period lengths—think bond pricing or interest accrual. Its day counting using industry-standard conventions makes it valuable for fixed-income analysis, yield calculations, or any scenario requiring precise interest proration over standard periods.
Example with Sample Data
Parameters | Formula | Result |
---|---|---|
Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 2 (semiannual) Basis: 0 (30/360) | =COUPDAYS("3/15/2022", "12/15/2023", 2, 0) | 180 |
Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 4 (quarterly) Basis: 0 (30/360) | =COUPDAYS("3/15/2022", "12/15/2023", 4, 0) | 90 |
Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 2 (semiannual) Basis: 1 (Actual/actual) | =COUPDAYS("3/15/2022", "12/15/2023", 2, 1) | 181 |
COUPDAYS measures full periods: 180 days in a semiannual period (30/360 basis), 90 days for quarterly payments. It's a coupon period measurer.
Explore More Google Sheet Formulas
SLN
Calculating the straight-line depreciation of an asset for a single period
Learn moreOCT2DEC
Converting an octal number to decimal for number base conversion
Learn moreCLEAN
Removing non-printable characters from text for cleanup
Learn morePPMT
Calculating the principal payment for a specific period of a loan
Learn moreIMPOWER
Raising a complex number to a power
Learn moreSUBSTITUTE
Replacing specific text with new text in a string
Learn moreISBLANK
Checking if a cell is empty
Learn moreIFERROR
Handling errors in formulas by providing an alternative result
Learn moreUnlock the Full Power of Sheet Alchemy
Get access to all our formula generators, script generators, and conversion tools with a free Sheet Alchemy account.