Horizontal Dynamic Named Range

Aviles

Board Regular
Joined
Dec 17, 2008
Messages
173
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have created a dynamic range that expands vertically in the same column.

=OFFSET(B1,0,0,1,COUNTA(1:1))

My data starts and B1 (Sheet1) and currently ends in CU1, but I keep adding new data to the first row. This formula works well in Sheet1.

My issue is that I would like to move the drop-down box with this dynamic range to another sheet (Sheet2).

When I try do do this using the same formula =OFFSET(Sheet1!B1,0,0,1,COUNTA(1:1)), it says that "The Source currently evaluates to an error. Do you want to continue?"

Can anyone tell me what I'm doing wrong here please?

Thanks.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Have you tried qualifying the counta range with the sheet name as well?
COUNTA(Sheet1!1:1)
Simply using 1:1 will mean that it is looking at the sheet with the dropdown (sheet2) so if row 1 is empty then the count will be zero, which will cause an error.
 
Upvote 0
Have you tried qualifying the counta range with the sheet name as well?
COUNTA(Sheet1!1:1)
Simply using 1:1 will mean that it is looking at the sheet with the dropdown (sheet2) so if row 1 is empty then the count will be zero, which will cause an error.

Of course, thank you! That fixed it.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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