PC Review


Reply
Thread Tools Rate Thread

adding time in a work schedule

 
 
Chris
Guest
Posts: n/a
 
      29th Apr 2010
adding time (30 minute lunch) to a time value (>6 hours) that is calculated
from two cells that contain starting time & ending time EX 6:30am-3:00pm
--
Chris
 
Reply With Quote
 
 
 
 
ozgrid.com
Guest
Posts: n/a
 
      29th Apr 2010
=A1+"00:30:00"



--
Regards
Dave Hawley
www.ozgrid.com
"Chris" <(E-Mail Removed)> wrote in message
news:861495D5-9D4A-4965-854E-(E-Mail Removed)...
> adding time (30 minute lunch) to a time value (>6 hours) that is
> calculated
> from two cells that contain starting time & ending time EX 6:30am-3:00pm
> --
> Chris


 
Reply With Quote
 
Fred Smith
Guest
Posts: n/a
 
      29th Apr 2010
One more:
=A1+TIME(0,30,0)

Regards,
Fred

"ozgrid.com" <(E-Mail Removed)> wrote in message
news:4E9BE2FB-64A9-4F3B-86C7-(E-Mail Removed)...
> =A1+"00:30:00"
>
>
>
> --
> Regards
> Dave Hawley
> www.ozgrid.com
> "Chris" <(E-Mail Removed)> wrote in message
> news:861495D5-9D4A-4965-854E-(E-Mail Removed)...
>> adding time (30 minute lunch) to a time value (>6 hours) that is
>> calculated
>> from two cells that contain starting time & ending time EX 6:30am-3:00pm
>> --
>> Chris

>


 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      29th Apr 2010
Hi Chris

With start time in cell A1 and end time in cell B1

In cell C1 apply the below formula and format the formula cell to custom
format [h]:mm

=(B1-A1)+(0.5/24)

--
Jacob (MVP - Excel)


"Chris" wrote:

> adding time (30 minute lunch) to a time value (>6 hours) that is calculated
> from two cells that contain starting time & ending time EX 6:30am-3:00pm
> --
> Chris

 
Reply With Quote
 
Chris
Guest
Posts: n/a
 
      29th Apr 2010

-- Thanks Jacob, but let me explain my dilema further. I have 6:30am in cell
A1 & 3:00pm in cell B1; I have both of these cells formatted as custom h:mm
AM/PM & I have C1 formatted as h:mm (in this cell is the total hours from A &
B) I have been able to add or subtract a 30 min lunch w/formulas; my question
is: can I have a formula in all affected cells(the total daily hours across a
7 day work schedule) that would add a 30 min period only to those cells that
are greater than 6 hours?
Chris


"Jacob Skaria" wrote:

> Hi Chris
>
> With start time in cell A1 and end time in cell B1
>
> In cell C1 apply the below formula and format the formula cell to custom
> format [h]:mm
>
> =(B1-A1)+(0.5/24)
>
> --
> Jacob (MVP - Excel)
>
>
> "Chris" wrote:
>
> > adding time (30 minute lunch) to a time value (>6 hours) that is calculated
> > from two cells that contain starting time & ending time EX 6:30am-3:00pm
> > --
> > Chris

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      30th Apr 2010
Try the below formula and format the cell to [h]:mm

=IF(MOD(B1,1)-MOD(A1,1)>"06:00",MOD(B1,1)-MOD(A1,1)+(0.5/24),
MOD(B1,1)-MOD(A1,1))

--
Jacob (MVP - Excel)


"Chris" wrote:

>
> -- Thanks Jacob, but let me explain my dilema further. I have 6:30am in cell
> A1 & 3:00pm in cell B1; I have both of these cells formatted as custom h:mm
> AM/PM & I have C1 formatted as h:mm (in this cell is the total hours from A &
> B) I have been able to add or subtract a 30 min lunch w/formulas; my question
> is: can I have a formula in all affected cells(the total daily hours across a
> 7 day work schedule) that would add a 30 min period only to those cells that
> are greater than 6 hours?
> Chris
>
>
> "Jacob Skaria" wrote:
>
> > Hi Chris
> >
> > With start time in cell A1 and end time in cell B1
> >
> > In cell C1 apply the below formula and format the formula cell to custom
> > format [h]:mm
> >
> > =(B1-A1)+(0.5/24)
> >
> > --
> > Jacob (MVP - Excel)
> >
> >
> > "Chris" wrote:
> >
> > > adding time (30 minute lunch) to a time value (>6 hours) that is calculated
> > > from two cells that contain starting time & ending time EX 6:30am-3:00pm
> > > --
> > > Chris

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transpose 4 Columns data to Rows for Employee Time In and Time Out Schedule Nasir Microsoft Excel Programming 0 4th May 2011 12:05 PM
How to write the formula for time accounting for a work schedule =?Utf-8?B?c2hlcGhlcmRkZW1pdHJpQG1zbi5jb20=?= Microsoft Excel Worksheet Functions 1 20th Dec 2005 10:35 AM
How to use solver to schedule part time and full time workforce? =?Utf-8?B?VGhlIE9veg==?= Microsoft Excel Misc 0 18th Aug 2005 06:53 AM
time sheet to make schedule to work =?Utf-8?B?ZXhjZWw=?= Microsoft Excel Worksheet Functions 1 25th Sep 2004 04:16 PM
How do I schedule normal work if I work nights (19:00 - 04:00) in. =?Utf-8?B?dG50YnJ6?= Microsoft Outlook Calendar 2 14th Sep 2004 02:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:56 AM.