Dynamic Range Problems

geospatial

Active Member
Joined
Sep 2, 2008
Messages
290
The issue is that one of my dynamic ranges worked fine using the formula =offset(Master!$A$1,0,0,counta(Master!$A:$A),1). Then I created another dynamic range on column B with =offset(Master!$B$1,0,0,counta(Master!$B:$B),1) and while it does select a lot of data it doesnt select the entire column. Currently leaving off around 500 cells in that column. There is no empty or hidden cells.

Not sure why its doing this.

Also another question would be how to redo the abover formula if I wanted to start in row 2 of a column instead of row 1. I know it would look like this =offset(Master!$A$2,0,0,counta(Master!$A:$A),1), but the problem I have is that it then also selects one empty cell below the last bit of data which adds in a blank for my data.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Fixed the problem with using match instead of counta. My formula now looks like =offset(Master!$A$2,0,0,match("*",Master!$A:$A,-1).
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,841
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