Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Robert
 
Posts: n/a
Default number of tasks within an hour

I need a formula that does this.
Between 8:00 AM and 9:00 AM John Smith completed XX tasks. Between 9:00 AM
and 10:00 AM he did XX tasks. The information i have looks like this:
Col A Col B
John Smith 2/03/2006 9:12 AM
John Smith 2/03/2006 9:47 AM
Jane Doe 2/03/2006 9:22 AM
John Smith 2/03/2006 10:01 AM

Final result should be like this:

Employee 8 - 9am 9-10am 10-11am

John Smith 2 4 4
Jane Doe 2 3 4

Any thoughts? I can not access other web sites due to company security so
no links please.
Thanks
--
Robert
  #2   Report Post  
Posted to microsoft.public.excel.misc
BekkiM
 
Posts: n/a
Default number of tasks within an hour

Did my suggestion yesterday not work? Because you should be able to add Col
C with this formula: =HOUR(B1) which will give you the hour the task was
finished.

Then, on a separate page, insert a Pivot Table (Data | Pivot Table). Your
data range will be columns A through C on Sheet1. In your layout view
(PivotTable Step 3 of 3 | Layout), drag the Employee column into the "Row"
area, drag the "Hour" column into the "Column" area, and drag the "Hour"
column into the "Data" area (where it will default to "Count", which is what
you want). Select "Ok", then select "Finish" and you'll have a chart that
does exactly what you want.

If you want fancy headings (like "8-9am"), format Col D on Sheet1 with:
=C2&"-"&(C2+1) and use that "Time" column in your Pivot Table instead of the
Hour column.

Let me know if this isn't enough information.

"Robert" wrote:

I need a formula that does this.
Between 8:00 AM and 9:00 AM John Smith completed XX tasks. Between 9:00 AM
and 10:00 AM he did XX tasks. The information i have looks like this:
Col A Col B
John Smith 2/03/2006 9:12 AM
John Smith 2/03/2006 9:47 AM
Jane Doe 2/03/2006 9:22 AM
John Smith 2/03/2006 10:01 AM

Final result should be like this:

Employee 8 - 9am 9-10am 10-11am

John Smith 2 4 4
Jane Doe 2 3 4

Any thoughts? I can not access other web sites due to company security so
no links please.
Thanks
--
Robert

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
How do I show number of resources by hour in excel? Chris Baker Excel Worksheet Functions 4 October 30th 05 10:51 PM
how do i operate on the decimal portion of a number maintchief New Users to Excel 3 October 24th 05 06:43 PM
number format Ivan Excel Discussion (Misc queries) 2 October 14th 05 02:08 PM
vlookup with more than number to be retrieved martelie Excel Worksheet Functions 3 October 14th 05 12:50 PM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM


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