Usefully has 2 different meanings across 1 category:
Adverb
in a useful manner
"extra money could be usefully spent on this project"
In a useful manner; in a way that achieves something