How To Calculate Compound Interest In Excel When Principal Amount And Interest Rate Per Annum Is Included.

I want to calculate compound interest in excel when the principal amount is 2000$ and interest rate per annum is 5%. What are the steps required for achieving the above? Also please provide the solution for the error occurring while calculating the value.
