• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Excel Named Range Shortcut

You are here: Home / Excel Formulas / Excel Named Range Shortcut
Excel Named Ranges
June 23, 2015 by Mynda Treacy

An Excel Named Range is a powerful tool and something we should all be using to make our formulas quick and easy to write and read.

I’m not going to cover the basics of creating a named range as I’ve done that elsewhere. However I want to remind you of the different types of names and then I’ll show you a clever shortcut.

Watch the Video

Subscribe YouTube

Download Workbook

Enter your email address below to download the sample workbook.

By submitting your email address you agree that we can email you our Excel newsletter.
Please enter a valid email address.

Download the Excel Workbook and follow along. Note: This is a .xlsx file please ensure your browser doesn't change the file extension on download.

Named Range Types

There are 4 types of Named Ranges you can create:

  1. For cells - for example cell C3 has the name fx_rate which you can see in the name box (to the left of the formula bar):
  2.  

    named range for a cell

    I can then use that name in a formula instead of the cell reference as you can see in the formula bar below for cell C6:

    named range for a cell used in a formula

  1. For ranges - for example I’ve given cells G4:G17 the name US_Sales:
  2.  

    name for a range of cells

    I can then use that name in a formula like I’ve done below in cell G1, which sums cells G4:G17 by referring to the named range US_Sales:

    name for a range of cells used in a formula

  1. For formulas - I can define a name for a formula, for example I could combine my fx_rate name and my US_Sales name in a new name called US_Sales_AUD like so:
  2. name for a formula

    Which will give me the sum of G4:G17 * the FX rate in cell C3, which is $1723.61. I can then reference that name in a cell instead of inserting the formula, as you can see below in cell C9:

    named formula

    I can even use that named formula in another formula! That’s a lesson for another day.

  1. For constants - instead of referencing a cell for my FX rate, I could simply assign the rate to the name like so (see ‘refers to’ field below):
  2.  

    named constants

    Then I could use it in a formula like I’ve done in cell C1 below:

    named constant used in a formula

Editing Named Ranges

If I needed to change the FX rate I’d edit the name in the Name Manager:

edit a name in the name manager

Changing the rate in the name manager like this will mean it's picked up by all formulas using that name. It's a great way to quickly make global changes.

Named Range Scope

When you define a name you can specify the scope of that name to the Workbook or a specific Worksheet.

  • Workbook scope – names with workbook level scope, also known as global workbook level, can be referenced in a formula on any worksheet in the workbook.
 
  • Worksheet scope – names with worksheet level scope, also known as local worksheet level, can only be referenced from the sheet to which the name is assigned, unless you qualify the name by preceding it with the worksheet name. For example in sheet ‘Types’ I have named cell H18: ‘total_au_sales’ with the scope limited to the sheet called ‘Types’:
  •  

    setting the scope of a name

    I can reference this name in the sheet called ‘Types’ like so:

    =total_au_sales

    But if I wanted to reference that name from another sheet I would have to qualify it with the sheet name like this:

    =Types!total_au_sales

    Which is equivalent to:

    =Types!$H$18

    Note: if your sheet names have spaces in them then you must surround them in apostrophes like this:

    ='Types of Names'!total_au_sales

Handling Duplicate Name Conflicts

  1. By default names are created with a Workbook level scope.
  2.  
  3. If you attempt to create a name that already exists in the file, Excel will handle the conflict by limiting the scope for the new name to that of the worksheet.  

    Note: you can automatically create duplicate names when you copy a sheet already containing named ranges.

  4. If you reference a name that is set up for both global workbook scope and local worksheet scope, Excel will use the local name defined for the worksheet as it takes precedence over the global name. You can override this by prefixing (qualifying) the name with the workbook name e.g.  

    =YourWorkbookName!NamedRangeName

    This will force Excel to use the name with the Workbook scope.

    Note: you cannot override the scope for the first worksheet, this will always use the local name if there is a name conflict.

Working with Named Ranges in Templates

Often when you create a template in Excel you’ll use named ranges, and if you don't you should because it's best practice.

For example in my former life as an accountant one of our jobs was to collate the global budget for the IT department. This meant gathering figures in each country’s local currency and then converting it to GBP for reporting the consolidated budget.

Each sheet would have a named range for the FX rate. We could either make each name unique and retain global scope:

names with a global scope

Tip: Don't forget another alternative is to create a named constant for each FX rate.

Or we could limit the scope of each name to that of the worksheets (called AUS, EUR, USA) and use the same name:

names with a local scope

The downside of these options is that you could end up with a massive list of names and if you only require local scope then there’s a more efficient way.

Drum roll….

Local Named Range Shortcut

Adding an exclamation mark to the beginning of your ‘refers to’ cell reference creates a name that has local scope but need only be created once. E.g.:

name shortcut

The above named range exists locally on every worksheet in the file but only once in the name manager:

name manager

With this approach I could set up the first country's sheet, then copy the whole sheet for the next country and all I would need to do is change the FX rate in cell C3 and any mentions of the country name. All formulas would remain the same.

Features of Names Defined with an Exclamation Mark

  • When you reference the name ‘fx’ in a formula it has a local scope. i.e. the exclamation mark has the same effect as qualifying the sheet name to that of the (local) sheet containing the formula.
  • However, it also means the name cannot be referenced globally, even if fully qualified.
  • And you cannot select the name from the name box, it simply doesn’t appear in the list:

    name list

  • When you copy a worksheet containing this type of name you don’t get a ‘duplicate name’ error. Happy days.

More Named Range Tricks

Create dynamic named ranges that automatically update as your data grows.

Create relative named ranges that reduce the number of names you need to define.

Thanks

I’d like to thank Jim Benton for teaching reminding about me the exclamation mark shortcut. He discovered it by accident when editing a reference to a Name. It’s not a technique documented anywhere by Microsoft (that I could find).

Nice find, Jim 🙂

UPDATE: This technique was also used in Roberto's Excel Factor entry - Dynamic Data Validation List technique, back in 2012!

Please leave a comment below if you'd like to give a shout out to Jim and say thanks.

Excel Named Ranges

More Named Ranges Posts

Relative Named Ranges

Relative Named Ranges in Excel allow you to reuse named ranges with different results dependent on the cell you use them in.
Writing Excel Formulas Efficiently

Writing Excel Formulas Efficiently

Formulas should and can be quick to write, interpret and update. That's why writing Excel formulas efficiently should be one of the first skills you master.
Excel Dynamic Named Ranges

Excel Dynamic Named Ranges

Excel Dynamic Named Ranges update automatically to include new data in the ranges referenced in your formulas, PivotTables and other Excel tools.
excel named ranges explained

Excel Named Ranges Explained

Excel named ranges can be a huge time saver. They're easy to use and even easier to read in your formulas.

More Shortcuts Posts

double click shortcuts thumbnail

Hidden Excel Double Click Shortcuts

There are a load of hidden Excel double click shortcuts that will streamline the way you work in Excel and save loads of time
dax editor keyboard shortcuts

DAX Editor Keyboard Shortcuts

Keyboard shortcuts for the DAX editor in Power BI. Learning DAX is hard enough. Make your life easier by using these keyboard shortcuts.
power query keyboard shortcuts

Power Query Keyboard Shortcuts to Save Time

Time saving keyboard shortcuts for Power Query that work in both Excel and Power BI. Download the free Shortcuts eBook

20 Pro Excel Keyboard Shortcuts

Excel Keyboard Shortcuts Used by Pros. These aren't your average CTRL+C type shortcuts. These are shortcuts that take the average user years to learn.
ALT codes for symbols and characters

ALT Codes for Symbols and Characters

How to use keyboard ALT codes to insert ASCII and Unicode symbols and characters in Excel. Download the free workbook for your reference.
essential excel shortcuts

23 Essential Excel Keyboard Shortcuts

Excel keyboard shortcuts I use all the time to help me work quickly and efficiently. How many do you use?

More Excel Formulas Posts

ai-aided excel formula editor

AI Aided Excel Formula Editor

Save time with this free AI Excel formula editor add-in that writes, edits, improves and interprets formulas for you!
top excel functions for data analysts

Top Excel Functions for Data Analysts

Must know Excel Functions for Data Analysts and what functions you don’t have to waste time learning and why.
excel advanced formula environment

Excel Advanced Formula Environment

Excel Advanced Formula Environment is a long awaited, new improved way to write, name and store Excel formulas.
Pro Excel Formula Writing Tips

Pro Excel Formula Writing Tips

Must know Excel formula writing tips, tricks and tools to make you an Excel formula ninja, including a new formula editor.
excel shaping arrays

New Array Shaping Excel Functions

The Excel Shaping Array Functions makes it easier than ever to reshape arrays and ranges using these purpose built functions
excel nested if functions what not to do

Excel IF Formulas and What Not To Do

Excel IF formulas can get out of hand when you nest too many IFs. Not only do they become unwieldy they’re difficult for anyone to understand
excel image function

Excel IMAGE Function

The Excel IMAGE Function enables you to embed images in a cell using a formula. It supports BMP, JPG/JPEG, GIF, TIFF, PNG, ICO, and WEBP files

Excel VSTACK and HSTACK Functions

New Excel VSTACK and HSTACK functions makes combining arrays of cells easy and with some clever tricks we can extend their capabilities.
identify overlapping dates and times in excel

Identify overlapping dates and times in Excel

How to identify overlapping dates and times in Excel with a formula that checks a range of cells. Works with Dates and Times.
New Excel Text Functions

TEXTSPLIT, TEXTBEFORE and TEXTAFTER Functions

TEXTAFTER, TEXTBEFORE and TEXTSPLIT are exciting new Excel Text functions. They’re fairly self-explanatory, however TEXTSPLIT has some cool features.


Category: Excel FormulasTag: named ranges, shortcuts
Previous Post:Apps for Office in ExcelApps for Office In Excel
Next Post:Excel Formsexcel userforms

Reader Interactions

Comments

  1. Jeff Weir

    May 6, 2016 at 9:30 am

    Awesome post, Mynda. This page is going to get ‘referenced’ in my book!

    Reply
    • Mynda Treacy

      May 6, 2016 at 9:43 am

      Cheers, Jeff.

      That exclamation mark trick is so clever.

      Reply
  2. MF

    July 15, 2015 at 3:29 pm

    Hi Mynda,

    Maybe it’s a bit irrelevant to the topic… but the trick of using ! in Name inspired me to do an experiment and discovered that we may use wildcards to reference to other sheets.

    Cheers,

    Reply
    • Mynda Treacy

      July 15, 2015 at 8:15 pm

      Awesome, MF! Love it 🙂

      Reply
  3. René

    June 27, 2015 at 7:10 pm

    I came across the ! trick when I tried to avoid the #REF error when you delete a row in a range with cells that point to the cell above. Create a named range in cell A2, like CellAbv, and it points to !A1. Now you can delete a row, and the reference still is intact.

    Reply
  4. Randy Madden

    June 26, 2015 at 3:57 am

    Hey Mynda,

    Excellent post today. I can’t even imagine creating an Excel model of any significant size that doesn’t use named ranges. I’ve been using them for decades. I’m probably not the first, but just in case, I thought I’d mention one of the techniques we use most frequently that you didn’t mention. It’s a variation of #2, named ranges. We often have files that use one sheet that contains all of our base data, and then use it as a database to populate reports written on top of it. As new data arrives we need the references in our reports to grow as the data grows. So we use a function to define that range – usually an Offset combined with a CountA. That way the ranges are dynamic and stay accurate without ever needing any editing. Love your blog, keep the great tips coming! Rm

    Reply
    • Mynda Treacy

      June 26, 2015 at 9:34 am

      Hi Randy,

      Glad you liked my post 🙂

      I too like OFFSET for dynamic ranges, or INDEX, but by far my favourite is Excel Tables.

      Cheers,

      Mynda

      Reply
    • Jim

      June 26, 2015 at 6:02 pm

      I used to do this all the time
      Then I discovered Tables and have never done it since

      Jim

      Reply
      • Jim

        June 26, 2015 at 7:11 pm

        OK, perhaps sometimes (interactive charts where Pivot Charts fall short spring to mind) but far less than I used to

        Reply
  5. Kevin Lehrbass

    June 25, 2015 at 8:42 am

    That was a great article Mynda! Must know for data analysts. A lot of people aren’t even aware of named ranges or don’t realize the difference between local and global.

    Reply
    • Mynda Treacy

      June 25, 2015 at 10:16 am

      Thanks, Kevin! I’m honoured you liked it 🙂

      Reply
  6. Martin Nolan

    June 25, 2015 at 2:14 am

    Hi Mynda,

    Using a named range like !A1 can be handy. However, there is a bug described by Jan Pieterse that you should watch out for that may give incorrect results when the calculation is called from VBA. In these cases he recommends using =INDIRECT(“A1”) instead.

    Martin

    Reply
    • Mynda Treacy

      June 25, 2015 at 10:15 am

      Thanks for sharing Jan Karel’s post, Martin. I was only focussing on the use of named ranges in formulas but I’m sure some will want to know about the VBA implications too.

      Cheers,

      Mynda

      Reply
  7. Viki Christensen

    June 25, 2015 at 1:55 am

    Hi Mynda! Thank you sooo much for posting this fabulous tip, and thanks to Jim for discovering it and sharing it with you and all the rest of us. What a cool feature! We really appreciate your sharing your Excel expertise, especially when you give “best practices” and provide all the real-world examples to show its relevance. Cheers!

    Reply
    • Mynda Treacy

      June 25, 2015 at 10:14 am

      Thanks for your kind words, Viki. Glad you liked Jim’s tip 🙂

      Reply
  8. Lior Sternberg

    June 25, 2015 at 12:48 am

    There is also a possibility of creating a dynamic name range using the offset counta functions.
    You can also reference a table to make it dynamic.

    Reply
    • Mynda Treacy

      June 25, 2015 at 10:13 am

      Sure can, I wrote about dynamic named ranges here.

      And using Table Structured References here.

      Mynda

      Reply
  9. Lior Sternberg

    June 24, 2015 at 11:40 pm

    Great TIP! Thanks Mynda!

    Reply
    • Mynda Treacy

      June 25, 2015 at 10:11 am

      Glad you liked it, Lior.

      Reply
  10. Bob Umlas

    June 24, 2015 at 11:06 pm

    Oh — and thanks so much for mentioning my book early in this article!

    Reply
    • Mynda Treacy

      June 25, 2015 at 10:10 am

      My pleasure, Bob. It’s a great book 🙂

      Reply
  11. Bob Umlas

    June 24, 2015 at 11:05 pm

    See page 90/tip 41 of my Excel magic book! I “discovered” this in the late ’80’s!

    Reply
  12. Jan

    June 24, 2015 at 10:37 pm

    Great tip! Thanks for sharing.

    Cheers,

    Jan

    Reply
    • Mynda Treacy

      June 24, 2015 at 10:43 pm

      Cheers, Jan. Glad you enjoyed it.

      Reply
  13. ruve1k

    June 24, 2015 at 5:40 am

    Mynda, I’m curious as to where you discovered the tip that you noted in Handling Duplicate Name Conflicts.
    “Note: you cannot override the scope for the first worksheet, this will always use the local name if there is a name conflict.”
    Thanks!

    Reply
    • Mynda Treacy

      June 24, 2015 at 8:06 am

      Hi,

      I found it on this page. Scroll down to the sub heading: ‘Defining and entering names’ and you’ll find it in the paragraph above.

      Kind regards,

      Mynda

      Reply
  14. MF

    June 23, 2015 at 1:06 pm

    Hi Mydna,
    Very interesting tip of using the !.
    btw, should the second screenshot under the section “Local Named Range Shortcut” be referring to C3?
    Cheers,

    Reply
    • Mynda Treacy

      June 23, 2015 at 1:40 pm

      Cheers, MF.

      Thanks for spotting the image error. I’ve fixed it now. I should pay you to proof read 🙂

      Mynda

      Reply
      • MF

        June 23, 2015 at 7:35 pm

        Hi Mynda,
        I’ve got the paycheck already… I’ve learnt so much from you free of charge.
        Cheers, 🙂

        Reply
        • Mynda Treacy

          June 23, 2015 at 7:37 pm

          Aw, thanks MF. That’s kind of you 🙂

          Reply

Leave a Reply Cancel reply

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

Current ye@r *

Leave this field empty

Sidebar

More results...

Featured Content

  • 10 Common Excel Mistakes to Avoid
  • Top Excel Functions for Data Analysts
  • Secrets to Building Excel Dashboards in Less Than 15 Minutes
  • Pro Excel Formula Writing Tips
  • Hidden Excel Double-Click Shortcuts
  • Top 10 Intermediate Excel Functions
  • 5 Pro Excel Dashboard Design Tips
  • 5 Excel SUM Function Tricks
  • 239 Excel Keyboard Shortcuts

100 Excel Tips and Tricks eBook

Download Free Tips & Tricks

Subscribe to Our Newsletter

Receive weekly tutorials on Excel, Power Query, Power Pivot, Power BI and More.

We respect your email privacy

Guides and Resources

  • Excel Keyboard Shortcuts
  • Excel Functions
  • Excel Formulas
  • Excel Custom Number Formatting
  • ALT Codes
  • Pivot Tables
  • VLOOKUP
  • VBA
  • Excel Userforms
  • Free Downloads

239 Excel Keyboard Shortcuts

Download Free PDF

Free Webinars

Excel Dashboards Webinar

Watch our free webinars and learn to create Interactive Dashboard Reports in Excel or Power BI

Click Here to Watch Now

mynda treacy microsoft mvpHi, I'm Mynda Treacy and I run MOTH with my husband, Phil. Through our blog, webinars, YouTube channel and courses we hope we can help you learn Excel, Power Pivot and DAX, Power Query, Power BI, and Excel Dashboards.

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk – For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.