before multiple formula