# SEC

The SEC function in Excel is used to calculate the annual interest rate of a security based on its settlement date, maturity date, and price per $100 face value.

## Syntax ๐

=SEC(`Settlement`

, `Maturity`

, `Pr`

, `Redemption`

, `Basis`

)

`Settlement` | The settlement date of the security. |

`Maturity` | The maturity date of the security. |

`Pr` | The price per $100 face value of the security. |

`Redemption` | The redemption value per $100 face value of the security at maturity. |

`Basis` | The day-count basis to use for calculations. It is a numeric value specifying the day count basis. This argument is optional and defaults to 0 if omitted. |

## About SEC ๐

When seeking to determine the annual interest rate of a security in Excel, the SEC function proves to be a valuable tool. This function aids in the financial analysis domain, assisting users in unraveling the intricacies of interest rate calculations for various securities such as bonds and fixed-income investments. By inputting essential details like settlement and maturity dates, security price, and redemption value, the SEC function accurately computes the annual interest rate to provide users with a comprehensive understanding of the security's financial standing and potential returns.

## Examples ๐

Imagine you have acquired a security with a settlement date of December 1, 2021, and a maturity date of December 1, 2023. The security was purchased at a price of $97 per $100 face value, with a redemption value of $100 per $100 face value. To calculate the annual interest rate using the SEC function, the formula would be: =SEC("12/1/2021", "12/1/2023", 97, 100)

Consider a scenario where a security with a settlement date of January 15, 2022, and a maturity date of January 15, 2027, is bought at $105 per $100 face value and has a redemption value of $100 per $100 face value. Utilize the SEC function to determine the annual interest rate with the formula: =SEC("1/15/2022", "1/15/2027", 105, 100)

## Notes ๐

The SEC function assumes that the dates are entered as valid Excel date values or references to cells containing valid date values. It is essential to ensure accuracy in entering the settlement date, maturity date, price, and redemption value for precise calculations. Adjust the arguments and parameters as per the specifics of the security being analyzed.

## Questions ๐

**How does the SEC function calculate the annual interest rate of a security?**

The SEC function determines the annual interest rate by considering the settlement date, maturity date, price per $100 face value, and redemption value per $100 face value of the security. It compiles these details to compute the annual interest rate effectively.

**Is the Basis argument mandatory in the SEC function?**

No, the `Basis`

argument is optional in the SEC function. If not specified, it defaults to 0, representing the 30/360 day-count basis. However, users can input a specific day-count basis numeric value for tailored calculations.

**Can the SEC function be used for securities with irregular features?**

The SEC function is primarily designed for calculating the annual interest rates of securities with standard features. It may not be suitable for securities with irregular terms or payment structures, as it relies on consistent data inputs for accurate computations.

## Related functions ๐

ACCRINTM

COUPDAYS

COUPDAYSNC

COUPNCD

COUPNUM

COUPPCD

MDURATION

YIELD

YIELDDISC

YIELDMAT