I am running a query for every truck in our fleet to see the mileage and amount of fuel used over a month, quarter or year time frame. So my columns are Date, Truck, Miles. Formatting the results is time consuming because all the trucks' data are listed together like below.
Date Truck Miles
1/1/15 101 542
1/2/15 101 342
Is there a way to format the query results when coping to Excel or running the query as a macro in Excel so the results are displayed like a 3d table like below?
Truck 1/1/15 1/2/15 1/3/15
101 542 342 741
102 121 214 141
103 541 741 874