Dan The Man
New Member
- Joined
- Apr 3, 2006
- Messages
- 14
Is it possible to use dynamic ranges in conjunction with array formulas? I have been trying and I can get it to work.
What is wrong with the following simplified example (if anything at all)?
Define the ranges
'RefRange' as =OFFSET($A$1,0,0,COUNTA($A:$A),1) and
'DataRange' as =OFFSET($B$1,0,0,COUNTA($A:$A),1)
and then use array formula as follows
{=SUM((RefRange=1)*(DataRange))}
I have also used tried the following
{=SUM((OFFSET($A$1,0,0,COUNTA($A:$A),1)=1)*(OFFSET($B$1,0,0,COUNTA($A:$A),1)))}
Conclusion: Is doesn't work!
The odds are that I’m trying to do something that's impossible? The problem is I don't have a conclusive answer.
I have a massive collection of array formulas and I am trying to reduce calculation times, if only I could I get the above to work, life would be some much easier.
And before anyone tries to answer, I WILL EVENTUALY USE ALL ROWS to form the source data, hence me trying to use dynamics ranges.
Help! If Possible.
Stressed Excel User
What is wrong with the following simplified example (if anything at all)?
Define the ranges
'RefRange' as =OFFSET($A$1,0,0,COUNTA($A:$A),1) and
'DataRange' as =OFFSET($B$1,0,0,COUNTA($A:$A),1)
and then use array formula as follows
{=SUM((RefRange=1)*(DataRange))}
I have also used tried the following
{=SUM((OFFSET($A$1,0,0,COUNTA($A:$A),1)=1)*(OFFSET($B$1,0,0,COUNTA($A:$A),1)))}
Conclusion: Is doesn't work!
The odds are that I’m trying to do something that's impossible? The problem is I don't have a conclusive answer.
I have a massive collection of array formulas and I am trying to reduce calculation times, if only I could I get the above to work, life would be some much easier.
And before anyone tries to answer, I WILL EVENTUALY USE ALL ROWS to form the source data, hence me trying to use dynamics ranges.
Help! If Possible.
Stressed Excel User