Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Each of these calculate correcting when by themselves.
=SUMPRODUCT(--(DataOrientMoYr=DATE(2009,7,1))) =SUMPRODUCT(--(DataTime="First day of employment (Time 1)")) =SUMPRODUCT(--(TEXT(DataOrientMoYr,"m/d/yyyy")="7/1/2009) But, when I combine together, I get a #Value! error. =SUMPRODUCT(--(DataTime="First day of employment (Time 1)"),--(TEXT(DataOrientMoYr,"m/d/yyyy")="7/1/2009")) Does anyone have any suggestions, I am puzzled. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Check if both named ranges are the same size, othervise you will get this error. Regards, Per On 23 Nov., 00:30, DogLover wrote: Each of these calculate correcting when by themselves. =SUMPRODUCT(--(DataOrientMoYr=DATE(2009,7,1))) =SUMPRODUCT(--(DataTime="First day of employment (Time 1)")) =SUMPRODUCT(--(TEXT(DataOrientMoYr,"m/d/yyyy")="7/1/2009) But, when I combine together, I get a #Value! error. =SUMPRODUCT(--(DataTime="First day of employment (Time 1)"),--(TEXT(DataOrientMoYr,"m/d/yyyy")="7/1/2009")) Does anyone have any suggestions, I am puzzled. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I just discovered the problem was that I changed the DataOrientMoYr range to
a smaller size for testing. Now DataOrientMoYr and DataTime are the same size and it works. "DogLover" wrote: Each of these calculate correcting when by themselves. =SUMPRODUCT(--(DataOrientMoYr=DATE(2009,7,1))) =SUMPRODUCT(--(DataTime="First day of employment (Time 1)")) =SUMPRODUCT(--(TEXT(DataOrientMoYr,"m/d/yyyy")="7/1/2009) But, when I combine together, I get a #Value! error. =SUMPRODUCT(--(DataTime="First day of employment (Time 1)"),--(TEXT(DataOrientMoYr,"m/d/yyyy")="7/1/2009")) Does anyone have any suggestions, I am puzzled. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct with multiple criteria using indirect formula | Excel Worksheet Functions | |||
Sumproduct Formula to counts multiple criteria in two columns? | Excel Worksheet Functions | |||
sumproduct formula (multiple criteria) | Excel Discussion (Misc queries) | |||
Sumproduct - formula to return data OTHER than given criteria | Excel Worksheet Functions | |||
SUMPRODUCT Formula to Count Row of data Below Matched Criteria | Excel Worksheet Functions |