Dynamic Range Question…

How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,843
Office Version
  1. 2010
Platform
  1. Windows
Rather than have all my cells in the range show a Jeanie Formula I’ve removed the formulas for C5:C34…
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
So I originally copied the formula in C4 down to C35… but only C4:C19 give a return.
<o:p> </o:p>
Looking at B23 I get a return of 35 as that MATCH must be looking at all of my formulas… Is that right when dealing with dynamic ranges? Is there a way to just have a dynamic range for my returns C4:C19 though please?
<o:p> </o:p>
Any ideas please?


Excel Workbook
BC
3List2List3
4BlackburnArsenal
5BlackpoolArsenal
6BoltonAston Villa
7ChelseaAston Villa
8ArsenalChelsea
9Aston VillaChelsea
10Birmingham CityBlackburn
11BlackburnBlackpool
12BlackpoolBolton
13BoltonChelsea
14Arsenal
15Aston Villa
16Birmingham City
17Blackburn
18Blackpool
19Bolton
20
21
22
2335
24
25
26
27
28
29
30
31
32
33
34
35 
Sheet1
#VALUE!
</td></tr></table></td></tr></table>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
This will count formula blanks (="") as text value

=MATCH(REPT("Z",255),$C:$C)

You'll have to use an array formula like
=MATCH(2,1/(C1:C1000<>""))

Note, you can't use Entire Columns C:C in array formulas
Unless in XL2007 or higher.
Even then, it's not recommended.


Hope that helps.
 
Upvote 0
Side note, in Jeanie, use the "Analyze Range".
This allows you to only show a portion of your formulas, instead of all of them.
 
Upvote 0
No, I don't really get it as I couldn't get your alternative method to work... I think what I have is working and even though my formula looks at cells that contain no value I'll stick with that... Thanks for pointing out the Jeanie thing. :)
 
Upvote 0
Define BigStr as referring to:

=REPT("z",255)

Define List2 as referring to:

=OFFSET(Sheet1!$B$4,0,0,MATCH("*",Sheet1!$B$4:INDEX(Sheet1!$B:$B,MATCH(BigStr,Sheet1!$B:$B)),-1))

Define List3 as referring to:

=OFFSET(Sheet1!$C$4,0,0,MATCH("*",Sheet1!$C$4:INDEX(Sheet1!$C:$C,MATCH(BigStr,Sheet1!$C:$C)),-1))

The * character as lookup value is justified here for the ranges in B and C are filled up
with formulas that return blanks. Note that LOOKUP/MATCH with BigStr as look up value
do not ignore formula blanks (which are seen as text).
 
Upvote 0
Aladin,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Thanks for that, I’m pleased that you’ve explained that LOOKUP/MATCH in these ranges won’t ignore formula blanks…
<o:p> </o:p>
So my understanding is, I can either live with that or use the volatile OFFSET to define my ranges. Is that the bottom line with this please?
<o:p> </o:p>
Also one last favour if I may, are you happy that your formulas which I used in post #17 in this thread http://www.mrexcel.com/forum/showthread.php?t=547849&page=2 are the most efficient way to solve the 2 columns into one column please?
 
Upvote 0
Aladin,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Thanks for that, I’m pleased that you’ve explained that LOOKUP/MATCH in these ranges won’t ignore formula blanks…


You are welcome.

<o:p></o:p>
So my understanding is, I can either live with that or use the volatile OFFSET to define my ranges. Is that the bottom line with this please?

There isn't much wrong with that. We can create similar definitions with INDEX, which will be used as reference constructor. In that role, INDEX is also volatile.

<o:p></o:p>
Also one last favour if I may, are you happy that your formulas which I used in post #17 in this thread
http://www.mrexcel.com/forum/showthread.php?t=547849&page=2 are the most efficient way to solve the 2 columns into one column please?

I'd say the formulas I forwarded in that thread are efficient...
 
Upvote 0
Brilliant... thanks Aladin, I'll stick with the formulas you showed us in the linked thread then...

One last question is you are still online...

Sunday, Ajax or Twente...
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top