Using a cell reference name to define the end of a column

fla5hbak

New Member
Joined
Jan 18, 2005
Messages
12
Hi again


How would I use the define name function to specify a range from E2 to the end of the column, without being explicit in the cell reference?
The reason I ask is for a spreadsheet which is updated from an access database. Therefore, it is growing and the end point of the spreadsheet is moving.

Thanks

Tref
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Are there blank cells in column E?

If not, try defining MyRange =E2:OFFSET(E2,COUNTA(E:E)-1,0)
 
Upvote 0
Re: Using a cell reference name to define the end of a colum

You can do this with the OFFSET function. This thread touches on it, but it's buried in details.

Here's a simple example of a range that includes everything from A1 down, as long as there's contiguous data:

=OFFSET(Sheet1!A1,0,0,COUNT(Sheet1!A:A),1)
 
Upvote 0

Forum statistics

Threads
1,214,384
Messages
6,119,201
Members
448,874
Latest member
Lancelots

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