Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel avanced

ResolvedVersion 2003

Jinyan has attended:
Access Introduction course
Excel VBA Intro Intermediate course
Excel Advanced course
Access Intermediate course
Access Advanced course
Project Management - Framework & Processes course

Excel Avanced

How to make a dynamic name range in a worksheet

RE: Excel Avanced

Hi Jinyan

Thanks for your question

If you go to insert-Name and then define. Click new and give the range a meaningful name. In the refers to box type

=OFFSET($A$2,0,0,COUNTA($A$2:$A$200),1)

Here the named range starts at Range A2 and then nests the countA function within the offset function. This counts down from A1 to the last cell in the column that contains a value

I enclose an example worksheet

Hope this helps

Regards

Stephen

Attached files...

Dynamic Named range.xls

Will be marked as resolved in 5 days

Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.

Excel tip:

Change the Value of a Constant

When using a named constant in a worksheet, you may wish to change the value of that constant.

From the 'Insert' menu, select 'Name', then select 'Define'.

In the 'Define Name' dialog box, select the constant that you want to change.
Change the value in the 'Refers To' box.
Click OK.

Wherever that named constant has been used it will now use its new value.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.