I think the excel formula you're looking for is =PV(7%/12,300,-2500,0), where 7% is your interest rate you're earning on the money divided by 12 since this is monthly, 300 is the number of payments (25 years), -2,500 is your monthly payment and 0 is the future value.
The answer is $353,717.