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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,215,787
Messages
6,126,901
Members
449,348
Latest member
Rdeane

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