LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SUMPRODUCT WEEKNUM YEAR

WEEKNUM doesn't work on arrays.

Use a helper column to get the WEEKNUM of each individual date then
reference that helper column:

=SUMPRODUCT(--(helper_column=$A1),--(YEAR(Range1)=$B1))

--
Biff
Microsoft Excel MVP


"sam" wrote in message
...
Hi everyone,

I have a problem with the above functions. Here is what I have:
A B C
1 7 2010 x

The formula I have is:
=SUMPRODUCT((WEEKNUM(Range1)=$A1)*(YEAR(Range1)=$B 1))
=x

The ranges come from another worksheet. I do not want to add a new column
in
the raw data worksheet where these ranges are.

Any help would be appreciated and thanks in advance.

Cheers,
Sam.



 
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
countif/sumproduct = criteria with weeknum ummone Excel Worksheet Functions 2 July 22nd 09 06:35 AM
Financial Year Weeknum Trevor Aiston[_2_] Excel Discussion (Misc queries) 1 May 19th 09 02:52 PM
WEEKNUM and SUMPRODUCT Doug VanDerMark Excel Worksheet Functions 4 February 18th 07 03:08 AM
Weeknum & Year AnitaML Excel Worksheet Functions 2 September 8th 05 03:10 PM
Weeknum Year by Year Compare RJB Charts and Charting in Excel 4 December 29th 04 10:33 PM


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