Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default SUMPRODUCT - use last cell function for range

Hello,

I would like to use sumproduct function to determine how many criterias met
in 2 columns. The range of value will change daily so I'd like to use the
address(counta()) function as the close of ea range within sumproduct
function.

ie.
sumproduct((Sheet1$A$1:address(counta(A:A),1)=a1)* (Sheet1$J$1:address(count(a:a),10)="no"))

I accomplished this once many moons ago but apparently I've forgotten a step
and cannot find the original formula that accomplished. Can anyone out there
help?

Thanks, Steven
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default SUMPRODUCT - use last cell function for range

=SUMPRODUCT((Sheet1!$A$1:INDEX(Sheet1!$A:$A,COUNTA (A:A))=A1)*(Sheet1!$J$1:INDEX(Sheet1!$J:$J,COUNTA( A:A))="no"))

--
__________________________________
HTH

Bob

"SteveT" wrote in message
...
Hello,

I would like to use sumproduct function to determine how many criterias
met
in 2 columns. The range of value will change daily so I'd like to use the
address(counta()) function as the close of ea range within sumproduct
function.

ie.
sumproduct((Sheet1$A$1:address(counta(A:A),1)=a1)* (Sheet1$J$1:address(count(a:a),10)="no"))

I accomplished this once many moons ago but apparently I've forgotten a
step
and cannot find the original formula that accomplished. Can anyone out
there
help?

Thanks, Steven



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default SUMPRODUCT - use last cell function for range

Thank You Bob, that did it ! BR, Steven



"Bob Phillips" wrote:

=SUMPRODUCT((Sheet1!$A$1:INDEX(Sheet1!$A:$A,COUNTA (A:A))=A1)*(Sheet1!$J$1:INDEX(Sheet1!$J:$J,COUNTA( A:A))="no"))

--
__________________________________
HTH

Bob

"SteveT" wrote in message
...
Hello,

I would like to use sumproduct function to determine how many criterias
met
in 2 columns. The range of value will change daily so I'd like to use the
address(counta()) function as the close of ea range within sumproduct
function.

ie.
sumproduct((Sheet1$A$1:address(counta(A:A),1)=a1)* (Sheet1$J$1:address(count(a:a),10)="no"))

I accomplished this once many moons ago but apparently I've forgotten a
step
and cannot find the original formula that accomplished. Can anyone out
there
help?

Thanks, Steven




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
Value of cell to determine range in MAX Function [email protected] Excel Worksheet Functions 8 February 18th 06 06:34 PM
function problem regarding cell range chindo Excel Worksheet Functions 1 November 10th 05 03:06 AM
Function to determine if any cell in a range is contained in a given cell [email protected] Excel Worksheet Functions 3 February 7th 05 04:19 PM
function cell range limitations AXA Excel Worksheet Functions 3 January 30th 05 11:09 PM
Displaying value of specific cell within a range, with IF function...? Steve Excel Discussion (Misc queries) 1 January 14th 05 02:23 AM


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