COUPDAYSNC

Returns the number of days from the settlement date to the next coupon date.
=COUPDAYSNC(B1, B2, B3)
COUPDAYSNC() Result is 24