What I do is save before talking to a new merchant, like how we do with special chests. Takes time but I have plenty of 10 level formulas, usually through a weapon/armor though.