6 Methods to Paste Range Names in Excel

While dealing with large spreadsheets, it becomes necessary to name the ranges in Excel first. Additionally, you can track and organize your data in an Excel sheet. Sometimes you have to quickly paste the range names in another location to make your work fast. In this article, you will learn what is named range and the methods to paste range names in Excel in 6 different ways.

What is Named Range in Excel?

The named range is a useful way to track your data especially while applying a formula in Excel. In this case, you have to select a range and assign a name. Then, if you want to apply a formula, or make any change, you don’t have to change in all cells manually. If you make a change, Excel will update it over the entire range.

Here is a dataset of different ranges.

Created dataset to Demonstrate pasting Named Range in Excel

If you want to name the range B2:B10, follow the instructions below:

  1. Select the Range B2:B10.
  2. Then, go to Formulas.
  3. Next, click on Define Names.
    Afterward, the New Name window will appear.
  4. Now, enter a name for your range and click OK.Selected range to paste Named Range Now, if you click on the dropdown of the Name Box, you will see the name you applied to a range.

Displaying all the Named Ranges in the Name Box

How to Paste Range Names inside a Formula in Excel

To paste range names in Excel, you can follow the below-mentioned instructions.

  1. Firstly, select cell B12 and write the function.
    Here I have used MAX to apply formulas.
  2. Then, go to the Formulas tab.
  3. Next, click the dropdown of Use in Formula and select Paste Names.
    Paste Names of Named Range inside a formula After that, the Paste Name dialog box will appear.
  4. Now, select Sales and click OK.
    Finally, you have got the maximum price by using the paste name of the range.Got result by using Named Range in a Formula

How to Paste Range Names in Excel Using Paste Name Options

If you need to paste a range of data, you can simply use the Paste Names option. Follow the steps to paste range names in Excel:

  1. At first, insert a column to paste the range of data.Inserted a column to paste Named Ranges in Excel
  2. Then, select cell E2. Next, go to the Formulas tab and click the dropdown on the Use in Formula. Now, choose Paste Names.Paste Named Ranges by using Paste Name Options in Excel
  3. Select Date in the Paste Name dialog box and click OK.Showing Paste Name List in Excel to paste Range Names After that, you will see this interface.
  4. Now, press ENTER.Pasted the Range name in a cell in Excel You have pasted the range of dates successfully. Keep in mind to format the cells if you are pasting the dates.Got the list of dates using Paste Name Options in Excel

How to Paste Range Names in Excel Applying the Paste List Option

If you want to paste the list of these ranges, then you just choose the option Paste List from Use in Formula dropdown.

Here’s how to do it in easy steps:

  1. Select cell A13.
  2. Now, go to Formulas. Click the dropdown in Use in Formula. Choose Paste Names.Paste the list of Range Names with location by Paste List
  3. Now, select Paste List on the Paste Name dialog box. Don’t merge any cells. Otherwise, it won’t show the desired output.Click Paste List to paste the list of Range Names Now you can see the list of ranges with the location of the sheets.List of Ranges with location using Paste List in Excel

How to Paste Range Names in Excel Using Shortcut Keys

In Office 365, when you include a range within a formula, it should be automatically replaced with its corresponding range name if one exists. However, if this automatic transition from a range to a range name does not occur, you can manually do it by following the steps below:

  1. Select cell E11 and enter the function.
  2. You can see Define Name has been greyed out. To paste the range name, press the F3 key to bring the list of all named ranges.Greyed out Define Name while entering a formula to paste the range names
  3. Select your required range name from the list and hit OK.Using shortcut key F3 to show the range names in Excel
  4. Your intended range within your formula should be replaced with the corresponding range name instantly.
  5. Just hit ENTER to proceed.Showing the range after pasting the range name You have successfully replaced your range with a named range inside your formula.Result of pasting range names inside a formula in Excel

How to Paste Range Names in Excel Using Formula Assistance

Another way to paste range names in Excel is formula assistance. The steps are below:

  1. Select cell E12.
  2. Apply a formula. Here, I have inserted the SUM function.
  3. Start to type the range name and there will be a list of suggestions. Now, double-click on the range name and press ENTER.Pasting range names inside a formula using formula assistance
  4. Here is the output it shows after using formula assistance to paste range names.Got output by pasting range names using formula assistance

How to Paste Range Names in Excel Using VBA Code

You can use a VBA code as an alternate method of pasting range names in Excel.

Now, go through the directions below:

  1. Select a range to name the range. Then go to Formulas. Click on Define Name. Now, insert a name in the New Name dialog box and click OK.Creating Named Range for a specified range to paste range names
  2. Then, go to the sheet’s name and right-click on that. Now, select View Code to open the Visual Basic Editor.Click View Code to open Visual Basic Editor in Excel
  3. Click on Insert > Module in Visual Basic Editor.Select Insert and Module to VBA code paste range names
  4. Copy the code below and paste it.
    Make sure, you have edited the sheet’s name and range name according to your worksheet.

    Sub PasteRangeValuesAndFormats()
        On Error Resume Next
        ' Copy values and formats from "Order_Type" range
        Worksheets("Method#5 VBA Code").Range("Order_Type").Copy 
        ' Check if an error occurred while copying
        If Err.Number <> 0 Then
            MsgBox "Error copying the range. Make sure the named range 'Order_Type' exists on 'Method#5 VBA Code'."
            Exit Sub
        End If
        ' Paste values and formats to cell E2
        Worksheets("Method#5 VBA Code").Range("E2").PasteSpecial Paste:=xlPasteValues
        Worksheets("Method#5 VBA Code").Range("E2").PasteSpecial Paste:=xlPasteFormats
        ' Clear the clipboard
        Application.CutCopyMode = False
    End Sub
    

    Copy and Paste the VBA code to paste range names in Excel

  5. Now, return to the worksheet. Then, press ALT+F8 to open the Macros dialog box and click Run.Run the VBA code to paste range names in Excel Now, look at the image. I have pasted the range names in column E successfully.Pasted range names by using VBA code in Excel

Keyboard Shortcuts Related to Range Names in Excel

While working with pasting range names, you have to use some shortcuts in some cases.

  • To obtain the list of range names, press F3.
  • To create a New Name while using Name Manager, press CTRL+F3.
  • To create a range name from cell selection, press CTRL+SHIFT+F3.

Conclusion

To sum up, I have described 6 methods to paste range names in Excel. All methods include the Define Name and Use in Formula commands under the Formulas tab. If you have no idea what the named range is and how to name ranges in Excel, I have also added the guide to name ranges for your reference. Now, your work will be easier to apply formulas in a range of cells by pasting the range names. You can also solve the issues regarding this problem by following this guide.

Frequently Asked Questions

What is Paste Special in Excel?

Paste Special in Excel is a feature that allows users to control and customize the way data is pasted from the clipboard into a selected range. It provides various options beyond the standard paste, enabling users to selectively paste specific aspects of the copied data.

Can you paste cells without the formulas?

To paste cells without formulas in Excel, use the Paste Special feature. Here’s how:

  1. Copy the cells or range that you want to paste.
  2. Choose the destination range where you want to paste the content.
  3. Right-click on the selected destination range.
  4. From the context menu, choose Paste Special.
  5. In the Paste Special dialog box, select the Values option.
  6. Click the OK button to paste only the values into the selected range.

This method pastes the content without including the underlying formulas. It’s a useful technique when you want to retain the data without transferring the calculations from the source range.

How do you paste in Excel without formulas?

To paste in Excel without formulas and only paste the values, follow these steps:

  1. Copy the data that you want to paste.
  2. Select the destination range where you want to paste the values.
  3. Right-click on the selected destination range.
  4. Choose Paste Special from the context menu.
  5. In the Paste Special dialog box, choose the Values option.
  6. Click the OK button to paste only the values into the selected range.

This method pastes the content without bringing along the underlying formulas. It is useful when you want to retain the data but not the calculations from the source range.

Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *