Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have the following sumproduct formula that isn't working. Can someone help
me to fix it? It's the weeknum part that I can't get to work. =SUMPRODUCT(--(IF(WEEKNUM('Raw Data'!$M$2:$M$533,2)=WEEKNUM(N2,2),'Raw Data'!$M$2:$M$533)),('Raw Data'!$K$2:$K$533)) Thanks, |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi!
Weeknum won't work on arrays. This looks like what you're trying to do: =SUMPRODUCT(--(INT((WEEKDAY(DATE(YEAR(M2:M533),1,2-2))+M2:M533-DATE(YEAR(M2:M533),1,-5))/7)=WEEKNUM(N2,2)),--(M2:M533<""),K2:K533) Biff "Barb Reinhardt" wrote in message ... I have the following sumproduct formula that isn't working. Can someone help me to fix it? It's the weeknum part that I can't get to work. =SUMPRODUCT(--(IF(WEEKNUM('Raw Data'!$M$2:$M$533,2)=WEEKNUM(N2,2),'Raw Data'!$M$2:$M$533)),('Raw Data'!$K$2:$K$533)) Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct Question | Excel Discussion (Misc queries) | |||
Sumproduct Question | Excel Discussion (Misc queries) | |||
Question about sumproduct | Excel Discussion (Misc queries) | |||
Question about sumproduct | Excel Discussion (Misc queries) | |||
sumproduct question | Excel Worksheet Functions |