COUPDAYBS Google Sheet Formula
Generate Google Sheet COUPDAYBS 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
COUPDAYBS Formula Syntax
Example Use Case
Calculating the days from the beginning of the coupon period to the settlement date
Understanding the COUPDAYBS Formula
The COUPDAYBS function in Excel calculates the number of days from the beginning of the coupon period to the settlement date. It's a bond analysis tool for calculating accrued interest—like determining the exact days since the last coupon payment for prorating interest.
COUPDAYBS("2022-04-15", "2023-04-15", 2, 0) calculates days from the previous coupon date to settlement 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 COUPDAYBS?
COUPDAYBS determines accrual periods—think bond pricing or interest calculations. Its precise day counting using industry-standard conventions makes it valuable for fixed-income analysis, bond trading, or portfolio management requiring exact interest accrual.
Example with Sample Data
Parameters | Formula | Result |
---|---|---|
Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 2 (semiannual) Basis: 0 (30/360) | =COUPDAYBS("3/15/2022", "12/15/2023", 2, 0) | 90 |
Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 4 (quarterly) Basis: 0 (30/360) | =COUPDAYBS("3/15/2022", "12/15/2023", 4, 0) | 90 |
Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 2 (semiannual) Basis: 1 (Actual/actual) | =COUPDAYBS("3/15/2022", "12/15/2023", 2, 1) | 90 |
COUPDAYBS counts days in the current period: 90 days from the last coupon date to settlement. It's a coupon period calculator.
Explore More Google Sheet Formulas
DAYS360
Calculating days between dates based on a 360-day year
Learn moreISNA
Checking if a value is the #N/A error
Learn moreISOWEEKNUM
Finding the ISO week number of a date for standardized week numbering
Learn moreISLOGICAL
Checking if a value is a logical value (TRUE or FALSE)
Learn moreCOMPLEX
Creating a complex number from real and imaginary coefficients
Learn moreSECOND
Extracting the seconds component from a time value
Learn moreXOR
Testing if exactly one condition is TRUE for exclusive logical operations
Learn moreTIME
Creating a time value from hour, minute, and second components
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.