LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Counting calls received by time range by year

I have a call sheet. In column A is the date "7/28/06" and in column B is
the time i took the call "10:40:00 am". The first part of my formula adds up
how many calls fall into 2 hour increments for a 24 hour period, and works
great. (i.e. 12-2, 2-4, ... , 12-14, 14-16, etc)

My problem is I am trying to get all the calls in 2006. I get the same
answers as the year component wasn't there.


=SUMPRODUCT((Data!$B$5:$B$500TIME(0,,))*(Data!$B$ 5:$B$500<TIME(2,,))--(YEAR
(Data!$A$5:$A$500)=YEAR($G$45)))

=SUMPRODUCT((Data!$B$5:$B$500=TIME(2,,))*(Data!$B $5:$B$500<TIME(4,,))--(YEAR
(Data!$A$5:$A$500)=YEAR($G$45)))

What am i doing wrong?

Thanks

--
Message posted via http://www.officekb.com

 
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
Lookup returns wrong value motorjobs Excel Worksheet Functions 5 June 21st 06 11:49 PM
holiday dates bucci Excel Worksheet Functions 4 June 15th 06 09:35 AM
I displaying a range in Time within a cell in Excel. Moricj Excel Discussion (Misc queries) 1 May 4th 06 01:04 PM
How do I get Excel to automatically calculate salaries actually received in financial year? Kei Excel Discussion (Misc queries) 0 March 3rd 06 10:26 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 2 May 2nd 05 08:53 AM


All times are GMT +1. The time now is 08:26 AM.

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"