Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Calculating specific increments of time across days

I have dates & times which I need to enter (which is the easy part).
However, I need to use the difference (in hours) to calculate the cost
incurred when the hours fall between 0600 -1800 (day cost) and 1800-0600
(night cost). If the hours fall between day cost hours, then I want a
specific cell to calculate the difference in hours in decimal form. If the
hours fall between night hours, then I want the difference to calculate in
another row. For example:

A B C (day cost)
D (night cost)
1 3/3/08 06:15 3/5/08 16:45 # hours
# hours

I don't know if this is possible, but if it is, it will save me tons of
time. Right now I am manually inputting the increments to separate night and
day cost hours and having excel calculate the rest. Thanks!
--
ELG
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Calculating specific increments of time across days

How are we supposed to know what hours were worked on March 4th? For what
you want to do to work, I think you will need to enter each days work hours
separately.

Rick


"asynmyx" wrote in message
...
I have dates & times which I need to enter (which is the easy part).
However, I need to use the difference (in hours) to calculate the cost
incurred when the hours fall between 0600 -1800 (day cost) and 1800-0600
(night cost). If the hours fall between day cost hours, then I want a
specific cell to calculate the difference in hours in decimal form. If
the
hours fall between night hours, then I want the difference to calculate in
another row. For example:

A B C (day cost)
D (night cost)
1 3/3/08 06:15 3/5/08 16:45 # hours
# hours

I don't know if this is possible, but if it is, it will save me tons of
time. Right now I am manually inputting the increments to separate night
and
day cost hours and having excel calculate the rest. Thanks!
--
ELG


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Calculating specific increments of time across days

Sorry I wasn't very clear...

This is a facility rate structure which I am looking at. It charges a
customer for using a facility. So any dates in between the two dates, there
is an assumption that 12 hours were day chrages and 12 hours were night
charges for those days.

So if a customer enters on 3/3/08 at 6:15 and then stays at the facility
through 3/5/08 until 16:45, then I wish to calculate how many day and night
hours there were between 3/3/08 6:15 and 3/5/08 6:45 as there is a charge for
hours stayed between 0600 -1800 and a different rate for 1800-0600.
--
ELG


"Rick Rothstein (MVP - VB)" wrote:

How are we supposed to know what hours were worked on March 4th? For what
you want to do to work, I think you will need to enter each days work hours
separately.

Rick


"asynmyx" wrote in message
...
I have dates & times which I need to enter (which is the easy part).
However, I need to use the difference (in hours) to calculate the cost
incurred when the hours fall between 0600 -1800 (day cost) and 1800-0600
(night cost). If the hours fall between day cost hours, then I want a
specific cell to calculate the difference in hours in decimal form. If
the
hours fall between night hours, then I want the difference to calculate in
another row. For example:

A B C (day cost)
D (night cost)
1 3/3/08 06:15 3/5/08 16:45 # hours
# hours

I don't know if this is possible, but if it is, it will save me tons of
time. Right now I am manually inputting the increments to separate night
and
day cost hours and having excel calculate the rest. Thanks!
--
ELG



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Dates calculating 10 days and 30 days from a certain date Sioux[_2_] Excel Worksheet Functions 2 October 11th 07 02:04 PM
Calculating time from a specific paycheck period BobR Excel Worksheet Functions 3 September 23rd 07 02:51 PM
Calculating time increments from dates during working hours S Davis Excel Worksheet Functions 0 October 24th 06 03:32 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM


All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"