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
CHOOSE
Selecting a value from a list based on position
Learn moreCOLUMN
Returning the column number of a reference for position-based calculations
Learn moreROWS
Counting the number of rows in a range for dimension analysis
Learn moreIMSUB
Subtracting one complex number from another for complex number operations
Learn moreDGET
Extracting a single value from a database that matches specific criteria
Learn moreISERROR
Checking if a value is any error type
Learn moreHOUR
Extracting the hour component from a time value
Learn moreSYD
Calculating the sum-of-years-digits depreciation of an asset for a specified period
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.