i need a formula that would round up and down to a certain number

for example if cell a2 is greater than 25 (like 30) it should roundown to 25, if its lower than 15 (like 11) it should roundup to 15, if its 18 it should not change

meaning only numbers that are out of my range (between 15-25) should change to closest low or high number