You might be confusing the word formally with formerly. These words are commonly misused.
formal + -ly
Positive formally
Comparative more formally
Superlative most formally