Contact

COUPDAYBS in Zoho Sheet: Syntax and Worked Examples

Financial Intermediate Zoho Sheet

Count elapsed days from the coupon-period start to settlement with COUPDAYBS, comparing explicit 30/360 and actual-day examples.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer

For settlement March 15, 2026, maturity January 15, 2028 and semiannual coupons, the surrounding regular coupon dates are January 15 and July 15, 2026. COUPDAYBS measures the elapsed portion from January 15 to settlement.

The independent expectation is 60 days under basis 0 and 59 days under basis 1. It is not the full coupon-period length or the days remaining to the next coupon.

Syntax and basis

=COUPDAYBS(settlement; maturity; frequency; [basis])

Settlement is the security’s settlement/purchase date; maturity is its maturity date. Frequency is payments per year: 1, 2 or 4. Basis defaults to 0. The official mapping is 0 US/NASD 30/360, 1 actual/actual, 2 actual/360, 3 actual/365 and 4 European 30/360. The examples explicitly select 0 or 1 and use regular coupon schedules with settlement strictly between coupon dates.

Use genuine dates, for example DATE(2026;3;15), instead of ambiguous slash-separated text. Day counts are numeric results, not dates or currency amounts.

Complete worked inputs

Input Value
Settlement DATE(2026;3;15)
Maturity DATE(2028;1;15)
Frequency 2, semiannual
Basis 0 for the first calculation;1 for comparison
Derived previous coupon January 15, 2026
Derived next coupon July 15, 2026

Working backward in six-month steps from maturity gives January 15 and July 15 coupon dates. Settlement lies between the 2026 pair.

=COUPDAYBS(DATE(2026;3;15);DATE(2028;1;15);2;0)
=COUPDAYBS(DATE(2026;3;15);DATE(2028;1;15);2;1)

For basis 0 with these mid-month endpoints, elapsed days are 30×(3−1)+(15−15)=60. Actual calendar subtraction gives 31 days from January 15 to February 15 plus 28 from February 15 to March 15, totaling 59. These are independent calculations, not observed Zoho outputs.

To use cells, put settlement in A2, maturity in B2, frequency 2 in C2 and basis 0 in D2. Enter =COUPDAYBS(A2;B2;C2;D2). Change only D2 to 1 for the actual-day comparison.

Advanced example: the leap-year distinction

Keep maturity January 15, 2028 and frequency 2, but move settlement to March 15, 2024. The previous regular coupon is January 15, 2024. Basis 0 still gives 60 because both dates are on the 15th of months two months apart. Actual elapsed time is 31+29=60, now including February 29.

The equality of these two results in 2024 is a calendar coincidence, not proof that bases 0 and 1 are interchangeable. The 2026 comparison separates them.

For settlement November 15, 2026, the previous coupon is July 15, 2026. The independent elapsed counts are 120 under basis 0 and 123 under basis 1. The latter is 31+31+30+31 days across the four monthly intervals.

Use the right part of the coupon period

For the March 2026 example, the whole semiannual period is 180 convention days or 181 actual days. Remaining days are 120 or 122 respectively. Thus elapsed and remaining counts partition the period in these clean basis 0/1 examples:60+120=180 and 59+122=181.

This arithmetic is useful when checking a model, but elapsed days alone are not accrued interest. A monetary accrual also needs the applicable coupon amount and the contractual day-count denominator. Do not assume a universal partition identity for every basis or schedule.

With quarterly frequency 4 and the same maturity anchor, the next coupon after March 15, 2026 is April 15, 2026. The previous coupon remains January 15, so elapsed counts remain 60 and 59 in this particular case even though the total period is shorter.

Errors and convention limits

The official article lists #NUM! for frequency outside 1, 2, 4, basis outside 0–4, or settlement after maturity. These are documentation-derived expectations. Equality of settlement and maturity, fractional argument conversion and month-end adjustment details are not established by the examples here.

All worked coupon dates fall on the 15th, avoiding end-of-February and 31st-day adjustment rules. Do not generalize the simple 30-day arithmetic to those boundaries, irregular first/last coupons or every basis. A security’s actual contractual schedule must be checked before applying a regular maturity-anchored model.

These formulas count days under a convention. They do not calculate a payment amount, establish eligibility for a coupon or recommend a transaction.

Availability and evidence scope

The official Zoho Sheet COUPDAYBS article was checked October 18, 2026. This is rolling web-service documentation; the original introduction date, a numbered release, mobile/offline parity and a retirement endpoint are not established. The checked article does not identify the function as deprecated or retired.

All numerical results in this guide are independently calculated expectations or explicitly attributed documentation predictions. They were not executed in Zoho Sheet or its calculation engine. No native screenshot, export test or workbook run is claimed. The examples use the semicolon separators shown in Zoho’s English documentation.