Accordingly means in a way that fits what has happened. Act accordingly, adjust the plan accordingly, they were paid accordingly.
It points back at something already said and is often quietly a threat, as in you have been warned and should act accordingly. It also works as a plain connective meaning therefore, which is the more formal of its two jobs.
1adverbaccordinglyIn a way that fits what has happened.
“The forecast said heavy rain, so we dressed accordingly.”
accordingly is a manner.
From according, from accord, from Old French acorder, from Latin ad cor, to the heart — to bring into agreement.
Middle English
acordingli
English, today
accordingly
From Middle English acordingli, equivalent to according + -ly.
Etymology from Wiktionary, CC BY-SA