Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dwayne
 
Posts: n/a
Default Lookup or Summing problem


Sorry if my topic is confusing but I am confused myself.

What i have is a list of names and hours worked in 2 cols.
Col1.................Col2
John .................8
Peter ................5
John ................2
Jake ................1
John ................4
Jake ................10

What I want to be able to do is on another sheet, get it to
automatically grab the first name on the list and total all hours in
that list for that employee. I dont care if it has to be
alphabetically sorted etc. The go down the list and gra the next name
and total hours. Becasue of the way I have done my list the employee
names and hours could be anywhere up and down the list.

The result would be something like:
John 14
Peter 5
Jake 11

I imagine I would have quite a few lines of names and hours as we
operate 24/7 with 3 shifts and around 30 employees who may make work
muliple shifts.

Any help would be greatly appreciated.

Thanks

Dwayne


--
Dwayne
------------------------------------------------------------------------
Dwayne's Profile: http://www.excelforum.com/member.php...fo&userid=5484
View this thread: http://www.excelforum.com/showthread...hreadid=502681

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BSantos
 
Posts: n/a
Default Lookup or Summing problem

Highlight the data and do a pivot table. in the layout you should have

row = Name column
data = hours

This will take all of the same names and add the hours up for each name. You
can do this also if you had dates in another column and add that to the row.

row = name
row = date
data = hours

You will see all the dates that person worked and it will give you a
grandtotal for that person.

Hope that helps! Bonnie



"Dwayne" wrote:


Sorry if my topic is confusing but I am confused myself.

What i have is a list of names and hours worked in 2 cols.
Col1.................Col2
John .................8
Peter ................5
John ................2
Jake ................1
John ................4
Jake ................10

What I want to be able to do is on another sheet, get it to
automatically grab the first name on the list and total all hours in
that list for that employee. I dont care if it has to be
alphabetically sorted etc. The go down the list and gra the next name
and total hours. Becasue of the way I have done my list the employee
names and hours could be anywhere up and down the list.

The result would be something like:
John 14
Peter 5
Jake 11

I imagine I would have quite a few lines of names and hours as we
operate 24/7 with 3 shifts and around 30 employees who may make work
muliple shifts.

Any help would be greatly appreciated.

Thanks

Dwayne


--
Dwayne
------------------------------------------------------------------------
Dwayne's Profile: http://www.excelforum.com/member.php...fo&userid=5484
View this thread: http://www.excelforum.com/showthread...hreadid=502681


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
Range Lookup - Problem Jose M via OfficeKB.com Excel Worksheet Functions 0 August 9th 05 04:00 AM
Range Lookup - Problem Jose M via OfficeKB.com Excel Worksheet Functions 0 August 9th 05 04:00 AM
Range Lookup - Problem Jose M via OfficeKB.com Excel Worksheet Functions 0 August 9th 05 03:59 AM
Lookup Problem Scott Excel Worksheet Functions 0 April 18th 05 08:07 PM
Lookup Problem Annette Excel Worksheet Functions 1 April 16th 05 03:10 AM


All times are GMT +1. The time now is 11:02 AM.

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"