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

Use formally dressed

Use formerly the clerk

Avoid formally the clerk (If you mean in the past.)