In this 6 minute video I show you how to quickly name cell ranges with a powerful keyboard shortcut, and also show you how to use three math functions – SUMIF(), COUNTIF() and AVERAGEIF(). These are good building blocks that you’ll use in spreadsheet calculations and building spreadsheet models – I covered their friends SUM(), COUNT() and AVERAGEIF() in an earlier post that you can read by clicking here.
If you have any trouble watching the Youtube video embedded above, you can view the video on YouTube by clicking here.
0:58 – Named range tricks (Ctrl + F3 to bring up name manager, Ctrl + Shift + F3 to create named range from selection)
1:52 – Create unique list of names (using Excel’s Remove duplicates feature, available in Excel 2007+)
2:30 – Set up data validation drop down list, sourced from a defined named range
3:35 – SUMIF() formula (total lifetime sales)
4:21 – COUNTIF() formula (number of months with sales)
5:04 – AVERAGEIF() formulas (average monthly sales)
5:49 – Using drop down list to select new sales person, formulas automatically recalculate
Named ranges are important to understand and use because they make it easier to read formulas. Which would you prefer to read?
= SUMIF ( sales_person, criteria_1, sales )
= SUMIF ( $A$15:$A$170, $B$3, $D$15:$D$170 )
In the first formula, “sales_person”, “criteria_1” and “sales” are named ranges that point to cells on the worksheet. The nice thing about named ranges is that you can customize them and call them something that’s memorable and easy to read. You can’t use spaces in named ranges so I used an underscore when creating the named range “sales_person” – Excel doesn’t accept “sales person” as a named range.
Named ranges make it easier to read formulas.
You need to watch out though, because when you define a static named range like I did in the video you might forget to expand the range when there’s new data. There are ways to make dynamic named ranges that expand and contract when you have new data, but I’ll probably cover these in future posts. So when you see a named range it’s a good idea to check that it points to the correct cells and includes all the data that should be included.
I know that some people prefer hard cell references (like $A$15:$A$170) because they can see exactly where the cells are. With named ranges you need to use the Name Manager to figure this out.
You can bring up the Name Manager in Excel by pressing Ctrl + F3. This lists the names used in your current workbook, and you can also define new names, edit existing names or delete names from the Name Manager.
The named range trick I introduced in the video is very handy if you want to define several named ranges using data that’s arranged in neat tables. Excel creates named ranges from your selection and uses your data headings as the new names – follow these steps:
Pressing Ctrl + Shift + F3 brings up the "Create Names from Selection"
When you’ve done this it’s good practice to check your named ranges were correctly defined – use the Name Manager by pressing Ctrl + F3 to check.
Bring up the Name Manager by pressing Ctrl + F3 to check that your named
ranges were correctly defined
Click on this Mind Map for larger higher-res version
I based this video on material found in the Excel Formula 1 e-book, and if you are interested in picking up a copy of this e-book click on this link.
Bear in mind that I will get a commission from Chandoo.org if you purchase a copy of the Formula-1 e-book but the only reason I’m promoting it is that I think it can offer good value to Excel users who are just starting out and want a fast introduction to common Excel formulas.
The author Chandoo is a well-known Excel expert who was awarded Most Valued Professional (MVP) status by Microsoft for the help he has provided to the Excel community online, and he has written the e-book in a friendly informal style that makes it accessible if you don’t want to wade through more technical explanations.
To find out more about the Excel Formula-1 e-book from Chandoo, click on the
Victor expertly teaches Microsoft Excel to people all over the world. He has millions of views of his popular Excel explainer videos on YouTube. These show time-saving shortcuts and real-world applications explained with easy-to-follow visuals.
Victor has over 20 years of experience using Excel as a professional for Big 4 Audit Firm Deloitte and two global tech companies. He knows firsthand that being more productive with Excel can lead to greater job satisfaction and career growth.
Discover the PROVEN Blueprint for transforming your Excel skills, supercharging your productivity, and standing out in your career! My course helps you to learn Excel VBA and save hours of time even if you have zero prior experience with programming.
Are you looking to up your spreadsheet game? Excel is an invaluable tool that can help you stay organized and save time. From data analysis to budgets, Excel can do it all!
Today, having Excel skills is more critical than ever. Those who know how to use Excel are more likely to find higher-paying jobs. And get promoted faster.