You’ll need to do something like the following :-
In report summary functions – specify total for your $$.
In report breaks – specify all the fields that you need in your file (including order#) at the same level (eg 1).
In output type and form – specify database file and summary only.
When you run your query it should create your file with one record per order# with an order total and a “break level” (what you specified in report breaks). It will also have a record with a “break level” of 0 which is the total for the complete query.
In your excel, you should be able to remove the break level 0 record (or your could use UPDDTA or STRSQL to remove it).
You can use CPYTOIMPF to convert the resulting file to .CSV for import into excel.