Is it possible to link a cell value to a name range in Excel?

Mark McInerney

Active Member
Joined
Apr 4, 2012
Messages
262
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Is there a formula that if the last cell in a range is A6545, that it can return 6545 as a value in another cell.

Secondly, if that is possible, can I link that cell value, which in the above example would be 6545 to a named range. So, the range always starts from A1 and ends in A (whatever the value is the last cell in that range), which in the above example is 6545?

Any help appreciated - TY - Mark.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Last row number of cell in a column

=LOOKUP(2,1/(A1:A10000<>""),ROW(A1:A10000))

Dunno about the second question.
 
Last edited:
Upvote 0
Hi Special,

Thanks for taking time to review - will try and let you know - Thanks again - Mark.
 
Upvote 0
If the Range is actually a Table, yes. Using the Array formula.
Code:
{=MAX(ROW(Table1))}

You can easily modify that to determine the cardinal coordinates of any Table.
 
Upvote 0
In name manager use.

Code:
=Sheet4!$A$1:INDEX(Sheet4!$A:$A,MATCH(1048577,Sheet4!$A:$A,1))

The named range will go from A1 to the last number in column A
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,387
Members
449,080
Latest member
Armadillos

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