Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a column of dates (e.g.,5/25/05, 5/26/05) that are used to record when a complaint comes in. I would like to determine the number of complaints each week (Sunday thru Saturday). When there are no complaints in a week, I would like to enter zero. So, I end up with a columns: Week Starting Num of Complaints Is there an easy way to do this? I can add the week number to a couple, add up the week numbers, but I don't get the weeks when there are no complaints. Thanks, Bill |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=countif(A:A,"=5/22/05")-countif(A:A,"5/28/05")
-- Regards, Tom Ogilvy "Bill" wrote in message ink.net... Hello, I have a column of dates (e.g.,5/25/05, 5/26/05) that are used to record when a complaint comes in. I would like to determine the number of complaints each week (Sunday thru Saturday). When there are no complaints in a week, I would like to enter zero. So, I end up with a columns: Week Starting Num of Complaints Is there an easy way to do this? I can add the week number to a couple, add up the week numbers, but I don't get the weeks when there are no complaints. Thanks, Bill |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Put the dates in B1, C1, etc
In B2, enter =SUMPRODUCT(--($A$1:$A$1000=B1),--($A$1:$A$1000<B1+7)) -- HTH RP (remove nothere from the email address if mailing direct) "Bill" wrote in message ink.net... Hello, I have a column of dates (e.g.,5/25/05, 5/26/05) that are used to record when a complaint comes in. I would like to determine the number of complaints each week (Sunday thru Saturday). When there are no complaints in a week, I would like to enter zero. So, I end up with a columns: Week Starting Num of Complaints Is there an easy way to do this? I can add the week number to a couple, add up the week numbers, but I don't get the weeks when there are no complaints. Thanks, Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linking computer dates (time) to spreadsheet dates that have formu | Excel Worksheet Functions | |||
Stop dates from showing as numbers - when formated as dates | Excel Discussion (Misc queries) | |||
Toggle a range of Julian dates to Gregorian Dates and Back | Excel Programming | |||
Identifying unique dates in a range of cells containing dates... | Excel Discussion (Misc queries) | |||
Charting data against dates where dates are not at fixed intervals | Charts and Charting in Excel |