Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default SUMPRODUCT Assistance

I am having difficulty wrapping my brain around this one.

I have this equation:

=SUMPRODUCT(--($B$43:$B$7577=DATE(YEAR($B$29),MONTH($B$29),DAY( $B$29)-B$31)),--($F$43:$F$7577="Open"))

The date of an activity is in B43:B7557 and values of Open are in F43:F7577
The date of the "report" is in B29.

In B31, I have 30 (as in 30 days)

What I want to do is count the number of activities that are over 30 days
late, ... over 60 days late (from C31), over 90 days late (from D31) etc.
What do I need to change.

Thanks,
Barb Reinhardt
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMPRODUCT Assistance


Thing this works

=SUMPRODUCT(--($B$43:$B$7577B31)*(--($F$43:$F$7577<"")))

assumes B31 = B29 + 30


VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=566149

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default SUMPRODUCT Assistance


Try:

=SUMPRODUCT(--($B$43:$B$7577<=$B$29-B$31),--($B$43:$B$7577$B$29-C$31),--($F$43:$F$7577="Open"))

for late by =30 and < 60

=SUMPRODUCT(--($B$43:$B$7577<=$B$29-C$31),--($B$43:$B$7577$B$29-D$31),--($F$43:$F$7577="Open"))

for late by =60 and < 90

=SUMPRODUCT(--($B$43:$B$7577<=$B$29-D$31),--($F$43:$F$7577="Open"))

for late by 90

HTH

"Barb Reinhardt" wrote:

I am having difficulty wrapping my brain around this one.

I have this equation:

=SUMPRODUCT(--($B$43:$B$7577=DATE(YEAR($B$29),MONTH($B$29),DAY( $B$29)-B$31)),--($F$43:$F$7577="Open"))

The date of an activity is in B43:B7557 and values of Open are in F43:F7577
The date of the "report" is in B29.

In B31, I have 30 (as in 30 days)

What I want to do is count the number of activities that are over 30 days
late, ... over 60 days late (from C31), over 90 days late (from D31) etc.
What do I need to change.

Thanks,
Barb Reinhardt

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 95
Default SUMPRODUCT Assistance

The sintaxis of the formula is correct, you just need to change the = to <,
if you want the dates on that columns that are open more than 30/60/90 days
before your current date.
=SUMPRODUCT(--($B$43:$B$7577<DATE(YEAR($B$29),MONTH($B$29),DAY($ B$29)-B$31)),--($F$43:$F$7577="Open"))

Hope this helps,
Miguel.

"Barb Reinhardt" wrote:

I am having difficulty wrapping my brain around this one.

I have this equation:

=SUMPRODUCT(--($B$43:$B$7577=DATE(YEAR($B$29),MONTH($B$29),DAY( $B$29)-B$31)),--($F$43:$F$7577="Open"))

The date of an activity is in B43:B7557 and values of Open are in F43:F7577
The date of the "report" is in B29.

In B31, I have 30 (as in 30 days)

What I want to do is count the number of activities that are over 30 days
late, ... over 60 days late (from C31), over 90 days late (from D31) etc.
What do I need to change.

Thanks,
Barb Reinhardt

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
Adding "OR" to a Sumproduct Formula Duke Carey Excel Worksheet Functions 0 March 21st 06 06:41 PM
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 08:42 PM.

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"