Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default Help with SumProduct

Is there a function in excel that would allow me to replace the $2000 in the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST DUE"))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help with SumProduct

You can use a dynamic range.

Are there any empty cells *within* the range I5:I2000? It looks like that
range contains numbers, are there any text entries in that range?

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
Is there a function in excel that would allow me to replace the $2000 in
the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST
DUE"))



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Help with SumProduct

Try

=SUMPRODUCT((Current_MarketList!$I$5:OFFSET($I$1,0 ,0,MATCH(1E+300,$I:$I))<$T$5)*(Current_MarketList! $K$5:OFFSET($I$1,0,2,MATCH(1E+300,$I:$I))="PAST DUE"))

Hope this helps,

Hutch

"Ayo" wrote:

Is there a function in excel that would allow me to replace the $2000 in the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST DUE"))

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default Help with SumProduct

T5 contains a date

"T. Valko" wrote:

You can use a dynamic range.

Are there any empty cells *within* the range I5:I2000? It looks like that
range contains numbers, are there any text entries in that range?

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
Is there a function in excel that would allow me to replace the $2000 in
the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST
DUE"))



.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help with SumProduct

T5 contains a date

Ok, but that didn't answer my questions.

So, try this...

Create these named ranges

InsertNameDefine
Name: Dates
Refers to:

=Current_MarketList!$I$5:INDEX(Current_MarketList! $I$5:$I$2000,MATCH(1E100,Current_MarketList!$I$5:$ I$2000))

Adjust for a reasonable end of range $I$2000

Name: Status
Refers to:

=Current_MarketList!$K$5:INDEX(Current_MarketList! $K$5:$K$2000,MATCH(1E100,Current_MarketList!$I$5:$ I$2000))

Adjust for a reasonable end of ranges $K$2000 and $I$2000

OK out

Then:

=SUMPRODUCT(--(Dates<$T$5),--(Status="PAST DUE"))

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
T5 contains a date

"T. Valko" wrote:

You can use a dynamic range.

Are there any empty cells *within* the range I5:I2000? It looks like that
range contains numbers, are there any text entries in that range?

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
Is there a function in excel that would allow me to replace the $2000
in
the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST
DUE"))



.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default Help with SumProduct

What doesn't the 1E100 do in the formula?

"T. Valko" wrote:

T5 contains a date


Ok, but that didn't answer my questions.

So, try this...

Create these named ranges

InsertNameDefine
Name: Dates
Refers to:

=Current_MarketList!$I$5:INDEX(Current_MarketList! $I$5:$I$2000,MATCH(1E100,Current_MarketList!$I$5:$ I$2000))

Adjust for a reasonable end of range $I$2000

Name: Status
Refers to:

=Current_MarketList!$K$5:INDEX(Current_MarketList! $K$5:$K$2000,MATCH(1E100,Current_MarketList!$I$5:$ I$2000))

Adjust for a reasonable end of ranges $K$2000 and $I$2000

OK out

Then:

=SUMPRODUCT(--(Dates<$T$5),--(Status="PAST DUE"))

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
T5 contains a date

"T. Valko" wrote:

You can use a dynamic range.

Are there any empty cells *within* the range I5:I2000? It looks like that
range contains numbers, are there any text entries in that range?

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
Is there a function in excel that would allow me to replace the $2000
in
the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST
DUE"))


.



.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Help with SumProduct

Hi,

Select I4:K2000 (or the entire range including more columns to the
left/right) and convert it to a List/Table (Ctrl+L) - this feature is
available Excel 2003 onwards. I have assumed row 4 has headers.

When you convert a range to a List, it becomes auto expanding. The caveat
here is that data should be entered in consecutive rows I.e. no row should
be left blank

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Ayo" wrote in message
...
Is there a function in excel that would allow me to replace the $2000 in
the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST
DUE"))


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help with SumProduct

1E100 is scientific notation for a very large number. It's used to find the
last numeric value in the range.

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
What doesn't the 1E100 do in the formula?

"T. Valko" wrote:

T5 contains a date


Ok, but that didn't answer my questions.

So, try this...

Create these named ranges

InsertNameDefine
Name: Dates
Refers to:

=Current_MarketList!$I$5:INDEX(Current_MarketList! $I$5:$I$2000,MATCH(1E100,Current_MarketList!$I$5:$ I$2000))

Adjust for a reasonable end of range $I$2000

Name: Status
Refers to:

=Current_MarketList!$K$5:INDEX(Current_MarketList! $K$5:$K$2000,MATCH(1E100,Current_MarketList!$I$5:$ I$2000))

Adjust for a reasonable end of ranges $K$2000 and $I$2000

OK out

Then:

=SUMPRODUCT(--(Dates<$T$5),--(Status="PAST DUE"))

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
T5 contains a date

"T. Valko" wrote:

You can use a dynamic range.

Are there any empty cells *within* the range I5:I2000? It looks like
that
range contains numbers, are there any text entries in that range?

--
Biff
Microsoft Excel MVP


"Ayo" wrote in message
...
Is there a function in excel that would allow me to replace the
$2000
in
the
formular below with the last row in the column contain values.
Somthing like this, in VBA:
errorWS_lastRow = errorWS.Cells(Rows.Count, "A").End(xlUp).Row

=SUMPRODUCT((Current_MarketList!$I$5:$I$2000<$T$5) *(Current_MarketList!$K$5:$K$2000="PAST
DUE"))


.



.



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 Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Sumproduct how can i use Ravi Excel Discussion (Misc queries) 3 July 29th 08 08:19 PM
sumproduct help. angel Excel Worksheet Functions 0 July 29th 08 09:53 AM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM


All times are GMT +1. The time now is 12:56 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"