Can you bulk add Named Ranges?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
2,515
Office Version
365, 2019, 2016
Platform
Windows
Hi Everyone,
I have list of about 3000 names down column A that are the names for each range,
every range needs to be "The row the names in" Columns C:Y"

is there a macro or easy way to do this without adding them all manually?

thanks

Tony
 

Some videos you may like

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
42,956
Office Version
365
Platform
Windows
Would it matter is col B was also in the named range?
 

Akuini

Well-known Member
Joined
Feb 1, 2016
Messages
2,571
Office Version
365
Platform
Windows
May I ask why do you need so many named range?
Is it for the source of data validation?
If yes then actually you can use vba and use just one named range to do the job.
 

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368
it is easy if the names and data are contiguous. best to save the file first

so, if you can temporarily put the names in column B
then select from B1:Yzz
then CTRL-SHIFT-F3
left column (ALT-L)
and return

then move back to column A the data that was temporarily in B
 

Watch MrExcel Video

Forum statistics

Threads
1,102,886
Messages
5,489,536
Members
407,697
Latest member
Lotte_4

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top