chetanojha
New Member
- Joined
- May 3, 2016
- Messages
- 20
Dear Forum Members,
I have a situation where I receive a lot of files from different sales depots to me on daily basis. These files are identical in nature. All files have three worksheets namely Depot Name, Operator and Order_Details. Only one column (in “Order_Details” worksheet) keeps changing. This “Order_Details” worksheet typically looks like below:
<tbody>
</tbody>
Now, I have a master excel sheet (Consolidate_Orders.xls) where I load all this information, received above from Order_Details worksheet, manually at the moment. This Consolidate_Orders.xls workbook looks like below. This workbook consolidates all the files which I receive daily from different depots.
[TABLE="width: 1131"]
<tbody>[TR]
[TD]Deport Name
[/TD]
[TD]Truck Entry
[/TD]
[TD]Truck Exit
[/TD]
[TD]Total Time Taken
[/TD]
[TD]Operator
[/TD]
[TD]Operator Average
[/TD]
[TD]Total Weight
[/TD]
[TD]Total Sale value
[/TD]
[TD]Order Status
[/TD]
[/TR]
[TR]
[TD]London
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Alan
[/TD]
[TD]2.45 hours
[/TD]
[TD]11 Tonnes
[/TD]
[TD]15000
[/TD]
[TD]Completed
[/TD]
[/TR]
[TR]
[TD]Manchester
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Michael
[/TD]
[TD]2.45 hours
[/TD]
[TD]12 Tonnes
[/TD]
[TD]1800
[/TD]
[TD]Completed
[/TD]
[/TR]
[TR]
[TD]Swindon
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Elaine
[/TD]
[TD]2.45 hours
[/TD]
[TD]13 Tonnes
[/TD]
[TD]2000
[/TD]
[TD]Completed
[/TD]
[/TR]
[TR]
[TD]Swansea
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Julie
[/TD]
[TD]2.45 hours
[/TD]
[TD]14 Tonnes
[/TD]
[TD]50000
[/TD]
[TD]Completed
[/TD]
[/TR]
</tbody>[/TABLE]
My requirement is to have a button in the Consolidate_Orders.xls workbook/worksheet – which will then open a dialog box to ask me which file I need to import into the Consolidate_Orders.xls workbook. I will then select London_Depot file (as shown above). Once London_Depot file is selected, data from the worksheet “ORDER_DETAILS” (column name “VALUES” ) will be copied and transpose pasted in the end of the Consolidate_Orders.xls file
I checked this forum and also googled it. There are lot of material.. but I cannot make much sense of it.
Any help would be appreciated.
Thanks a lot
I have a situation where I receive a lot of files from different sales depots to me on daily basis. These files are identical in nature. All files have three worksheets namely Depot Name, Operator and Order_Details. Only one column (in “Order_Details” worksheet) keeps changing. This “Order_Details” worksheet typically looks like below:
Entity | Description | Values |
Deport Name | Name of the Depot | London |
Truck Entry | Time when truck entered | 01/12/2017 01:45:34 |
Truck Exit | Time when truck exited | 01/12/2017 04:45:34 |
Total Time Take | Total Time in despatch | 03:00:00 Hours |
Operator | Name of the Operator | Alan |
Operator Average | Average time of the operator | 2.45 hours |
Total Weight | Weight of the truck when exit | 11 Tonnes |
Total Sale value | Total Sale Value | $15000 |
Order Status | Is Order Completed | Completed |
<tbody>
</tbody>
Now, I have a master excel sheet (Consolidate_Orders.xls) where I load all this information, received above from Order_Details worksheet, manually at the moment. This Consolidate_Orders.xls workbook looks like below. This workbook consolidates all the files which I receive daily from different depots.
[TABLE="width: 1131"]
<tbody>[TR]
[TD]Deport Name
[/TD]
[TD]Truck Entry
[/TD]
[TD]Truck Exit
[/TD]
[TD]Total Time Taken
[/TD]
[TD]Operator
[/TD]
[TD]Operator Average
[/TD]
[TD]Total Weight
[/TD]
[TD]Total Sale value
[/TD]
[TD]Order Status
[/TD]
[/TR]
[TR]
[TD]London
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Alan
[/TD]
[TD]2.45 hours
[/TD]
[TD]11 Tonnes
[/TD]
[TD]15000
[/TD]
[TD]Completed
[/TD]
[/TR]
[TR]
[TD]Manchester
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Michael
[/TD]
[TD]2.45 hours
[/TD]
[TD]12 Tonnes
[/TD]
[TD]1800
[/TD]
[TD]Completed
[/TD]
[/TR]
[TR]
[TD]Swindon
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Elaine
[/TD]
[TD]2.45 hours
[/TD]
[TD]13 Tonnes
[/TD]
[TD]2000
[/TD]
[TD]Completed
[/TD]
[/TR]
[TR]
[TD]Swansea
[/TD]
[TD]01/12/2017 01:45:34
[/TD]
[TD]01/12/2017 04:45:34
[/TD]
[TD]03:00:00 Hours
[/TD]
[TD]Julie
[/TD]
[TD]2.45 hours
[/TD]
[TD]14 Tonnes
[/TD]
[TD]50000
[/TD]
[TD]Completed
[/TD]
[/TR]
</tbody>[/TABLE]
My requirement is to have a button in the Consolidate_Orders.xls workbook/worksheet – which will then open a dialog box to ask me which file I need to import into the Consolidate_Orders.xls workbook. I will then select London_Depot file (as shown above). Once London_Depot file is selected, data from the worksheet “ORDER_DETAILS” (column name “VALUES” ) will be copied and transpose pasted in the end of the Consolidate_Orders.xls file
I checked this forum and also googled it. There are lot of material.. but I cannot make much sense of it.
Any help would be appreciated.
Thanks a lot