Adding times from various records, based on start & end

jholzman1

New Member
Joined
Mar 18, 2004
Messages
5
I am trying to bring together two pieces of information, about the response time for a group of work orders.

In one query, I have a list of work orders, each record of which has a Creation date/time and a Start date/time. Each record also has a total number of minutes between from the Creation to the Start ("TTSMinutes").

I want to strip out non-working minutes that are available between the two dates.

I have already figured out how to calculate the non-working minutes for the specific days the work orders were created, and started. However, I can't get the number of minutes to strip out during the *intervening* days.

I imagine I need some sort of loop, or counter, that (1) looks at all records of a calendar table (which I have -- it has the total minutes for each day of the year that can be stripped out, "StripOutMinutes"); then (2) starts at the day after the Creation date, and continues on until it finds the day before the Start date; then (3) sums all the "StripOutMinutes" for those dates; and finally (4) drops the calculated sum into one cell in the original work order record.

Ugh. That description must be impossible to understand. If anyone has directions for an Access simpleton on using a counter code, that'd be great.

Thanks,
jh
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,221,710
Messages
6,161,445
Members
451,706
Latest member
SMB1982

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