Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Fudge
 
Posts: n/a
Default Work out overtime hours for individuals

Hi All

I have a question which i am hoping someone will eb able to help me
with, i have a spreadsheet which contains infromation for part time
hours worked during the course of a month for individuals (e.g. below)

Name Start End Hours
Persona 1:30 2:30 1
Persona 3:30 4:30 1
Persona 9:30 11:30
person b
person b
person c
person c
person d etc etc

What i need is a formula that will allo wme to add an extra column
which gives me the total hours person a worked, person be worked and so
on. The original data contains multiple lines (i.e persona could have
10 lines, personb15 lines etc etc), and is used for temporay teachers
that may work different hours and days in a month.

any help is appreciate, and i hope the above makes sense

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Biff
 
Posts: n/a
Default Work out overtime hours for individuals

Hi!

Try this:

Assuming your range is A2:E6. Enter this formula in F2 and copy down as
needed:

=IF(A2=A3,"",SUMIF(A$2:A$6,A2,D$2:D$6))

Biff

"Fudge" wrote in message
ups.com...
Hi All

I have a question which i am hoping someone will eb able to help me
with, i have a spreadsheet which contains infromation for part time
hours worked during the course of a month for individuals (e.g. below)

Name Start End Hours
Persona 1:30 2:30 1
Persona 3:30 4:30 1
Persona 9:30 11:30
person b
person b
person c
person c
person d etc etc

What i need is a formula that will allo wme to add an extra column
which gives me the total hours person a worked, person be worked and so
on. The original data contains multiple lines (i.e persona could have
10 lines, personb15 lines etc etc), and is used for temporay teachers
that may work different hours and days in a month.

any help is appreciate, and i hope the above makes sense



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default Work out overtime hours for individuals

=SUMIF(A1A,"Person a",D:D)

If you need regular and overtime hours, just use

=MAX(40,SUMIF(A1A,"Person a",D:D))

for regular hours, and

=MIN(0,40-SUMIF(A1A,"Person a",D:D))

if regular hours are upto 40.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Fudge" wrote in message
ups.com...
Hi All

I have a question which i am hoping someone will eb able to help me
with, i have a spreadsheet which contains infromation for part time
hours worked during the course of a month for individuals (e.g. below)

Name Start End Hours
Persona 1:30 2:30 1
Persona 3:30 4:30 1
Persona 9:30 11:30
person b
person b
person c
person c
person d etc etc

What i need is a formula that will allo wme to add an extra column
which gives me the total hours person a worked, person be worked and so
on. The original data contains multiple lines (i.e persona could have
10 lines, personb15 lines etc etc), and is used for temporay teachers
that may work different hours and days in a month.

any help is appreciate, and i hope the above makes sense



  #4   Report Post  
Posted to microsoft.public.excel.newusers
Fudge
 
Posts: n/a
Default Work out overtime hours for individuals

Hi thanks for the info, no i just need a column that gives me the total
hours worked for each individual as 1 line rather than me have to sit
there and calculate the total hours each for each record,

the other problem is will it calculate the hours if they are setup as
follow:

01:30
06:15
and so forth or do i need to convert the numerical fields first..as i
know in the past trying to get a sum doesnt always work.

Bob Phillips wrote:

=SUMIF(A1A,"Person a",D:D)

If you need regular and overtime hours, just use

=MAX(40,SUMIF(A1A,"Person a",D:D))

for regular hours, and

=MIN(0,40-SUMIF(A1A,"Person a",D:D))

if regular hours are upto 40.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Fudge" wrote in message
ups.com...
Hi All

I have a question which i am hoping someone will eb able to help me
with, i have a spreadsheet which contains infromation for part time
hours worked during the course of a month for individuals (e.g. below)

Name Start End Hours
Persona 1:30 2:30 1
Persona 3:30 4:30 1
Persona 9:30 11:30
person b
person b
person c
person c
person d etc etc

What i need is a formula that will allo wme to add an extra column
which gives me the total hours person a worked, person be worked and so
on. The original data contains multiple lines (i.e persona could have
10 lines, personb15 lines etc etc), and is used for temporay teachers
that may work different hours and days in a month.

any help is appreciate, and i hope the above makes sense


  #5   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default Work out overtime hours for individuals

No, the formula I gave will sum up the hours, but format the cell as [h]:mm
to allow for more than 24 hours.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Fudge" wrote in message
oups.com...
Hi thanks for the info, no i just need a column that gives me the total
hours worked for each individual as 1 line rather than me have to sit
there and calculate the total hours each for each record,

the other problem is will it calculate the hours if they are setup as
follow:

01:30
06:15
and so forth or do i need to convert the numerical fields first..as i
know in the past trying to get a sum doesnt always work.

Bob Phillips wrote:

=SUMIF(A1A,"Person a",D:D)

If you need regular and overtime hours, just use

=MAX(40,SUMIF(A1A,"Person a",D:D))

for regular hours, and

=MIN(0,40-SUMIF(A1A,"Person a",D:D))

if regular hours are upto 40.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Fudge" wrote in message
ups.com...
Hi All

I have a question which i am hoping someone will eb able to help me
with, i have a spreadsheet which contains infromation for part time
hours worked during the course of a month for individuals (e.g. below)

Name Start End Hours
Persona 1:30 2:30 1
Persona 3:30 4:30 1
Persona 9:30 11:30
person b
person b
person c
person c
person d etc etc

What i need is a formula that will allo wme to add an extra column
which gives me the total hours person a worked, person be worked and

so
on. The original data contains multiple lines (i.e persona could have
10 lines, personb15 lines etc etc), and is used for temporay teachers
that may work different hours and days in a month.

any help is appreciate, and i hope the above makes sense






  #6   Report Post  
Posted to microsoft.public.excel.newusers
Fudge
 
Posts: n/a
Default Work out overtime hours for individuals

thanks for that i will try it on the spread sheet tomorrow at work, and
willr evert back in the evening tomorrow if i encounter a problem.

  #7   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default Work out overtime hours for individuals

Okay, will watch out for it.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Fudge" wrote in message
oups.com...
thanks for that i will try it on the spread sheet tomorrow at work, and
willr evert back in the evening tomorrow if i encounter a problem.



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 on overtime hours Jennifer Excel Worksheet Functions 3 February 23rd 06 08:36 PM
Calculate Hours and overtime by week gregt812 Excel Worksheet Functions 1 November 23rd 05 07:03 PM
Time sheets Driver Excel Worksheet Functions 5 November 7th 05 11:19 AM
How can I work out how many hours I get premium rate? HappyTrucker Excel Worksheet Functions 4 August 7th 05 07:39 AM
Work Hours Time Question Qaspec Excel Worksheet Functions 5 March 27th 05 02:58 PM


All times are GMT +1. The time now is 06:18 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"