Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CW CW is offline
external usenet poster
 
Posts: 54
Default SUMPRODUCT with conditions

Hi All

I have a formula which is working as follows:
=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <""))

This basically counts the numbers of values in a column against a set value.
So for me it counts the number of projects that have dates against the
'testing' phase.

I need to amend this to only count the value if the phase is currently in
progress. This would basically be if D4:D52 < Today() and E4:E52 Today().

Unfortunately I'm having great difficulty putting this in to a formula.
Could someone please assist?

Thanks
CW
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default SUMPRODUCT with conditions

Try this:

=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <TODAY())*(Data!
E4:E52TODAY()))

Hope this helps.

Pete

On Apr 28, 9:17*am, CW wrote:
Hi All

I have a formula which is working as follows:
=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <""))

This basically counts the numbers of values in a column against a set value.
*So for me it counts the number of projects that have dates against the
'testing' phase.

I need to amend this to only count the value if the phase is currently in
progress. *This would basically be if D4:D52 < Today() and E4:E52 Today().

Unfortunately I'm having great difficulty putting this in to a formula. *
Could someone please assist?

Thanks
CW


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMPRODUCT with conditions

Try the below...

=SUMPRODUCT((Data1!B4:B52="Testing")*(ISNUMBER(Dat a1!D4:D52))*(ISNUMBER(Data1!E4:E52))*(Data1!D4:D52 <=TODAY())*
(Data1!E4:E52=TODAY()))

--
Jacob (MVP - Excel)


"CW" wrote:

Hi All

I have a formula which is working as follows:
=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <""))

This basically counts the numbers of values in a column against a set value.
So for me it counts the number of projects that have dates against the
'testing' phase.

I need to amend this to only count the value if the phase is currently in
progress. This would basically be if D4:D52 < Today() and E4:E52 Today().

Unfortunately I'm having great difficulty putting this in to a formula.
Could someone please assist?

Thanks
CW

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CW CW is offline
external usenet poster
 
Posts: 54
Default SUMPRODUCT with conditions

Thanks both, both formulas do the job.



"Pete_UK" wrote:

Try this:

=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <TODAY())*(Data!
E4:E52TODAY()))

Hope this helps.

Pete

On Apr 28, 9:17 am, CW wrote:
Hi All

I have a formula which is working as follows:
=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <""))

This basically counts the numbers of values in a column against a set value.
So for me it counts the number of projects that have dates against the
'testing' phase.

I need to amend this to only count the value if the phase is currently in
progress. This would basically be if D4:D52 < Today() and E4:E52 Today().

Unfortunately I'm having great difficulty putting this in to a formula.
Could someone please assist?

Thanks
CW


.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default SUMPRODUCT with conditions

You're welcome - thanks for feeding back.

Pete

On Apr 28, 11:10*am, CW wrote:
Thanks both, both formulas do the job.



"Pete_UK" wrote:
Try this:


=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <TODAY())*(Data!
E4:E52TODAY()))


Hope this helps.


Pete


On Apr 28, 9:17 am, CW wrote:
Hi All


I have a formula which is working as follows:
=SUMPRODUCT((Data1!B4:B52="Testing")*(Data1!D4:D52 <""))


This basically counts the numbers of values in a column against a set value.
*So for me it counts the number of projects that have dates against the
'testing' phase.


I need to amend this to only count the value if the phase is currently in
progress. *This would basically be if D4:D52 < Today() and E4:E52 Today().


Unfortunately I'm having great difficulty putting this in to a formula. *
Could someone please assist?


Thanks
CW


.- Hide quoted text -


- Show quoted text -


Reply
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
Sumproduct with conditions EZ[_2_] Excel Worksheet Functions 0 December 10th 09 03:52 PM
Sumproduct with conditions JDB Excel Discussion (Misc queries) 2 March 15th 07 11:40 AM
SUMPRODUCT with conditions sahafi Excel Worksheet Functions 3 November 30th 06 10:32 PM
Conditions in sumproduct Antonio Excel Worksheet Functions 3 October 26th 06 03:18 AM
sumproduct three conditions Scire Excel Worksheet Functions 3 May 9th 06 06:22 PM


All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"