TBILLYIELD
Financial

Returns the yield for a Treasury bill

Syntax:

=TBILLYIELD(settlement, maturity, pr)

Example:

=TBILLYIELD("2/15/2023", "5/15/2023", 98.45)