Studies have shown that metformin is useful mainly to prevent ovarian hyperstimulation syndrome if induction is done in pcos patients. However if in case you have prediabetes, metformin can help in prevention of progression to
diabetes.
All said and done there is no substitute to weight loss via diet and exercise. Also remember that the contribution of a proper diet to weight loss is immense and is more important that exercise.