New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

External references

From: Excel 2003 Essential Training

Video: External references

get larger and more complex, you may need to reference data that's on another worksheet, or in another workbook, on another file within your hard drive somewhere your local drives, or something that exists on a shared server. Let's look at how to refer to external data within a formula. I've created a simple chart for you that's ready for printing. It's placed in the Extras folder in your student files. You'll notice that this version of Quarterly_Sales has three tabs at the bottom, and that those tabs have been named. We have Annual Sales, Bonuses and Projected. The Projected tab is really a mirror image of Annual Sales. It's meant to represent a target or a sales quota. Your sales quota is something that you're trying to get to; your actual sales are the results of your efforts. So if you look at the Bonuses tab, this is a sample for an individual salesperson Mark Swift, oh hey, that's me, who's attempting here to track their progress. Now this particular salesperson is working for the West division, so the row of information that I'm interested in is here at B3, C3, D3 and E3. If you look at the formula that's been created for the projected totals, you'll see that we're multiplying the commission rate at 15%, by a value that exists in a different worksheet. The worksheet that's named Projected has been placed here in front of the cell reference. So you have C11, your commission rate, times Projected B3, and the name Projected, which is the name of that worksheet, has been followed by an exclamation mark to let Excel know that I want to refer to external data. This is the simplest type of external reference you can get. The name for that worksheet does not contain any special characters or spaces, and we have just a simple cell reference. C11 times B3, only B3 exists on a different page, so I've added an explicit direction for this formula to find that value on the other worksheet. If we go to that worksheet, you'll see that B3, the sales quota for first quarter was 35,000. In the following three quarters, it's 30,000. So we can copy this formula over to second quarter. Ah, but we get nothing. How come? Let's take a look at the formula and see where it went wrong. Well, let's see we have T11 times Projected C3. I know I did want to move to the next cell over. Here we're looking at B3 and here we want refer to C3, so we move over to the second quarter. Ah, there's the problem. The problem lies in this cell reference.

External references

get larger and more complex, you may need to reference data that's on another worksheet, or in another workbook, on another file within your hard drive somewhere your local drives, or something that exists on a shared server. Let's look at how to refer to external data within a formula. I've created a simple chart for you that's ready for printing. It's placed in the Extras folder in your student files. You'll notice that this version of Quarterly_Sales has three tabs at the bottom, and that those tabs have been named. We have Annual Sales, Bonuses and Projected. The Projected tab is really a mirror image of Annual Sales. It's meant to represent a target or a sales quota. Your sales quota is something that you're trying to get to; your actual sales are the results of your efforts. So if you look at the Bonuses tab, this is a sample for an individual salesperson Mark Swift, oh hey, that's me, who's attempting here to track their progress. Now this particular salesperson is working for the West division, so the row of information that I'm interested in is here at B3, C3, D3 and E3. If you look at the formula that's been created for the projected totals, you'll see that we're multiplying the commission rate at 15%, by a value that exists in a different worksheet. The worksheet that's named Projected has been placed here in front of the cell reference. So you have C11, your commission rate, times Projected B3, and the name Projected, which is the name of that worksheet, has been followed by an exclamation mark to let Excel know that I want to refer to external data. This is the simplest type of external reference you can get. The name for that worksheet does not contain any special characters or spaces, and we have just a simple cell reference. C11 times B3, only B3 exists on a different page, so I've added an explicit direction for this formula to find that value on the other worksheet. If we go to that worksheet, you'll see that B3, the sales quota for first quarter was 35,000. In the following three quarters, it's 30,000. So we can copy this formula over to second quarter. Ah, but we get nothing. How come? Let's take a look at the formula and see where it went wrong. Well, let's see we have T11 times Projected C3. I know I did want to move to the next cell over. Here we're looking at B3 and here we want refer to C3, so we move over to the second quarter. Ah, there's the problem. The problem lies in this cell reference.

Excel automatically incremented all of my references that I made here to move them one over. It's a very intuitive move, but in this case it worked against us. This goes back to a topic that we discussed just a little while ago about absolute and relative cell references. Because this is a relative cell reference to C11, when I copy the formula to the right, it incremented it to D11, which is empty. How do we correct that? Well first of all we need to eliminate this formula, so let's get rid of that, go back here, and instead of correcting both of them, let's correct the source by adding strings here, and here. Those two strings make the column and row constant. So we're always going to be referring to the value that's within C11. Hit Enter, and now if I copy that formula to the right by clicking and dragging we have a formula that says the value that's in C11, which always represents our commission rate, times the value that's on the sheet Projected in C3, which is our second quarter sales quota, and of course now I can click and drag that across the rest of the cells and we have our sales quota projected for all four quarters. Let's do the same thing here for Actual. Now before we make any changes to this formula, to correct for the absolute cell reference, let's take a look at the differences between B4 and B3. Well B4 is referring to a worksheet that has a very simple name. In B3 we're referring to the first sheet of Annual Sales, and because there's a space in the name of the worksheet, needed to add ' around just the name. That allows Excel to skip over spaces and work with special characters.

So if you have a name that's longer, you need to add those single quotes so that it processes it properly. If you remove those quotes you'll get an error message, #VALUE, which is telling you that it doesn't understand where the value's coming from. There's an error somewhere and it's pointing. So let's go ahead and correct the cell reference. String C11. Here we go. Hit Enter, and now this formula works. It's referring back to our Actual Sales totals for B3; 43,600, excellent. And I'll copy that over all three cells, and there we go. We have an easy comparison for all four quarters from our sales quotas to the actual sales for the year. Those are two fairly simple examples of external references. They're both referring to worksheets within the same workbook, but if you look at the chart that's provided in your Extras folder, you'll see there's not a lot more to it if you're referring to a file that exists out in the hard drive or on your server, you'll need your single quotes around your path name, because invariably your path will contain special characters or spaces, and then you simply refer to the cell within that table that you want to pull your value from.

Show transcript

This video is part of

Image for Excel 2003 Essential Training
Excel 2003 Essential Training

65 video lessons · 51015 viewers

Mark Swift
Author

 
Expand all | Collapse all
  1. 16s
    1. Welcome
      16s
  2. 22m 44s
    1. Spreadsheet uses
      1m 59s
    2. Toolbars and menus
      8m 53s
    3. Moving around
      8m 1s
    4. Getting help
      3m 51s
  3. 18m 43s
    1. Opening new workbooks
      5m 13s
    2. Entering data
      6m 12s
    3. Commenting and saving
      7m 18s
  4. 17m 31s
    1. Opening worksheets
      1m 55s
    2. Add and delete worksheets
      2m 23s
    3. Insert and delete cells
      3m 46s
    4. Worksheet data
      9m 27s
  5. 36m 0s
    1. Width and height
      6m 7s
    2. Numeric formats
      6m 1s
    3. Alignment of data
      3m 43s
    4. Naming cells and ranges
      5m 48s
    5. Naming constants
      1m 52s
    6. Creating lists
      5m 48s
    7. Autofilter
      4m 13s
    8. Designated lists
      2m 28s
  6. 11m 19s
    1. Print options
      5m 51s
    2. Printing and hiding data
      1m 58s
    3. Headers and footers
      3m 30s
  7. 21m 52s
    1. Creating formulas
      6m 30s
    2. Relative and absolute
      6m 1s
    3. External references
      6m 0s
    4. Named constants
      3m 21s
  8. 7m 47s
    1. Functions
      7m 47s
  9. 19m 6s
    1. Fonts and merging
      3m 52s
    2. Rotate and indent
      1m 47s
    3. Borders
      2m 41s
    4. Shading and format painter
      2m 30s
    5. Rename and color worksheet tabs
      1m 52s
    6. Working with pictures
      6m 24s
  10. 11m 31s
    1. Templates
      3m 45s
    2. Styles
      3m 55s
    3. Autoformat
      55s
    4. Smart documents
      2m 56s
  11. 13m 15s
    1. Chart terminology
      2m 23s
    2. Chart wizard
      5m 10s
    3. Formatting charts
      3m 22s
    4. Inserting images
      1m 42s
    5. Printing charts
      38s
  12. 5m 1s
    1. File search
      1m 51s
    2. Find and replace
      3m 10s
  13. 8m 19s
    1. Import from Word
      1m 17s
    2. Delimited data
      2m 53s
    3. Import from the web
      1m 49s
    4. Exporting data
      2m 20s
  14. 7m 54s
    1. Consolidation
      5m 12s
    2. 3D formulas
      2m 42s
  15. 5m 33s
    1. Multiple panes
      1m 12s
    2. More screen options
      4m 21s
  16. 13m 37s
    1. If
      2m 22s
    2. Time
      4m 16s
    3. Date and time
      2m 14s
    4. Lookup
      4m 45s
  17. 6m 55s
    1. Compare text
      3m 27s
    2. Concatenation
      1m 47s
    3. Special characters
      1m 41s
  18. 6m 10s
    1. Pivot tables
      6m 10s
  19. 16m 0s
    1. Recording a macro
      8m 43s
    2. Macro menus
      3m 45s
    3. Global macros
      3m 32s
  20. 11s
    1. Goodbye
      11s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.