thechazm
VBA, VB.net, C#, Java
- Local time
- Today, 18:04
- Joined
- Mar 7, 2011
- Messages
- 515
Hey all it's been a while and hope everyone is doing good 
I have something I am trying to figure out what would be the best way to setup multiple rows for calculating men per day usage. Here is an example of the data in a table:
ID, Class, Start Date & Time, End Date & Time
1, Excel, 1/9/16 0800, 1/11/16 1200
So that would be the one row of data but what I would like the output to be is:
ID, Class, Date, Hours
1, Excel, 1/9/16, 8
1, Excel, 1/10/16, 8
1, Excel, 1/11/16, 4
I can't seem to figure out if I should pursue queries or vba to produce the data. I can think of some ways of doing this but didn't want it to be too time consuming as it will be used to prep a report.
Thanks for your help and time in advance
I have something I am trying to figure out what would be the best way to setup multiple rows for calculating men per day usage. Here is an example of the data in a table:
ID, Class, Start Date & Time, End Date & Time
1, Excel, 1/9/16 0800, 1/11/16 1200
So that would be the one row of data but what I would like the output to be is:
ID, Class, Date, Hours
1, Excel, 1/9/16, 8
1, Excel, 1/10/16, 8
1, Excel, 1/11/16, 4
I can't seem to figure out if I should pursue queries or vba to produce the data. I can think of some ways of doing this but didn't want it to be too time consuming as it will be used to prep a report.
Thanks for your help and time in advance
Last edited: