How to get Start and end date of the transacted datas of the day

Stacy Rueda

Board Regular
Joined
Jun 23, 2016
Messages
87
Hi, Good day to all of you.

Can someone help me with my excel problem. I've tried pivot table but it doesn't make sense, the result is not really what I wanted. If someone who has a good heart that can help, I would appreciate it from the bottom of my heart.

So, here it goes..

My data is look like this..

Date/ Date/ Quantity
hh:mm:ss hh:mm:ss


Setup DateFinish DateParts Consumption
6/1/2017 9:276/1/2017 9:33334
6/1/2017 9:546/1/2017 11:091563
6/1/2017 11:316/1/2017 12:566181
6/1/2017 13:396/1/2017 14:552347
6/1/2017 15:126/1/2017 16:162412
6/1/2017 16:306/1/2017 17:11322
6/2/2017 8:576/2/2017 10:021764
6/2/2017 10:476/2/2017 18:2113560
6/2/2017 18:326/2/2017 18:3310
6/5/2017 8:536/5/2017 9:38494
6/5/2017 9:456/5/2017 10:09105
6/5/2017 10:176/5/2017 10:44250
6/5/2017 11:086/5/2017 11:45585
6/5/2017 11:496/5/2017 11:52124
6/5/2017 12:066/5/2017 12:12192
6/5/2017 12:226/5/2017 12:44101
6/5/2017 13:226/5/2017 13:59683
6/5/2017 14:356/5/2017 15:151018
6/5/2017 15:346/5/2017 16:15261
6/5/2017 16:346/5/2017 16:56226
6/5/2017 17:126/5/2017 18:19110

<colgroup><col span="2"><col></colgroup><tbody>
</tbody>


This is the result that we want..

datestartendparts QTYoperation seconds
6/1/20172017/6/1 9:272017/6/1 17:111315927840
6/2/20172017/6/2 8:572017/6/2 18:331533434560
6/5/20172017/6/5 8:532017/6/5 18:19414933960

<colgroup><col><col span="2"><col><col></colgroup><tbody>
</tbody>

If you notice, those in bold font will get the start and end per day, but the quantity will sum the whole quantity per day.

I hope someone will help me please, please..thank you in advance
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hello,

Once your Pivot Table is inserted ... have you tried the option Group by Days ... ? :wink:
 
Upvote 0
hi Mr.James006, using pivot table is not good, by using that, time doesn't display which is important in calculating seconds (operating seconds). do you have any idea how can i get the start and end time of the day, btw, calculating of seconds is ok for me, i used formula =ABS(B2-C2)*86400
 
Upvote 0
Hello,

Have just emailed a sample workbook ...

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,216,117
Messages
6,128,935
Members
449,480
Latest member
yesitisasport

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