formally / formerly

In a formal way versus in the past.

Formally means in a formal way. Formerly means in the past. She was formerly the chair. She was formally introduced.

Examples

Useformally dressed

Useformerly the clerk

Avoidformally the clerk (If you mean in the past.)