Need an excel formula in order to pick the interest rate.

I have a Microsoft excel sheet including details of the loan providing to staff members of a company. These loans are recovered with an interest. These interest rates are variable with the loan value as follows.
Loan value Interest rate
Less than $ 10,000.00 – 2%
$10,000.00-$25,000.00 – 3%
More than $25, 0000.00 – 4%
I want an excel formula which interest rate to be appeared according to the loan value based on the above conditions?
Can anybody help me?
