In single player game, you can press 'p' for pause and make them each unit charge the enemy unit opposing them.
Or, like said before me, hold down alt and double click on the ground. It's still a charge.

I have found it to be rather clumsy to try to maintain strict formation, it's better to let units stay in rear and try to flank and so on.