How to Paste Range Names in Excel (7 Ways)

In this article we will demonstrate some of useful ways to paste range names in Excel. Pasting range names can simplify working in Excel, particularly when making data tables or in formulas. We’ll use the following data table of Sales Records of a company to illustrate our methods.

how to paste range names in excel


Method 1 – Using the Paste List Option to Paste a List of Defined Named Ranges

Here, we have named the three ranges of the three columns (Product, Sales Person, Sales) with the names product, person, and sales respectively. Let’s paste a list of these range names. 

how to paste range names in excel

paste list

how to paste range names in excel

Steps:

  • Make two columns named Range Name and Position in which to paste the list of the named ranges and their location.

paste list

  • Select the output cell E5.
  • Go to the Formulas tab >> Defined Names >> Use in Formula >> Paste Names.

paste list

The Paste Name Wizard will pop up.

  • Select the Paste List option.

how to paste range names in excel

Result:

The list of the range names and their corresponding locations is returned.

paste list

Read More: How to Display Named Range Contents in Excel


Method 2 – Using the Paste Names Option to Paste Range Names

Here, we have two tables: the first has columns for Product and Sales, and the second has a Sales Person column. We have named the range of the Sales column as sales1. Let’s paste this range next to the Sales Person column in the second table using the Paste Names option.

how to paste range names in excel

Steps:

  • Select the output cell F4.
  • Go to the Formulas tab >> Defined Names >> Use in Formula >> Paste Names

paste names

The Paste Name Wizard will pop up.

  • Select the range name sales1.
  • Click OK.

paste names

The following formula will appear in cell F4:

=sales1
  • Press ENTER.

paste names

Result:

The range name sales1 is pasted in Column F.

how to paste range names in excel

Things to Remember

The range name pasted here will work as a Dynamic Array, and individual cells in this array cannot be edited or deleted.

Read More: How to Delete Named Range in Excel


Method 3 – Pasting a Range Name in a Formula

Suppose we have named the range in the column Sales as sales2. Let’s find the sum of sales by pasting the range name into the SUM function.

how to paste range names in excel

Steps:

  • Select the output cell D12.
  • Type the name of the function as follows:
=SUM(

using paste names in a formula

  • Go to the Formulas tab >> Defined Names >> Use in Formula >> Paste Names.

using paste names in a formula

The Paste Name Wizard will pop up.

  • Select the range name sales2.
  • Click OK.

how to paste range names in excel

The range name will appear inside the function:

=SUM(sales2
  • Press ENTER.

using paste names in a formula

Result:

The Sum of Sales is returned in cell D12.

how to paste range names in excel

Read More: How to Name a Column in Excel


Method 4 – Using the Use in Formula List to Paste a Range Name in a Formula

Now we’ll paste the range name sales3 in our formula to find the sum of sales by using the Use in Formula list.

how to paste range names in excel

Steps:

  • Select the output cell D12.
  • Type the name of the function as follows:
=SUM(
  • Go to the Formulas tab >> Defined Names group >> Use in Formula.
  • Select the range name sales3 from the options in the Use in Formula list.

use in formula list

 

The range name will appear inside the function.

=SUM(sales3
  • Press ENTER.

use in formula list

Result:

The Sum of Sales is returned in cell D12.

how to paste range names in excel


Method 5 – Using Formula Assistance to Paste Range Name in a Formula

We can also use Formula Assistance to paste the range name into our Sum of Sales formula.

how to paste range names in excel

Steps:

  • Select the output cell D12.
  • Type the name of the function as follows:
=SUM(
  • Start typing the name of the range, and a list of suggestions will appear.
  • Select the name of the range from the list and press the TAB key.

using formula assistance

The range name will appear inside the function:

=SUM(sales4
  • Press ENTER.

using formula assistance

Result:

The Sum of Sales is returned in cell D12.

how to paste range names in excel


Method 6 – Using Apply Names in a Formula

Suppose we’ve already used the SUM function to find Sum of Sales by using direct cell references instead of using the range name. We can change the cell references to the name of this range (sales5) by using the Apply Names option.

how to paste range names in excel

The formula we’ve used to find the Sum of Sales is as follows:

=SUM(D5:D11)

We will replace the range D5:D11 with its name, sales5.

using apply names

Steps:

  • Select the output cell D12.
  • Go to Formulas tab >> Defined Names group >> Define Name >> Apply Names.

using apply names

The Apply Names Wizard will pop up.

  • Select the range name sales5.
  • Click OK.

using apply names

Result:

The cell references in the formula will be replaced with the range name sales5.

how to paste range names in excel

Read More: How to Edit Named Range in Excel


Method 7 – Using VBA Code

Suppose we have named the range of the Sales column as sales6 and now we want to paste this range adjacent to the Sales Person column in the second table.

We’ll accomplish this by using a VBA code.

how to paste range names in excel

Steps:

  • Go to the Developer tab >> Visual Basic.

VBA code

The Visual Basic Editor will open.

  • Go to the Insert tab >> Module.

how to paste range names in excel

A Module will be created.

VBA code

Enter the following code in the module window:

Sub pasterng()

    Range("sales6").Copy
    [F4].PasteSpecial xlPasteValues
    [F4].PasteSpecial xlPasteFormats

End Sub

Here, sales6 is the range name. We will copy it and paste the values with their formats into the cell range F4:F11.

VBA code

  • Press F5 to run the code.

Result:

The range with name sales6 is pasted in Column F.

how to paste range names in excel


 

Download Practice Workbook


Further Reading


<< Go Back to Named Range | Excel Formulas | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Tanjima Hossain
Tanjima Hossain

TANJIMA HOSSAIN is a marine engineer who enjoys working with Excel and VBA programming. For her, programming is a handy, time-saving tool for managing data, files, and online tasks. She's skilled in Rhino3D, Maxsurf C++, MS Office, AutoCAD, and Excel & VBA, going beyond the basics. She holds a B.Sc. in Naval Architecture & Marine Engineering from BUET and is now a content developer. In this role, she creates tech-focused content centred around Excel and VBA. Apart from... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo