Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi all mighty sumproduct experts. What ovious thing do I have wrong? G1 is the start date G2 the end date I wish to count all the jobs "Logged" between these dates Col B holds the date the job was logged. =SUMPRODUCT((B12:B100=G1),(B12:B100<=G2),H12:H100 ="Logged") currently does not work thanks john |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this...
=SUMPRODUCT(--(B12:B100=G1),--(B12:B100<=G2),--(H12:H100="Logged")) -- HTH... Jim Thomlinson "John in Wembley" wrote: Hi all mighty sumproduct experts. What ovious thing do I have wrong? G1 is the start date G2 the end date I wish to count all the jobs "Logged" between these dates Col B holds the date the job was logged. =SUMPRODUCT((B12:B100=G1),(B12:B100<=G2),H12:H100 ="Logged") currently does not work thanks john |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Or this...
=SUMPRODUCT((B12:B100=G1)*(B12:B100<=G2)*(H12:H10 0="Logged")) "Jim Thomlinson" wrote: Try this... =SUMPRODUCT(--(B12:B100=G1),--(B12:B100<=G2),--(H12:H100="Logged")) -- HTH... Jim Thomlinson "John in Wembley" wrote: Hi all mighty sumproduct experts. What ovious thing do I have wrong? G1 is the start date G2 the end date I wish to count all the jobs "Logged" between these dates Col B holds the date the job was logged. =SUMPRODUCT((B12:B100=G1),(B12:B100<=G2),H12:H100 ="Logged") currently does not work thanks john |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi John,
try it like this: =SUMPRODUCT(--(B12:B100=G1),--(B12:B100<=G2),--(H12:H100="Logged")) Personally, I prefer it like this: =SUMPRODUCT((B12:B100=G1)*(B12:B100<=G2)*(H12:H10 0="Logged")) Hope this helps. Pete On Feb 12, 5:13*pm, John in Wembley wrote: Hi all mighty sumproduct experts. What ovious thing do I have wrong? G1 is the start date G2 the end date I wish to count all the jobs "Logged" between these dates Col B holds the date the job was logged. =SUMPRODUCT((B12:B100=G1),(B12:B100<=G2),H12:H100 ="Logged") currently does not work thanks john |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi John
You need to coerce the True/False result for each of those tests to 1's and 0's Either use =SUMPRODUCT(--(B12:B100=G1),--(B12:B100<=G2),--(H12:H100="Logged")) or =SUMPRODUCT((B12:B100=G1)*(B12:B100<=G2)*(H12:H10 0="Logged")) -- Regards Roger Govier "John in Wembley" wrote in message ... Hi all mighty sumproduct experts. What ovious thing do I have wrong? G1 is the start date G2 the end date I wish to count all the jobs "Logged" between these dates Col B holds the date the job was logged. =SUMPRODUCT((B12:B100=G1),(B12:B100<=G2),H12:H100 ="Logged") currently does not work thanks john |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct question | Excel Discussion (Misc queries) | |||
sumproduct question | Excel Discussion (Misc queries) | |||
Sumproduct question | Excel Worksheet Functions | |||
SUMPRODUCT QUESTION | Excel Discussion (Misc queries) | |||
sumproduct question | Excel Worksheet Functions |