Which sentence is more formal?

 - The president said some surprising things in his speech.
 - In his speech, the president made several surprising statements.
The second sentence is less formal. You can tell because it uses overly simple or imprecise language (said, things).
The first sentence uses more precise language, so it is more formal overall.