Horizontal Dynamic Named Range

Aviles

Board Regular
Joined
Dec 17, 2008
Messages
165
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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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