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

Functions

From: Excel 2003 Essential Training

Video: Functions

adding functions to those formulas and see what the big deal is. Well if you browse with me to your Student folder, and in Section 7, Basic Functions we have another version of Quarterly_ Sales. Let's open that up. Here our Quarterly_Sales totals are looking at your First Quarter, Second Quarter, Third Quarter, etc., as well as the East, West, North, South, and the formulas that we're using there haven't changed from what we've seen previously. This clumsy formula, B2 + B3 + B4 + B5, is exactly the way we left it. Functions can help change that and simplify the formula a great deal. As a matter fact, I couldn't imagine living without functions as soon as your spreadsheet gets to a point where it's unruly. It would just be a nightmare. So the difference between adding one cell after another explicitly in using a function, is that a function can handle a range very, very simply. So let's replace this formula with a new one and we'll use the sum function. = SUM, functions are always in capital letter, (B2:, through and we use a full colon to show through, B5), and Enter. We have the same value now in B7, but the formula is much more elegant.

Functions

adding functions to those formulas and see what the big deal is. Well if you browse with me to your Student folder, and in Section 7, Basic Functions we have another version of Quarterly_ Sales. Let's open that up. Here our Quarterly_Sales totals are looking at your First Quarter, Second Quarter, Third Quarter, etc., as well as the East, West, North, South, and the formulas that we're using there haven't changed from what we've seen previously. This clumsy formula, B2 + B3 + B4 + B5, is exactly the way we left it. Functions can help change that and simplify the formula a great deal. As a matter fact, I couldn't imagine living without functions as soon as your spreadsheet gets to a point where it's unruly. It would just be a nightmare. So the difference between adding one cell after another explicitly in using a function, is that a function can handle a range very, very simply. So let's replace this formula with a new one and we'll use the sum function. = SUM, functions are always in capital letter, (B2:, through and we use a full colon to show through, B5), and Enter. We have the same value now in B7, but the formula is much more elegant.

We can do the same thing again here. = SUM (, as soon as I open that braces we can click and drag to select the range that we want to add in there. We'll close that off and hit Enter. Now you notice here I selected a range that was named, so instead of inserting the cell references, as we here, it inserted the name of that range. By doing it, it lost the intuitive formatting, but that's no problem, we can right-click and choose Format and go to Currency and now that cell looks exactly the way the others did. There's value in formatting a cell ahead of time. We can do that by clicking and dragging here, right-click, Format Cells, and we'll choose Currency, OK. Now these cells are prepared, when we enter our formula, =SUM, and select our range, Third Quarter), Enter. Now it knows that it's a currency value going in there. Here's the problem with using a named range reference. It's both an advantage and a disadvantage. If I wanted to click and drag and copy that formula over, you'll notice that our new value is the same, yet our sales totals are different. It's because any time you use a named range or a named constant, that value is absolute, not relative. So we can't simply copy over a value which is why this version of the formula is an advantage in this particular spreadsheet. I'm going to click and drag over all three of those cells and replace the named range values with simply a range of cells that represent the appropriate quarter. We can do the same thing with this value. =SUM(B2:E2), Enter, and copy that value down. Since we have a blank row, I'll just delete it from there and now we have a very nice complete looking spreadsheet that summarizes the totals for the entire East division as well as the First Quarter, and it gives you an annual total based on the four quarter results. Using the sum function as opposed to an explicit cell reference formula is faster, and it's going to be easier to handle when your spreadsheet grows in size. You'll notice down here that we have Average, Highest Sales, and Lowest Sales. Another great function is the average function. =AVERAGE, and we'll give it a range to work with. Let's look at the average for the first quarter. B2:B5, Enter. The average sales for the first quarter between all four divisions is 28,965. Now the actual formula to calculate an average may be a lot more complex, but the average function is as easy to use as naming the function and naming the values that you want to apply that to. There are other ways to enter function values. For example, if we select the cell opposite Highest Sales, we can use the Formatting toolbar, drop-down, and choose Max. To extract our highest sales, we're going to use the Max function which looks at a range of cells and takes the highest value.

Again, the formula that it would take to compare all these cells and pull out the highest values may be very complex, but the Max function is easy to use. Click on Max and right away it's looking to the cell above it. Well that's not the area we want to look at. Let's click and drag across the entire year and hit Enter. For the range of cells, all four quarters in all four divisions, the highest sales total is 59,600, and it did that with a comparison formula that would be lengthy to write, but easy to use when combined with a function. Yet another way to utilize functions is with the Function Wizard. The Function Wizard can help you develop a more complex function while still guiding you through the process. Let's select Lowest Sales. This time instead of using the Max function, we're going to use the MIN function. But to do it we're going to use the Function Wizard. Let's go up to Insert > Function and here we have the first screen of the Function Wizard. A little bit of explanation, category listing, exactly what you need to do to move forward with building a function.

Search for a function: Type a brief description of what you want to do and then click Go. It has a search engine built in so you can roughly describe what you want to accomplish and let it guide you through the rest of the process. Very intuitive. So let's describe looking for the lowest value; lowest value. And right away it comes up at the MIN function, so we'll select MIN and say OK. Now it's asking us for the range of cells that we want to compare. Well, we can type that value in here or simply select the range, and when we release our mouse, the selection is added in to the value for MIN. Say OK, and the lowest value for sales over all four quarters in all four divisions: 12,670. One last point that I'd like to make is when a formula or a function is calculated.

Although there's no advantage here to holding off our calculations, there may be a time when you want your formulas to update at specific intervals, or only upon instruction. You can do that if you go up to your Tools menu and choose Options. The Calculation tab contains an option that allows you to change the calculation of formulas from Automatic to Manual and then of course you can use the F9 key to calculate your formulas and update your values after you've done a series of entries.

Show transcript

This video is part of

Image for Excel 2003 Essential Training
Excel 2003 Essential Training

65 video lessons · 51031 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.