Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct calculation for January 09
=SUMPRODUCT(--(MONTH('2008'!B3:B2000)=1),--(YEAR(B3:B2000)=2009))
Hi all, I am using the above, but am getting #VALUE! The format the date is typed in, in the main data sheet, is "05 January 2009", but I have also tried 05/01/2009 but to no avail. Can anyone say where I am going wrong? Thanks Tina |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct calculation for January 09
Well, you've missed the sheet name from the second condition, so maybe
it should be: =SUMPRODUCT(--(MONTH('2008'!B3:B2000)=1),--(YEAR('2008'! B3:B2000)=2009)) Hope this helps. Pete On Jul 31, 11:38*am, Tina wrote: =SUMPRODUCT(--(MONTH('2008'!B3:B2000)=1),--(YEAR(B3:B2000)=2009)) Hi all, *I am using the above, but am getting #VALUE! The format the date is typed in, in the main data sheet, is "05 January 2009", but I have also tried 05/01/2009 but to no avail. *Can anyone say where I am going wrong? Thanks Tina |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct calculation for January 09
OK, sorted.... it was on a different worksheet and I forgot to reference it.
Now ok. "Tina" wrote: =SUMPRODUCT(--(MONTH('2008'!B3:B2000)=1),--(YEAR(B3:B2000)=2009)) Hi all, I am using the above, but am getting #VALUE! The format the date is typed in, in the main data sheet, is "05 January 2009", but I have also tried 05/01/2009 but to no avail. Can anyone say where I am going wrong? Thanks Tina |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct calculation for January 09
another way
=SUMPRODUCT(--('2008'!B3:B2000-DAY('2008'!B3:B2000)+1=--"2009-01-01")) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Tina" wrote in message ... =SUMPRODUCT(--(MONTH('2008'!B3:B2000)=1),--(YEAR(B3:B2000)=2009)) Hi all, I am using the above, but am getting #VALUE! The format the date is typed in, in the main data sheet, is "05 January 2009", but I have also tried 05/01/2009 but to no avail. Can anyone say where I am going wrong? Thanks Tina |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct calculation for January 09
Thanks for feeding back, Tina.
Pete On Jul 31, 11:50*am, Tina wrote: OK, sorted.... it was on a different worksheet and I forgot to reference it. * Now ok. |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct calculation for January 09
One mo
=sumproduct(--(text('2008'!b3:b2000,"yyyymm")="200901")) Tina wrote: =SUMPRODUCT(--(MONTH('2008'!B3:B2000)=1),--(YEAR(B3:B2000)=2009)) Hi all, I am using the above, but am getting #VALUE! The format the date is typed in, in the main data sheet, is "05 January 2009", but I have also tried 05/01/2009 but to no avail. Can anyone say where I am going wrong? Thanks Tina -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
January 08 is abbrecviated to 8-Jan. Help! | Excel Discussion (Misc queries) | |||
Advance Sumproduct calculation | Excel Worksheet Functions | |||
Sumproduct calculation between two workbooks | Excel Worksheet Functions | |||
January 2006 | Excel Discussion (Misc queries) | |||
returns calculation using sumproduct | Excel Worksheet Functions |