Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Meelikki
 
Posts: n/a
Default Time Sheet frustrations

Hi -

I am trying to create a time sheet that has the start and end times per day,
with total hours scheduled for the week that includes 30 for lunch if they
are scheduled on a particular day for more than 6 hours. Total hours would be
the scheduled time minus 30 minutes for lunch if applicable.

Monday Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00 3:30
Brad 35.25 9:00 4:00 8:00 5:00

any suggestions?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Time Sheet frustrations

Assuming that Kathy is in row 3, the total is in column B, and start/end
times are in C3:L3, try this total formula

=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S
UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end times per

day,
with total hours scheduled for the week that includes 30 for lunch if they
are scheduled on a particular day for more than 6 hours. Total hours would

be
the scheduled time minus 30 minutes for lunch if applicable.

Monday Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00

3:30
Brad 35.25 9:00 4:00 8:00

5:00

any suggestions?



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default Time Sheet frustrations

I should have added that the cell should also be formatted as [h]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Assuming that Kathy is in row 3, the total is in column B, and start/end
times are in C3:L3, try this total formula


=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S

UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end times per

day,
with total hours scheduled for the week that includes 30 for lunch if

they
are scheduled on a particular day for more than 6 hours. Total hours

would
be
the scheduled time minus 30 minutes for lunch if applicable.

Monday Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00

3:30
Brad 35.25 9:00 4:00 8:00

5:00

any suggestions?





  #4   Report Post  
Meelikki
 
Posts: n/a
Default Time Sheet frustrations

awesome...thank you for your quick response!

"Bob Phillips" wrote:

I should have added that the cell should also be formatted as [h]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Assuming that Kathy is in row 3, the total is in column B, and start/end
times are in C3:L3, try this total formula


=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S

UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end times per

day,
with total hours scheduled for the week that includes 30 for lunch if

they
are scheduled on a particular day for more than 6 hours. Total hours

would
be
the scheduled time minus 30 minutes for lunch if applicable.

Monday Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00

3:30
Brad 35.25 9:00 4:00 8:00

5:00

any suggestions?






  #5   Report Post  
Meelikki
 
Posts: n/a
Default Time Sheet frustrations

I am getting a value error, I have reformatted the cell, and I have entered
the formula as you indicated. You have D3:M3, is that correct?

"Bob Phillips" wrote:

Assuming that Kathy is in row 3, the total is in column B, and start/end
times are in C3:L3, try this total formula

=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S
UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end times per

day,
with total hours scheduled for the week that includes 30 for lunch if they
are scheduled on a particular day for more than 6 hours. Total hours would

be
the scheduled time minus 30 minutes for lunch if applicable.

Monday Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00

3:30
Brad 35.25 9:00 4:00 8:00

5:00

any suggestions?






  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default Time Sheet frustrations

Yes it is correct, it is deliberate so that the cells subtracted line-up. It
might be word-wrap, so check with this

=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-
SUM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.2
5
))/48

Did you also array-enter?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
I am getting a value error, I have reformatted the cell, and I have

entered
the formula as you indicated. You have D3:M3, is that correct?

"Bob Phillips" wrote:

Assuming that Kathy is in row 3, the total is in column B, and start/end
times are in C3:L3, try this total formula


=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S

UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end times

per
day,
with total hours scheduled for the week that includes 30 for lunch if

they
are scheduled on a particular day for more than 6 hours. Total hours

would
be
the scheduled time minus 30 minutes for lunch if applicable.

Monday

Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00

3:30
Brad 35.25 9:00 4:00 8:00

5:00

any suggestions?






  #7   Report Post  
Meelikki
 
Posts: n/a
Default Time Sheet frustrations

yes, I did array enter the formula. I will recheck my entering of the
formula..


"Bob Phillips" wrote:

Yes it is correct, it is deliberate so that the cells subtracted line-up. It
might be word-wrap, so check with this

=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-
SUM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.2
5
))/48

Did you also array-enter?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
I am getting a value error, I have reformatted the cell, and I have

entered
the formula as you indicated. You have D3:M3, is that correct?

"Bob Phillips" wrote:

Assuming that Kathy is in row 3, the total is in column B, and start/end
times are in C3:L3, try this total formula


=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S

UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end times

per
day,
with total hours scheduled for the week that includes 30 for lunch if

they
are scheduled on a particular day for more than 6 hours. Total hours

would
be
the scheduled time minus 30 minutes for lunch if applicable.

Monday

Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00
3:30
Brad 35.25 9:00 4:00 8:00
5:00

any suggestions?






  #8   Report Post  
Meelikki
 
Posts: n/a
Default Time Sheet frustrations

I appreciate all the help that you have given me on this time sheet! Thank
you very much..there are two things missing, is there anyway to have it
deduct the .5 hours if they work longer than 6 hours in a day..and second, I
would like the total to be in real number format..example would be that they
are working for 39.25 hours per week.

"Meelikki" wrote:

yes, I did array enter the formula. I will recheck my entering of the
formula..


"Bob Phillips" wrote:

Yes it is correct, it is deliberate so that the cells subtracted line-up. It
might be word-wrap, so check with this

=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-
SUM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.2
5
))/48

Did you also array-enter?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
I am getting a value error, I have reformatted the cell, and I have

entered
the formula as you indicated. You have D3:M3, is that correct?

"Bob Phillips" wrote:

Assuming that Kathy is in row 3, the total is in column B, and start/end
times are in C3:L3, try this total formula


=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S

UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end times

per
day,
with total hours scheduled for the week that includes 30 for lunch if

they
are scheduled on a particular day for more than 6 hours. Total hours

would
be
the scheduled time minus 30 minutes for lunch if applicable.

Monday

Tuesday
Employee Total Start time End Time Start time End time
Kathy 39.5 8:00 6:00 11:00
3:30
Brad 35.25 9:00 4:00 8:00
5:00

any suggestions?






  #9   Report Post  
Bob Phillips
 
Posts: n/a
Default Time Sheet frustrations

Meeliki,

It already does the first part, subtracts .5 hours if more than 6 per day
worked.

For the second part, just multiply by 24, and format as General.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
I appreciate all the help that you have given me on this time sheet!

Thank
you very much..there are two things missing, is there anyway to have it
deduct the .5 hours if they work longer than 6 hours in a day..and second,

I
would like the total to be in real number format..example would be that

they
are working for 39.25 hours per week.

"Meelikki" wrote:

yes, I did array enter the formula. I will recheck my entering of the
formula..


"Bob Phillips" wrote:

Yes it is correct, it is deliberate so that the cells subtracted

line-up. It
might be word-wrap, so check with this


=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-

SUM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.2
5
))/48

Did you also array-enter?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
I am getting a value error, I have reformatted the cell, and I have
entered
the formula as you indicated. You have D3:M3, is that correct?

"Bob Phillips" wrote:

Assuming that Kathy is in row 3, the total is in column B, and

start/end
times are in C3:L3, try this total formula



=SUM((MOD(COLUMN(C3:L3),2)=0)*C3:L3)-SUM(((MOD(COLUMN(C3:L3),2)=1)*C3:L3))-S


UM(--(IF(MOD(COLUMN(D3:M3),2)=0,D3:M3)-IF(MOD(COLUMN(C3:L3),2)=1,C3:L3)0.25
))/48
it is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Meelikki" wrote in message
...
Hi -

I am trying to create a time sheet that has the start and end

times
per
day,
with total hours scheduled for the week that includes 30 for

lunch if
they
are scheduled on a particular day for more than 6 hours. Total

hours
would
be
the scheduled time minus 30 minutes for lunch if applicable.

Monday
Tuesday
Employee Total Start time End Time Start time End

time
Kathy 39.5 8:00 6:00 11:00
3:30
Brad 35.25 9:00 4:00 8:00
5:00

any suggestions?








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
Time Sheet S.E. Excel Discussion (Misc queries) 2 October 14th 05 07:22 PM
Formula to deduct unpaid breaks in time sheet Rick Excel Discussion (Misc queries) 3 August 26th 05 11:53 PM
time sheet calculations emmcee Excel Worksheet Functions 7 August 20th 05 12:26 PM
Excel formula for a time sheet HRMSN Excel Worksheet Functions 1 August 10th 05 03:07 PM
Time Sheet calculations dkostel Excel Worksheet Functions 2 November 23rd 04 10:11 PM


All times are GMT +1. The time now is 11:48 PM.

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

About Us

"It's about Microsoft Excel"