Data consolidation using macro/vba

usmaan

New Member
Joined
Aug 29, 2017
Messages
1
VJfMg
VJfMg
Hi guys, hope you're all having a great Tuesday!

I've got a question about VBA, I am very new to this and I have been asked to create a sheet to record time for certain tasks.

This is what I have made so far so you can get a better idea of what I have constructed:


Essentially, user clicks on one of the 4 client buttons, start time is recorded and the name of client. They then click the subtask to record what they are doing for the client, and then end button to record the final time. The difference in the times is recorded.

I now want, on the same sheet to be an Export button, and every Friday, the data is exported to the next sheet. The information I want on the next sheet is a table in the format shown on the figure.

So essentially, the macro will read the date, work out the day and total the time spent working on the entire day (productive time), then by clients, then by subtasks, and then the weekly totals. I know it is probably a pain to explain but any help would be thoroughly appreciated.

Imgur: The most awesome images on the Internet

I look forward to hearing from you all!

:)
VJfMg
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top