Microsoft Excel Training- From Beginner to Expert in 6 Hours

Ozgrid, Experts in Microsoft Excel Spreadsheets

EXCEL'S CONSTANTS AND THE PASTE NAME DIALOG

FREE EXCEL HELP

 

Lesson 24 - Using Constants to Name Values and the Paste Name Dialog

<< PREVIOUS LESSON |NEXT LESSON>> | BACK TO EXCEL LEVEL 1 TRAINING INDEX

CONSTANTS

There is one other area of Naming we would like to cover and this is naming CONSTANTS. A constant is simply a value that is not the result of a formula. So if we type 10% or David or 12/12/2000 into a cell these would all be constants, as their values would not change unless we changed them.

Quite often when setting up a spreadsheet some users will type a value or text that they will be using a lot into a cell and then refer to that cell in their formulas. For example lets say we are setting up a spreadsheet that will constantly be using the percentage 10%. We could place this into a cell somewhere and then name this cell Ten Percent. We could then use this named cell in all our calculations that require 10%. Let's try this to see how it works.

  • Type the value 10% in any cell.
  • With this cell selected go to the Name box and type in Ten Percent and push Enter.
  • Now in any other cell type =100*Ten Percent and push Enter.

You should have the result 10, which is what we would expect by multiplying 100 by 10%. The biggest advantage to this method is that if we need to change 10% to say 20% we simply go to our named cell Ten Percent and type in 20%. All our formulas that are using TenPercent in their calculations will change accordingly. The down side to this method is that it is all too easy to accidentally delete the value in our named cell. A better method is the one below.

  • Go to Insert>Name>Define (or push Ctrl + F3)
  • Select Ten Percent and then in the Refers to box type 10% straight over the top of the cell address.
  • Click Add then OK.

What we have now done is named a constant. This is a better method as it is very unlikely this could be accidentally deleted.

PASTE NAME DIALOG

You may end up with a Workbook that has many named constants and it is a bit hard to remember them all! Not to worry as Excel has a feature called the Paste name dialog. This can both insert a named constant or range and create a list of all our names within the Workbook. We can see this best if we create some named ranges and some more named constants. Do this using the methods above. When you have created 3 named constants and 3 named ranges try this.

  • Type 0 in any cell then before pushing Enter push F3 or go to Insert>Name>Paste.
  • From the Paste name dialog box select Ten Percent and click OK
  • Excel will insert the name for you. This can be very handy when using named ranges and/or constants in formulas.
  • On a new Worksheet select any cell and push F3 and click the Paste list button. Excel will create a list of all named ranges and constants in the Workbook. The names will be in one column and what or where they refer to in the other. The only reason we suggested a new Worksheet is so that the list is not pasted over the top of existing data.

More on Named Ranges Here

Go To Free Excel Training Lesson 25 .  Back to Previous Lesson

Go to Excel Basic/Level 1 Training Index

<< PREVIOUS LESSON |NEXT LESSON>> | BACK TO EXCEL LEVEL 1 TRAINING INDEX


Instant Download and Money Back Guarantee on Most Software

Microsoft Excel Training- From Beginner to Expert in 6 Hours

Excel Trader Package Technical Analysis in Excel With $139.00 of FREE software!

Microsoft � and Microsoft Excel � are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft

Some of our more popular products are below...
Convert Excel Spreadsheets To Webpages | Trading In Excel | Construction Estimators | Finance Templates & Add-ins Bundle | Code-VBA | Smart-VBA | Print-VBA | Excel Data Manipulation & Analysis | Convert MS Office Applications To...... | Analyzer Excel | Downloader Excel | MSSQL Migration Toolkit | Monte Carlo Add-in | Excel Costing Templates