Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default dynamic ranges with sumproduct

trying to use sumproduct fuction with dynamic ranges,
Example "column a" has problem as heading and "column j" has status as the
heading,
I put in a formula of somthing like
=sumproduct((problem="test")*(status="ok")) which should be the same as
putting in
=sumproduct((a1:a200="test")*(j1:j200="ok")) but all I'm getting is a #NUM!
error, is it possiable to use the dynamic range name with sumproduct.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default dynamic ranges with sumproduct

Hi

Have you defined the dynamic ranges?
Just typing the column heading does not act as a dynamic range.

Try
InsertNameDefineName problem Refers to
=OFFSET($A$2,0,0,COUNTA($A:$A)-1)
Repeat using status as Name and column J instead on column A
--
Regards

Roger Govier


"Dreamstar_1961" wrote in
message ...
trying to use sumproduct fuction with dynamic ranges,
Example "column a" has problem as heading and "column j" has status as
the
heading,
I put in a formula of somthing like
=sumproduct((problem="test")*(status="ok")) which should be the same
as
putting in
=sumproduct((a1:a200="test")*(j1:j200="ok")) but all I'm getting is a
#NUM!
error, is it possiable to use the dynamic range name with sumproduct.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default dynamic ranges with sumproduct

Well that worked thanks

"Roger Govier" wrote:

Hi

Have you defined the dynamic ranges?
Just typing the column heading does not act as a dynamic range.

Try
InsertNameDefineName problem Refers to
=OFFSET($A$2,0,0,COUNTA($A:$A)-1)
Repeat using status as Name and column J instead on column A
--
Regards

Roger Govier


"Dreamstar_1961" wrote in
message ...
trying to use sumproduct fuction with dynamic ranges,
Example "column a" has problem as heading and "column j" has status as
the
heading,
I put in a formula of somthing like
=sumproduct((problem="test")*(status="ok")) which should be the same
as
putting in
=sumproduct((a1:a200="test")*(j1:j200="ok")) but all I'm getting is a
#NUM!
error, is it possiable to use the dynamic range name with sumproduct.




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
Multiple dynamic ranges in a Sumproduct mmartens12 via OfficeKB.com Excel Worksheet Functions 3 August 3rd 06 01:56 AM
Multiple dynamic ranges in a Sumproduct mmartens12 via OfficeKB.com Excel Worksheet Functions 1 August 2nd 06 04:25 AM
Need help with sumproduct & dynamic ranges bill_s1416 Excel Worksheet Functions 1 March 19th 06 03:36 AM
Need help with sumproduct and dynamic ranges Bill_S Excel Worksheet Functions 2 March 19th 06 01:19 AM
Dynamic Formulas with Dynamic Ranges Ralph Howarth Excel Worksheet Functions 5 January 21st 05 08:44 AM


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