Problem creating dynamic named range

sharky12345

Well-known Member
Joined
Aug 5, 2010
Messages
3,404
Office Version
  1. 2016
Platform
  1. Windows
Can someone please show me how to convert this named range into a dynamic one?

I know it's probably fairly easy but everything I tried does not work - is it because the cells are merged?

=SETUP!$B$15:$C$24
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
OK, got this sort of working, but the cells have formulas in them and this is counting the blank cells, (those where the formula produces a blank result), if anyone can help?

=OFFSET(SETUP!$B$15,0,0,COUNTIF(SETUP!$B$15:$B$24,"<>"&""),1)
 
Upvote 0
What kind of data do you have in column B and column C?

Are you wanting a dynamic named range for the whole or also for the two ranges A:B houses?
 
Upvote 0
Morning!

It's a combination of text and numeric and not sure what you mean by the 2nd question.....

Each row is a merged cell of B:C, from B15 to C24. My 2nd post works so I guess that I could exclude the reference to column C?
 
Upvote 0
Morning!

It's a combination of text and numeric and not sure what you mean by the 2nd question.....

Each row is a merged cell of B:C, from B15 to C24. My 2nd post works so I guess that I could exclude the reference to column C?

What do you mean by merged? Don't you have date in two columns?
 
Upvote 0
The text in each row from row 15 to 24 is in a merged cell across columns B and C.
 
Upvote 0
Just one - I think I can get away without merging if I need to
 
Upvote 0
Just one - I think I can get away without merging if I need to

Ok. What follows is based on the assumption that you have formulas in the B range which returns blanks. And you don't want to include blanks that occur after the last non-blank data point in the dynamic named range...

Unmarge the data area and define Data (or anything more descriptive) in Formulas | Name Manager as referring to:

=OFFSET(SETUP!$B$15,0,0,MATCH(9.99999999999999E+307,SEARCH("?*",SETUP!$B:$B))-MIN(ROW(SETUP!$B$15))+1)
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,962
Members
449,200
Latest member
indiansth

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