Identifying "Active" Orders at a given hour for charting trends

blove

New Member
Joined
Feb 5, 2013
Messages
1
After years of lurking this board and finding everything I need and then some I am finally stumped.

My simplified issue is that I have historical order data detailing a unique order number, the date/time the order was created, and the date/time the order was closed (shipped). I'm attempting to use this data to determine where available orders spike throughout the day, in an attempt to correlate this data to the scheduling of labor, and hopefully identify if bringing in an early shift actually reduces the number of available orders later in the day.

I have already been able to chart strictly on the time an order was received (morning biased trend), and individually on when an order was closed (evening biased trend) however this makes it difficult to determine exactly how many orders are available at any hour, as some orders may take days to complete. For the life of me I can't figure out how to get the order below to register as a count of 1 for every hour it is open without making 24 helper colums for each hour of the day.

Basic fields being used are below:
Order Number
Time In
Time Out
:confused:
123
01/05/2013 08:53
01/05/2013 17:53

<TBODY>
</TBODY>




In the simplified version it may appear that the open and closed should be clear enough, but in the more complex real-life version I'm attempting to use the logic to break down exactly which parts of the order fulfillment process have bottlenecks throughout the day. (Ex. at noon, Repair has 100 orders, Programming has 50, shipping has 100; so if Programming could assist repair they may be able to overcome lulls throughout the day). Each of 10 departments have In and Out times, so you can see that 240 helper columns could quickly get out of control.

Thoughts that have crossed my mind:
  • Use a MOD function to extract the times from Date/Time, then use a formula identify if 1pm,2pm, 3pm etc. is between start and end times, but how could I get this to reflect on a pivot chart for each hour that an order is active?
  • Curl up in a ball under my desk.

I'm hoping that someone can make me look like a complete fool by pointing me towards a simple function of Excel that escapes me. I am currently using Excel 2010 in an XLSB format due to the massive size of the data (just under 1 million records) but I'm willing to look at other options. Any thoughts?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,215,418
Messages
6,124,793
Members
449,189
Latest member
kristinh

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