Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have a database which gives me the total calls taken by different executives in a day and also the time at which each particular call was recorded eg. 7:53:35 PM i need to find a count of the calls taken by each in every hour . ie hourly call breakup .. eg. Time Slab Exec A Exec B Exec C ---------------------------------------------------------- Between 8 to 9 AM 10 8 5 Between 9 to 10 AM 8 11 12 i want to do this in Excel 97'. How can I get this using the countif function Please revert asap Warm regards, Rajesh *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rajesh,
Here's one formula;a for between 7 & 8 for Exec A =SUMPRODUCT(($A$1:$A$20=TIME(7,0,0))*($A$1:$A$20< TIME(8,0,0))*($B$1:$B$20=" A")) -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Rajesh Sharma" wrote in message ... Hi all, I have a database which gives me the total calls taken by different executives in a day and also the time at which each particular call was recorded eg. 7:53:35 PM i need to find a count of the calls taken by each in every hour . ie hourly call breakup .. eg. Time Slab Exec A Exec B Exec C ---------------------------------------------------------- Between 8 to 9 AM 10 8 5 Between 9 to 10 AM 8 11 12 i want to do this in Excel 97'. How can I get this using the countif function Please revert asap Warm regards, Rajesh *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
this can be easily done in one step using a pivot table. select your data,
then go Data=Pivot Table. Have the executives ID/Name as your column field and the time as your row field. Put Exec in the data area and it will default to count of Excel. then finish up (if you have xl2000 or later, this screen in on the last dialog, under layout button). Now click in the list of time, right click and select group and outline. For group, choose just hour and set the start to 0:00, clear end. This should give you what you want. -- Regards, Tom Ogilvy "Rajesh Sharma" wrote in message ... Hi all, I have a database which gives me the total calls taken by different executives in a day and also the time at which each particular call was recorded eg. 7:53:35 PM i need to find a count of the calls taken by each in every hour . ie hourly call breakup .. eg. Time Slab Exec A Exec B Exec C ---------------------------------------------------------- Between 8 to 9 AM 10 8 5 Between 9 to 10 AM 8 11 12 i want to do this in Excel 97'. How can I get this using the countif function Please revert asap Warm regards, Rajesh *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanx Tom,
i got better results in Pivot Table than I cud ever get with countif . I will implement it rite away, In case I wish to generate a weekly report, wat else do I add for Datewise, hourly call breakup. Warm regards, Rajesh *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you have dates and times in one column, you can group on weeks and hours
I believe. If the dates are in a separate column, then group each of the columns separately. -- Regards, Tom Ogilvy "Rajesh Sharma" wrote in message ... Thanx Tom, i got better results in Pivot Table than I cud ever get with countif . I will implement it rite away, In case I wish to generate a weekly report, wat else do I add for Datewise, hourly call breakup. Warm regards, Rajesh *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple field count function use | Excel Worksheet Functions | |||
New date based on one date field minus minutes in another field | Excel Discussion (Misc queries) | |||
Linked date field in worksheet defaults a blank field as 1/0/1900 | Excel Worksheet Functions | |||
Converting a date field into a month-year only field | Excel Discussion (Misc queries) | |||
How to Join/concatenate a date field with a time field in Excel? | Excel Discussion (Misc queries) |