VBA to Fill Timesheet Data HELP

Fe5ks

New Member
Joined
Mar 15, 2018
Messages
1
The following table shows the date of the week and beneath each day is the hours that have been spent on a project, each row of numbers a new the project/job (not shown here). How can I get this into the table similarly setup to the right - with the same headings, using some sort of VBA functions or formula in excel.. Just wanting the dates to be all the monday hours first, then the tuesday hours and so on until friday. I have spent a lot of time trying to work it out and I cannot. Also, the days with zero hour I do not want to log. These hours change all the time.. and the amount of jobs can vary as well (therefore more rows).

Ideally I would like this to be almost automatic so the hours can be put in a button pressed and put into the format on the right.

Any advice welcome!

Please help!


Monday, 12 March 2018Tuesday, 13 March 2018Wednesday, 14 March 2018Thursday, 15 March 2018Friday, 16 March 2018
21203.5DateJOB NOPROJECT TITLEACTIVITYHOURS
2222.54
13000
11.52.500
1.50150

<tbody>
</tbody>

****** id="cke_pastebin" style="position: absolute; top: 120px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
HOURS

<tbody>
</tbody>
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,216,074
Messages
6,128,649
Members
449,462
Latest member
Chislobog

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