navigate site menu

Start learning with our library of video tutorials taught by experts. Get started

Excel 2013 Essential Training
Richard Downs

Excel 2013 Essential Training

with Dennis Taylor

 


Whether you're a novice or an expert wanting to refresh your skillset with Microsoft Excel, this course covers all the basics you need to start entering your data and building organized workbooks. Author Dennis Taylor teaches you how to enter and organize data, perform calculations with simple functions, work with multiple worksheets, format the appearance of your data, and build charts and PivotTables. Other lessons cover the powerful IF, VLOOKUP, and COUNTIF family of functions; the Goal Seek, Solver, and other data analysis tools; and how to automate many of these tasks with macros.
Topics include:
  • What is Excel and what is it used for?
  • Using the menus
  • Working with dates and times
  • Creating simple formulas
  • Formatting fonts, row and column sizes, borders, and more
  • Inserting shapes, arrows, and other graphics
  • Adding and deleting rows and columns
  • Hiding data
  • Moving, copying, and pasting
  • Sorting and filtering data
  • Printing your worksheet
  • Securing your workbooks
  • Tracking changes

show more

author
Dennis Taylor
subject
Business, Charts + Graphs, Spreadsheets
software
Excel 2013, Office 2013, Office 365
level
Appropriate for all
duration
6h 32m
released
Jan 29, 2013

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:00(music playing)
00:04Hi! I'm Dennis Taylor and welcome to Excel 2013 Essential Training.
00:10In this course, I will show you how to use this popular and powerful software.
00:13We'll begin by getting you familiar with Excel's menu System, how to create
00:18formulas and use simple functions.
00:19How to format your data for appearance sake; how to use printing and
00:24charting capabilities of Excel; how to work with powerful functions like
00:28"IF" and "VLOOKUP."
00:29I'll show you a few data analysis tools like "Goal Seek" and "Solver," and show
00:34you how to automate your work via macros.
00:37We've got a lot to cover, so let's get started with Excel 2013
00:41Essential Training.
Collapse this transcript
Using the exercise files
00:00If you have access to the Exercise Files for this course, you can download them
00:04at the lynda.com library.
00:06Open the folder Exercise Files and then, for example, if you are viewing
00:10Chapter 5, simply open the folder and then the file, and you'll see various
00:16worksheets within each file and usually there's a separate worksheet for each
00:20movie within the file.
Collapse this transcript
1. Getting Started with Excel 2013
What is Excel used for?
00:00If you're just getting started with Excel, you've probably asked yourself the
00:03question, "What is Excel used for?"
00:05Excel is usually described as a " spreadsheet package" and that it certainly is.
00:10For example, what we're seeing on the screen here perhaps is the budget, the
00:13sales, expenses for small operation, and of course, we could easily expand this
00:17to a much larger operation with a lot more detail.
00:20This is covering data for a whole year, nice quarterly totals that could easily
00:24be expanded into a five- year budget projection model.
00:28Excel also can be used for handling database like information.
00:31Here's a list of our customers.
00:33We might want to sort this, we might want to do other things with it, it might
00:37have over a million rows even.
00:38We might keep track of our employees.
00:40Excel also has a table feature that facilitates treating this data as a unit, so
00:45that we can sort it and filter it quickly and easily.
00:48When it comes time to presenting information, Excel's charting capability allows
00:53us to quickly turn numbers like we're seeing here into attractive charts, like
00:57the one to the right.
00:58Excel has tons of analytical capability.
01:01It's got lots of formula capability, as well as over 400 built-in functions to
01:06ease your use of mathematical and statistical tools.
01:09It's got a great future called Pivot Table that allows us to quickly analyze
01:13information like this transactional data to the left, into a compact table on
01:18the right that quickly gives us the big picture.
01:21If that were not enough, Excel has a number of visual tools as well.
01:25For example, the title the way we're seeing on the screen, the
01:28organization chart to the right.
01:30There are over 200 built-in similar tools here like Venn Diagrams and others
01:35that quickly allow you to create presentation tools.
01:38When it comes to using Excel, there are just so many different ways you can use this package.
01:43It's just a giant grid of columns and rows and you can use it for a variety
01:47of applications.
Collapse this transcript
Using the menu system
00:00Excel's menu System is extensive and well-organized.
00:03It's got a variety of icons and pop-up screens that eases your understanding
00:08of how Excel works.
00:09Called the Ribbon, it's located at the top of your screen and it consists of a
00:13series of tabs, Home, Insert, Page Layout, and others to the right.
00:18The Home Tab is the most important and probably the one that is going to be
00:22visible on your screen well over half of the time.
00:25It contains a lot of features that you tend to need often as you use Excel.
00:29Without talking about all of these in details, just take a quick look at a few of these.
00:34The Insert Tab has a lot with adding additional features such as Charts, Pivot
00:38Tables, and Sparklines, features that you may or may not have heard about.
00:43Page Layout has a lot to do with printing and getting your printing organized.
00:47Formulas, as you might expect, has a lot to do, not only with formulas, but some
00:51of Excel's many built-in functions.
00:54The Data Tab has a lot to do with sorting and filtering and those data
00:57handling kinds of tools.
00:59Recognize too that as you are looking at the Ribbon, as you slide the mouse
01:04over of one of the features, you get a pop-up description, sometimes quite
01:08lengthy as we see here;
01:09and it enhances your learning capability with Excel as well.
01:13There's a Review Tab with some specialized commands and the View Tab as well for
01:19those special kinds of visual arrangements of data that we sometimes deal with.
01:23Now, different from the others, but also a tab on this list is File.
01:28When you click the File button on the left- hand side, using the left mouse button,
01:32we're taken into what Microsoft calls the Backstage View.
01:36Many of the features here have to do with file handling capabilities, opening
01:40and closing and saving files, as well as printing and some other features here.
01:45The idea of course is, here, we're dealing with information more at the file
01:49level, than at the cell level.
01:51We can easily escape from here by the Esc Key or simply clicking the Left Arrow
01:56at the top of the screen.
01:57Recognize also that when you are working with a specific tab, for example, the
02:02Home Tab, the icons below are divided into what are called "groups".
02:07Here's a Font group, here's an Alignment group, a Number group.
02:11If you had worked with Excel in prior versions, it's very comforting to know
02:14that when you see the arrows on the lower right-hand corner of a group, for
02:18example, here on the Font group, a pop -up description shows how you can go
02:22behind the scenes to get to other features.
02:25This is called a Dialog Box Launcher. I'll click it now.
02:29There's a Dialog Box for formatting cells, bringing out other features that we
02:33don't see in that Font group.
02:36This is very similar to what Excel looked like in prior versions.
02:40We can easily click OK here and move on to others as well.
02:43So you won't see these as much as you will on the Home Tab, but again, it takes
02:48you behind the scenes to get to other features.
02:50In addition to these groups, also, you will see in the upper right-hand corner,
02:54a special arrow here for Ribbon Display Options.
02:58When you click this, you do have the ability to auto-hide the ribbon.
03:02Now, as I'm about to do this, you might note on the bottom of the screen that
03:06I'm almost seeing all of row 23.
03:08If I auto-hide the ribbon, now I'm seeing all the way down into the part of row 31.
03:13There will be times when you work with Excel that you want to get that ribbon
03:18out of the way and that certainly is an option.
03:20If you then slide the mouse up top, if you made that choice, a banner
03:24will appear, just click it and then we have the ribbon appearing, at least temporarily.
03:29You have another option here on that same button for showing the Tabs Only, and
03:34so now, as we work with Excel, we're seeing, for example, row 27 here, but
03:38whenever we need to get to the ribbon, we could click Home, for example, get to
03:42some of the buttons there.
03:43As soon as we click below this, the ribbon goes back to showing us just the tabs.
03:49The third choice, the default choice, the one that we will see throughout this
03:53course is called Show Tabs and Commands.
03:56That's the more or less standard view.
03:59Another way to temporarily hide the ribbon, and you might even do it by
04:02accident, is to click twice on the current tab.
04:05For example, if I'm using the Home Tab and I want to quickly get it out of the
04:10way, I'll click it twice and it collapses, momentarily, while I do other things.
04:14To get this back, I will just go back to Home and double-click and it's back again.
04:19The menu System, the Ribbon, has a variety of tools, a variety of Help
04:24screens as well as you slide over them, and you'll use it extensively as you
04:28work with Excel.
Collapse this transcript
The Quick Access Toolbar
00:00Located in the upper left-hand corner is what's called the Quick Access Toolbar.
00:05Initially, it consists of four or five buttons, but it can be expanded and put to good use.
00:10What it represents is an area of the screen that's always going to be visible.
00:15The idea here is, if there are certain features that you use in Excel often, you
00:19might want to have them represented on the Quick Access Toolbar.
00:23Initially, you'll see a button for "saving", "undoing", and "redoing".
00:28Off to the right is a Special Drop Arrow, Customize Quick Access Toolbar.
00:32Do you want a special button for Quick Printing?
00:34Do you print often?
00:35This might be handy.
00:37If we click this choice, we now have an icon for Quick Printing.
00:41Click this again, might we use or do we think we know we will be using
00:45Spelling checking a lot?
00:47We'll, click this icon as well.
00:49Now over time, maybe you'll decide, we don't use that that much or don't use
00:53that often, maybe we don't need this.
00:55You can easily click with the right mouse button and simply remove this from the
00:59Quick Access Toolbar, but there's an even broader use.
01:02Suppose you've gotten comfortable with Excel and one of the features that you
01:06use often is applying a color background? Fill Color--
01:09it's on the Home Tab.
01:11Well, what if one day you're working with the Data Tab and maybe you start to
01:15use the Data Tab a lot because you're working with a list like what we see
01:20here? You might be doing sorting and filtering.
01:21What if you want to apply color right now?
01:24What do you need to do?
01:25You've got to go back to the Home Tab to get to this button.
01:29Instead of doing that each time you need this feature, one that you use often--
01:32and you can do this with any icon in the ribbon system--
01:35right-click and add to Quick Access Toolbar and there it is.
01:40If we are working with our data on the Data Tab or the Review Tab or the
01:45Formulas Tab, and we want to use that color background, well then, we can select
01:50the cells and simply use that button without needing to go back to the Home Tab,
01:54so it can be used that way as well.
01:56Furthermore, the drop arrow that we see here on the right, Customize Quick
01:59Access Toolbar, has the choice at the bottom called More Commands.
02:06This leads us into a completely different dialog box, alerting us to the fact
02:10that any of these commands that we see here--under the heading Popular Commands--
02:16any of these can be buttons on our Quick Access Toolbar.
02:20If there's a feature such as Shapes that you might use often, you can add that
02:26to the Quick Access Toolbar.
02:28If that weren't enough, in addition to Popular Commands, click this arrow to the
02:32right and you'll see "Commands Not in the Ribbon".
02:34Now probably, this is for people who've been using Excel for a while or who have
02:38specialized uses. Here's a huge list of commands, well, over 300 of them.
02:44Any one of these has a button and in it too could be added to the Quick Access Toolbar.
02:49Believe it or not, there's a third choice here called "All Commands".
02:53Here, we have about a thousand choices.
02:55Again, file that away, come back to this some later time perhaps, and decide
03:00whether any of these buttons represents a feature that you use often--
03:04you can add it to the Quick Access Toolbar.
03:07The top-down order that we see here to the right does reflect the left to right
03:11order that we see in the upper left-hand corner of our screens.
03:15From time to time you may say, I want a certain button to be on the right hand edge.
03:20I want to make it easy, well, here's Quick Print, maybe you use it often.
03:24What might you do here?
03:25Move it down the list, which in effect will put it on the right-hand side.
03:29As we click OK here, we now see that our Print button is there too.
03:34Another option is the placement of the Quick Access Toolbar.
03:38You might want to put it below the Ribbon.
03:40It will use up slightly more screen space, but it does put it closer to the data
03:45that you will be working with.
03:47If you right-click anywhere in the Quick Access Toolbar, you'll see an option
03:51called "Show Quick Access Toolbar Below the Ribbon" and you can put down here. And
03:57if later you change your mind about that, you can right-click the Quick Access
04:01Toolbar and show it "Above the Ribbon".
04:04Sometimes, you'll have many, many buttons in your Quick Access Toolbar.
04:08Sometimes, you'll decide to just start all over, or maybe you're working with
04:12another computer with many, many buttons, you want to simply start all over
04:15and design it your way.
04:17You can easily right-click and customize the Quick Access Toolbar.
04:22And then on this Excel Options dialog box here, reset the Quick Access Toolbar,
04:32and now it's back in its original state.
04:35It's a great feature for customizing your use of Excel, so you can get to
04:39often used commands.
Collapse this transcript
The structure of a worksheet or workbook
00:00In Excel the term "workbook" and the term "file" mean the same thing.
00:04We are currently looking at a workbook called "01-Getting Started" and you see
00:09that name at the top of the screen.
00:11If you're working with a brand-new workbook, you'll see a name like Book 1 or
00:15Book 2 perhaps, at the top of the screen.
00:18We use those terms workbook and file interchangeably, as we work with Excel.
00:23Every workbook is comprised of at least one worksheet.
00:27At the bottom of the screen, we see a sheet tab, maybe one, two, three, perhaps many.
00:33You can add sheets, you can delete sheets, you can change their name, you can
00:37move them left and right.
00:39Every worksheet has the same general characteristics.
00:43For example, as I use the mouse here to click on the sheet called, 2013 HOME
00:48products revenue, we see column letters across the top, row numbers down
00:54the left-hand side.
00:56A worksheet is comprised of columns and rows, and we never want to use the two
01:01terms interchangeably.
01:02Rows are horizontal, columns are vertical.
01:06If you use the mouse to click on a cell, you've selected the cell, you'll hear
01:10that term used from time to time.
01:12Let's select a cell.
01:14This is in column G, row 1, therefore it's called "cell G1".
01:19As you work with Excel, you do frequently need to refer to a cell by its
01:23location, that address as it sometimes is called, that's cell G7.
01:29Just above the column letters over on the left-hand side, you'll see an
01:33indicator as to what the current address is.
01:36Sometimes, you'll hold down the left mouse button and highlight more than one cell.
01:41Still, within that highlighted selection, the cell that you begin to do the
01:46dragging with is referred to as the active cell, and you see its address, once
01:50again in the upper left-hand corner.
01:51Now, if I go to a different worksheet, typically, we do this with the mouse.
01:55We can click another worksheet name at the bottom, this is for existing files
01:59where you already have data, we go to a different worksheet--
02:02this one has a chart in it.
02:04There's another worksheet down there called Profits.
02:06Let's click on this.
02:07Now, every one of these worksheets does have the same number of columns.
02:13In this worksheet here, the active cell is at K1, if I start pushing the right
02:17arrow keys-- and possibly we could do this by scrolling as well--
02:21after coming to the letter Z, the lettering scheme begins all over again with
02:24AA, AB, AC, and so on.
02:27This continues for over 16,000 columns.
02:30If you happen to press Ctrl+Right Arrow by the way, this will take you to the
02:34very last column XFD, and that's over 16,000 columns.
02:38Getting back to the upper left-hand corner of any worksheet, Ctrl+Home, nearly,
02:43always this means go to cell A1.
02:45In some case, there is an exception to that with frozen titles.
02:48As we move down the screen, pressing the Down Arrow, we see the row numbers on
02:52the left-hand side, and eventually, if we kept doing this, and it would take a
02:57long, long time, we will reach the very bottom.
02:59I'm going to press Ctrl+Down Arrow here, and we're now well over a million rows.
03:04That number by the way is a power of two, the underlying math here is all
03:07binary, we don't worry about that too much.
03:10Ctrl+Home will take us back to the upper left-hand corner.
03:14Every worksheet has the same number of columns and rows.
03:18At different times, as you will see, we can easily adjust the width of the
03:22columns and the height of the rows as necessary.
03:26So in Excel workbook comprised of one or more sheets, you can add sheets, at
03:30anytime, take them out and the more you work with Excel, the more you will see
03:34that from time to time it will make sense to have multiple worksheets within
03:38the same workbook.
Collapse this transcript
Using the Formula bar
00:00Even if you have not yet used formulas in Excel, you need to know about an
00:04important aspect of the Excel screen called the Formula Bar.
00:08It's located below the Ribbon and above the column letters in a worksheet. It's right here--
00:14it's called the Formula Bar.
00:16Now, in this worksheet, which is already started and perhaps finished, we
00:20don't know necessarily.
00:22If we use our arrow keys and position the active cell for example, over one of
00:27the entries in row 6, we'll see that it's a formula.
00:31If I press the Up Arrow and go to cell G5, we see that that's simply a value.
00:37Many times when you're working with Excel, either when you're typing data or
00:41simply looking at a cell, you develop the habit of looking in the Formula Bar.
00:45It's almost an instinct, like the way you look out of the rearview mirror in
00:49your car when you're driving--
00:50we do it frequently and often.
00:52The key idea here is that when you're looking at data that maybe you're not too
00:55familiar with, you want to know often, is it simply raw data or is it a formula?
01:01As I press the arrow key to the right here, now that may or may not be
01:06something I'm familiar with, but it's certainly is not 1600, really, that's
01:10actually a formula.
01:12The cell to the right of that, that's some kind of formula as well.
01:15Maybe we haven't seen that just yet, but it too is not 266.7, really.
01:20The numbers off to the left, the sales numbers are just pure numbers.
01:25Text entries are usually exactly what you see.
01:27As you type data, as you enter it, you'll be keeping an eye on the Formula Bar.
01:31As you are exploring worksheets that you're unfamiliar with, you'll learn to
01:35look at that Formula Bar frequently.
01:36It's always at the top of the screen and it's a good visual check as to what
01:41your worksheets really contain.
Collapse this transcript
Using the Status bar
00:00The Status Bar located below the sheet tabs, at the bottom of the screen, often
00:05contains the word "Ready" in the lower left-hand corner.
00:08If you're entering a data you'll see the word Enter there, but many, many other
00:12indicators can appear in the Status Bar.
00:15Off to the right, you will see three buttons for different kinds of use, Normal,
00:20Page Layout, and Page Break Preview.
00:23To the right of that, you'll see a Zoom Slider Bar.
00:26We might want to zoom in on this worksheet to see the data large and clear that
00:30way, or may want to zoom back and see more data, although not nearly as large.
00:35As we do different things using Excel, other indicators might pop-up as well.
00:39I might be typing and might want to use the Caps Lock Key and I'll click it, or
00:44maybe I did that by mistake.
00:45In the lower left-hand corner, we see the term "Caps Lock".
00:48As you select the data, now, I might be interested in the revenue, the total
00:53revenue here and by clicking Column I, suddenly quite a few numbers appear at
00:57the bottom of the screen.
00:58I know immediately the total revenue here for 2012 is over $22 million and it's
01:04showing me the maximum, the minimum, account of how many entries, and the
01:07average and quite a few bits of information that I'm really interested in.
01:11If you highlight two or more cells in Excel, you will see at the bottom of the
01:16screen some of these indicators.
01:18Although possibly, you could have turned them off.
01:20If you click with the right mouse button anywhere in the Status Bar, you will
01:25see a rather large selection of check boxes with a number of features here.
01:29You want to explore these from time to time.
01:32If you want to be notified, if you accidentally clicked the Num Lock Key, then
01:35turn that check box on.
01:37The numbers that I just referred to at the bottom of the screen here are in this
01:41section right here--do you find these valuable?
01:43You might leave them all checked and then over time say, "you know, I don't use
01:46Count very much, I don't need that".
01:49We won't see them at the bottom of the screen as we highlight data.
01:51I'd say leave them on for awhile and then come back and explore this every so often.
01:55Think about how handy it is when you're looking in a large list here.
01:58If you know your data well enough, if there's nothing else in the column.
02:01How many items did we sell this year?
02:05We'll click column H, and we sold -- and it's kind of hard to read without
02:06commas, but how many items did we sell?
02:09389,000 items, so it's a handy feature.
02:13The Status Bar gives us a lot of good information, and from time to time, do
02:17right-click on it and consider which of these options, which of these indicators
02:22you do want to have active.
Collapse this transcript
Navigation and mouse pointers
00:00As you work with Excel, many times you'll be using a mouse or a trackpad, and of
00:05course, the keyboard too.
00:06The mouse pointer, as we currently see it, is probably in its most common appearance;
00:10that of a three-dimensional plus sign, but the mouse pointer
00:14is context-sensitive.
00:15If we are about to make a change, for example, the width of a column, we're
00:20going to be positioning the mouse perhaps in the column itself, notice how the
00:24pointer now is a black down arrow or if we put on a column boundary, it's a
00:29double left right arrow.
00:30If we position it on a row boundary, it's a double up-down arrow.
00:34As we point into the menu, the mouse generally is an arrow.
00:39Also, notice that if you put the mouse pointer in the lower right-hand corner of
00:43the active cell, it becomes a different kind of plus--very thin--so we get used
00:48to the idea that the mouse pointer changes as we work with Excel.
00:52Now, in working with different workbooks, I currently have opened a workbook
00:57called 01-Getting Started.
00:59I also have another workbook open as well.
01:02On the View Tab in the ribbon, if you point to the choice called Switch Windows--
01:08click that icon--you will, if you have more than one file open, see the other
01:13filename; you can easily get back and forth by switching the commands here.
01:17It's not uncommon to be working with multiple workbooks at the same time.
01:22In a workbook like this that has five or six sheets, if you want to switch
01:27sheets, more often than not you're likely to use the mouse.
01:30In other words, I'm looking at the 2014 Budget right now, maybe I want to look
01:34at the Employees worksheet, so with the mouse I'll point to the Employees sheet
01:38and click and now we're looking at that sheet.
01:41If you do have a workbook that's January, February, March et cetera, if you're
01:45on the March sheet, you don't have to stop and think that April's next.
01:49So as an alternate way, you can press Ctrl+Page Down to move one sheet to the
01:54right or Ctrl+Page Up to move one sheet to the left.
01:59In working with different workbooks or in workbooks that have many worksheets,
02:04you do want to feel comfortable in navigating back and forth between them.
02:09Although, you can do these with commands, there are also as we suggested here,
02:12Keystroke Shortcuts.
02:13You want to have a sense that you're in control of where your data resides and
02:17how to get to it quickly.
Collapse this transcript
Shortcut menus and the Mini toolbar
00:00In Excel, the Right Mouse button always means "shortcut menu".
00:05It's a great feature because it alerts you to some of the commands and features
00:09you'd like to be able to use, and I say that based on the idea that Microsoft
00:13has done a lot of research about how people use Excel.
00:17The Excel Ribbon menu system which is quite extensive, can certainly be
00:21intimidating, and particularly, if you think of all the many, many buttons and
00:25choices that are available there.
00:26Suppose you want to make a formatting change in this worksheet and you click on
00:30cell A4, hold down the Left Mouse button and drag across the next three cells.
00:35Now, you'd like to make some formatting changes.
00:38You're not quite sure where to find them, so let's right-click here.
00:42Now, this doesn't mean that what we're seeing is every possible command
00:46available--by no means at all.
00:48What we're really seeing here are some potential choices that we're likely we want to get to.
00:53Not only do we see this pop-up menu above it, we see a feature referred to
00:58as the "mini toolbar".
01:00For the most part, this consists of buttons and features that you'll find on the
01:05Home Tab, but is the Home Tab always the one that's currently active? Not necessarily.
01:09These buttons, if we wanted to, for example, experiment a little bit with say a
01:14yellow background that looks yellow, well we'll click it and now it's yellow.
01:18While we're here, I don't think we want to change the font but we might and
01:22there's even a drop arrow there.
01:24We might want to use maybe a dark blue font and while we're here, we might want to use Bold.
01:29This is close to the data we are actually working with.
01:32Now, if we click somewhere else, the mini toolbar disappears.
01:34If you use the Right Mouse button in different locations, for example, if you
01:38were working with the Home Tab and you were to right-click on this button, for
01:44example here, you see some choices related to what you might be doing with that button.
01:49This has nothing to do with commands in the worksheet necessarily, but it's
01:54again a reminder what the Right Mouse button does.
01:57If we right-click a column letter, the choices we see here are different, than
02:03if we were to right-click on a cell on the worksheet.
02:05For example, I'll right-click now on cell G3 and that's a different set of
02:10commands, some of them are the same, but some are different.
02:13If you right-click on a sheet tab at the bottom of the screen, as you might
02:17expect, a different set of choices there, and of course, these are related
02:21to the kinds of manipulation you might want to consider when dealing with sheet tabs.
02:26So the right mouse button is really handy.
02:28Here's another idea too.
02:30Suppose you want to add a new column here to the left of column B, you might
02:35right-click on column B. You don't necessarily know which command it is, but
02:40"Insert" sounds like it's the one and so you might use that.
02:44At a later time you might say, "well, I don't really need that".
02:48"How might we get rid of it?"
02:49Well, you might right-click again on column B. By the way, you don't have
02:53to select it first.
02:54Right now D5 is active.
02:56I'm saying to myself, "I don't really want that column B there anymore".
03:00So, I'll point to the B and right-click and there is "Delete".
03:05Although, not foolproof, the Right Mouse button is incredibly handy at times,
03:09because it pairs down the list of possible options that you're likely to want to
03:13use in any given situation.
03:15When it comes to formatting issues, that mini toolbar pops-up as well, and both
03:20of them are extremely helpful as you work with Excel.
Collapse this transcript
Using the built-in help
00:00There's no question that when you're using Excel at different times, you will need help.
00:05Keep in mind again as you slide over one of the many icons in the Ribbon, for
00:09example, "Conditional Formatting" here, you do get a quick description of what
00:13that feature is about.
00:14Sometimes, these are very small, but at other times they're more extensive.
00:18For example, on the Data Tab, if you were to click the Data Tab in the
00:21ribbon, Text to Columns may not mean a whole a lot, but when you read this,
00:26perhaps it means more.
00:27Notice also, that you will see, as we see here a choice, "Tell me more" and you
00:33will get the Help screen here too.
00:35Sometimes, the Help screens lead you into multiple other choices, you can click there.
00:40"Do I want to do this?"
00:42Maybe/Maybe not, I'm not sure what that means.
00:44This could be very useful you might want to print this.
00:47We can see, by way of the ribbon, we can easily get to some Help features.
00:51Also, available in the upper right-hand corner of a worksheet, you will see the
00:55question mark and recognize also that it has a Keystroke Shortcut--the
01:00traditional F1 key meaning Help. Throughout Microsoft products and many, many
01:04other software products as well,
01:06the F1 key means Help.
01:07It does here, as well as the question mark.
01:10This leads us into the Excel Help screen.
01:12While you're here, you'll also see a lot of other tips here as well.
01:16Maybe we've done some of these searches or maybe we're interested in some of the
01:20more popular searches.
01:22If it's a completely different feature than the ones we see here, we might want
01:26to type in something.
01:27For example, we might be saying, "Well, I've heard about charts, let's find out about a chart".
01:32"What does that mean exactly and how can I create one?"
01:35We can type that in and either press Enter or click the magnifying glass and
01:40possibly, this will lead us into online help if we're logged on, or maybe get
01:44some information right on our screen, even if we're working while we're not online.
01:48There are a lot of ways to get Help as you work with Excel.
01:53Recognize also that the more you work with Excel, the more you become attuned to shortcuts.
01:58Particularly, on the Home Tab, recognize that as you slide over certain icons,
02:04for example, B for Bold, there's a Keystroke Shortcut listed there, it's Control+
02:07B. There's one for Italics--Control+I-- and Underline--Control+U--and so on.
02:13Not every feature has a Keystroke Shortcut, but learn to discover those and make note of them.
02:18Here's Find and Select.
02:20What's that one all about?
02:21You could click there, there's Find, maybe I want to use that later.
02:25Oh yeah, there's a Keystroke Shortcut, Ctrl+F, as we slide over Find or
02:29Ctrl+H for Replace.
02:31Some of these are not exactly obvious.
02:33The Excel Help System is extensive, you can get to it at any time with the F1
02:38key or the question mark in the upper right-hand corner or as we saw with
02:43certain features--as on the Data Tab with Text to Columns--the "Tell Me More"
02:48option as well; one more way to use the extensive Help system in Excel.
Collapse this transcript
Creating new files
00:00If you like to create a brand-new workbook and you're simply thinking of a blank
00:04slate, you can press Ctrl+N--that's the letter N--and suddenly, we see on the
00:11screen a new workbook.
00:12Now, that's going to be called Book2, Book3--depending upon what other workbooks
00:16you might have open--
00:17that's its temporary name, but you should not overlook the fact that Excel has a
00:21number of built-in templates that might get you started much, much faster.
00:26Suppose for example, you're interested in creating a Budget or a Personnel list
00:31or a Phone list, you can go to the File Tab in the Ribbon and choose "New", now it
00:37does give us the choice for a Blank workbook or possibly a Mortgage Refinance
00:42Calculator; Financial Portfolio.
00:45Take a look at some of these that are built-in.
00:48What you get here in all cases is an attractively designed worksheet with
00:51built-in formulas that might just be enough of a kick-start to get you
00:56going pretty fast here.
00:57Maybe you're considering some Home Loan options.
01:00Choose "Home Loan Comparison" here, "Create" and here we are started; and we're
01:06going to have to explore this a little bit. Maybe for it to make sense to our
01:09situation--change the Bank name.
01:11A lot of formulas are built-in, we might be looking at different
01:14terms, different rates.
01:15This is enough to get you started many, many times.
01:18Furthermore, it gives you some insight into how, perhaps, certain formulas work
01:23in Excel, how certain formatting capabilities exist.
01:26We also see some nice charts in this option, so don't overlook this possibility.
01:30Again, going to that File Tab, choose "New";
01:34explore some of the many options that are here.
01:37Furthermore, at the bottom of this list, you will see reference here, to the
01:44fact that you can use the search box at the top to find more templates.
01:50If the recipe template that you saw here wasn't quite what you wanted, you can,
01:54for example, go to "Lists" here, possibly find some other options here and here we
02:00see a huge category of possibilities.
02:02This is almost an endless list of, possible built-in, templates that you might
02:07want to use to get a workbook started very quickly in Excel.
Collapse this transcript
2. Entering Data
Exploring data entry and editing techniques
00:00Entering data into cells, typing data is one of the most basic things you do in Excel.
00:05There are certain rules and restrictions, regarding how Excel treats data.
00:09Let's imagine that we want to keep track of data for a six-month period for a
00:14small business that we're starting.
00:15We're only going to need a few columns, so let's use the Zoom Slider Bar--in the
00:20lower right-hand corner in the Status Bar--to zoom in.
00:23We've got plenty of room on the screen.
00:26In cell A2, and we can click there with the mouse or use the arrow keys to get
00:31there, we're about to type the word "Sales". Type it.
00:35We complete the entry of a cell by pressing Enter or Tab or any of the four Arrow Keys.
00:40If you press Enter, the active cell moves down into the next cell below it, if
00:45you press Tab, it moves to the right.
00:47I'm about to put the word "Expenses" below this. I'll press Enter.
00:51As I'm typing "Expenses", I make a mistake. What do I do?
00:55Backspace.
00:55Not left arrow, backspace.
01:00After completing this I realized I've typed it the way the British and the
01:03Canadians type it with a "C", so I want change it.
01:07Do I need to erase this? No.
01:09Simply type right over it, so very often you'll find yourself not erasing or
01:12deleting contents of cells, but simply typing over these.
01:16Furthermore, I've decided I want to use the word "Overhead". Enter.
01:23And then "Profits".
01:24Let's say I make a mistake, but I don't catch it right away. Press Enter.
01:29Obviously, that's a misspelling.
01:31I want to make a change.
01:32How do we edit a cell?
01:33Couple different ways, click the cell and then possibly click in the Formula
01:38Bar, near where the problem is.
01:40I click in front or after the "G". If I click in front of it, I can press Delete,
01:45get rid of the "G" or click after it, I can press backspace, putting the letter
01:49"F" after doing that.
01:50Another way, I think it's better much of the time, and you don't necessarily
01:54have to select the cell first, but what if I had typed this and I pressed Enter--
01:58active cells down here--I see that I've got a problem.
02:01I want to do editing by double-clicking, particularly, if you've zoomed in and
02:05this is a lot larger than what you see up above in the formula bar, simply
02:09double-click near where you want to make the change.
02:12I'm going to double-click in front of the "G" right there.
02:16Type the letter "F". Press Delete to get rid of the "G" and press Enter.
02:21Now, text entries are automatically aligned in the left side of a cell.
02:26Much of the time, you'll just keep it that way.
02:28Later, we'll show you how you might want to center this data or line it up on
02:32the right-hand side.
02:33Let's imagine that we want to put in some numbers here.
02:36Now, on purpose here and maybe I forgot that I had Caps Lock on, but imagine
02:40what would happen if I type 120, I just happen to press "O". It's right next to
02:46zero on the keyboard, so that's an easy typo.
02:49I don't think much of that.
02:51I want to move rightward, so I'll press Tab. Now, that's 12O.
02:53The reason it's left aligned, is because it's not a complete number.
02:59Two of those entries are numbers, but as long as there is a non-number in there,
03:03Excel says in effect, "this is text, I line it up on the left-hand side".
03:08In the next cell I want to type 160--and that's what a zero looks like--and when
03:12they're together you can see the obvious difference.
03:15If I press Tab now, what happens?
03:18Numbers are automatically lined up on the right side.
03:20That's a general rule and we'd learned that back in the second grade--line up
03:24your numbers on the right side before adding or subtracting or multiplying--good
03:29idea, keep it that way.
03:31There will be occasions when you're working with numbers like ID numbers, where
03:35it wouldn't hurt to center them, but as a general rule, as a general concept,
03:39keep numbers right aligned.
03:40Now, we want to make a change here, we see the obvious problem--double-click
03:45behind the "O", Backspace, zero, Tab to the right--there we go and I'll just type
03:51in some other numbers here.
03:52Here's a 210, press Tab, 250 press Tab, 325 press Tab, and 440.
04:01As I press Enter, automatically brings us back to the next row and just a
04:05few more numbers here.
04:06These are all numbers and they're going to be right aligned and no typos here.
04:10Occasionally, you might use the letter "L". It sort of looks like a 1, but it doesn't really.
04:14You'll have the same issue that you had with zeros (0s) and "O"s.
04:18So, I've got 100, 130, 160 each time tab.
04:27So we've seen data entry.
04:28It's basic and the whole idea of changing these anytime, we can type right over
04:32the entries or in some cases, we edit the cells.
04:35Keep in mind the basic idea, Text is left aligned, numbers are right aligned.
Collapse this transcript
Entering data with AutoFill
00:00If you need to enter months, days of the week, dates or certain number series,
00:05Excel has a great feature called Auto Fill, which is really handy and we're
00:09about to use it here.
00:10We need to put in the first six months in row 1 here, starting with January.
00:16Now, the Auto Fill feature is based on the idea that in the lower right-hand
00:20corner of the active cell is a special button and it's called the Fill Handle.
00:25Notice, when I slide the mouse over the lower right-hand corner, the mouse
00:29pointer becomes a thin plus, sometimes called crosshairs.
00:32If I hold down the Left Mouse button, now and start to drag to the right,
00:36notice the pop-up below that says, February, March, April, May, et cetera, I'm
00:41going to keep dragging this right up to here.
00:44Let go of the mouse and we put in the other months.
00:47We'll worry about the alignment a bit lighter.
00:49That's really handy.
00:50Same thing would have happened here.
00:51Now, we're not really going to be using this in column A, but I'm going to click
00:56over here in column A and do the same thing.
00:58Drag from the lower right-hand corner.
01:01If this were a situation in a different kind of worksheet where we were doing
01:05this for 12 months, you could drag all the way to the end.
01:07If you dragged a bit too far, it would just start all over again.
01:10Now, we don't really need those, so I'll press Delete and they're gone.
01:14Now, alternately and working in the same way, if we start with abbreviations--
01:19now, you can start with any month actually--
01:21typically, you would start with January or "J-a-n". We can drag across here using
01:26the Fill Handle and I dragged a bit farther this way, so it went into July.
01:30Anytime you drag rightward or downward using this feature, you move
01:35ahead chronologically.
01:36Now, occasionally but rarely, you might drag upward if I take "J-u-l" from the Fill
01:41Handle in the lower right-hand corner and drag upward, we get June.
01:44If we were to drag leftward here, we get May and so on.
01:49It's a bit unusual to drag in those two directions, but you can do that too.
01:53Now I don't need this data here, so I'm going to select it all, starting from
01:57any of the corners of this location-- click and drag across and down--highlight
02:02the data and press Delete.
02:05Now, although we don't need the entries in this worksheet, I want to also alert
02:09you to the fact that if you're using days of the week--and you might start with
02:12Monday or Sunday, doesn't make any difference--here too
02:15you can use full spellings or abbreviations, this way.
02:19In both cases too, if you are using abbreviations, they must be three letters,
02:24so although you probably wouldn't start with Tuesday, if you did, use "T-u-e-s"
02:29and drag from the corner.
02:31It's not going to work, because you'll get the same entries all over again.
02:34It's gotta be three letters if you want these to change--if you're using
02:38abbreviations--so three letters or full spellings.
02:40In addition to these kinds of entries too, if you enter dates, for example, if
02:45you type 2/3/13, date entries when copied from the lower right-hand corner,
02:54automatically, give you the next day and the next day.
02:57This Auto Fill capability is available in a variety of situations and many, many
03:01times it has to do with dates or days of the week or months as we saw earlier.
03:07And also handy at times, although not in this worksheet,
03:09if you wanted to create a series say, 5, 10, 15 or 1, 2, 3--something like
03:15that--you can create two entries. Here's a 5, here's a 10, and then we click
03:22and drag across both of them together and then drag from the corner, so we
03:26drag downward a few cells here;
03:28we'll get the series this way too.
03:29If we had dragged upward--if we had room--we get 0 and then -5 and so on.
03:35Now, I can erase these or I can use another feature, which we'll talk about in
03:39another movie called "Undo".
03:40I don't want this data here, so I'll press Ctrl+Z, or in the upper left-hand
03:45corner use the Undo button.
03:47So "undo", and we'll just undo some of these entries here; and a few more undos too.
03:54Creating monthly entries, like we see here, either with abbreviations,
03:58starting with "J-a-n" or with full spellings, we can easily make these entries
04:02with Excel's Auto Fill feature.
Collapse this transcript
Working with dates and times
00:00In this worksheet called "Dates-Times" in the 02-Entering Data Workbook, we've got
00:05a date entry in column B and some time entries in column D. Excel is adept at
00:10handling date and time information.
00:12You want to start off by just making sure that when you do put dates into
00:16Excel that you want to enter them in just a few different ways.
00:20First of all, if you're working in the United States with Excel, your standard
00:24Excel settings are to display dates as from left to right, month/day/year.
00:29In other countries it's likely to be day/ month/year, but this represents January 8, 2013.
00:34It's typed with slashes.
00:36The standard way of entering dates in Excel is with slashes or hyphens.
00:41No matter how you type it, you will see the display as hyphens.
00:45So if we want to put in for example, November 17, 11/17 and it's in the same
00:52year, we'll type 13, Enter, no great surprises there.
00:55Same thing would happen of course if we type hyphens.
01:00It will display with the slashes.
01:02A small tip here, any date in the first portion of this century--the first 10
01:06years--if for example, it's April 5, if it happens to be 2007, just type 7,
01:12Excel displays the entry this way.
01:15One oddity that you might or might not run into--if you're dealing with dates
01:19within a certain timeframe--maybe you keep track of retirees or maybe you're
01:22keeping track of the age of buildings or something, someone who's born
01:26December 13 in 1930, you'd probably type it that way and press Enter and not
01:33at all be surprised.
01:34How about someone born the year before, on November 12 of 1929?
01:40You'd probably type it that way and then be real surprised when you see
01:43this kind of a display.
01:44Here's what Microsoft has done and they will change this in years to come.
01:48Any date entry that has a year from 30 through 99 is automatically considered
01:53last century, and any date entry that has the year from 0 through 29 is
01:59automatically this century.
02:00Now, when you're typing these entries, if you're dealing with data, just play it
02:04safe and type four-digit years.
02:07In this case, we would be typing--of course we can edit it now--but if we were
02:11just typing this, it's 11/12/1929--if that's what you mean--because we just put
02:17in 29 as we saw earlier, it's going to be 2029.
02:21Again, the reason for putting these in, in these ways is that date entries
02:26are actually values.
02:27They're stored as numbers, that's why they're right aligned.
02:29If you do this correctly, you open the door for extensive use of these.
02:34We can find out day of the week here.
02:36We can find out amount of time elapsed between different dates.
02:40There's just a variety of things we can do using Excel date functions that are built-in.
02:46Similarly with times, make your time entries in 24-hour style or an A.M/P.M.
02:51style and use colons. Recognize that although that's not right or wrong
02:56it's 1:32 A.M--unless you type A.M. or P .M.--it assumes A.M. So an entry here--
03:02and we can type these in a variety of ways--
03:05use colons, if it's 4:32 p.m., you can even type it "4 colon 3, 2 space P", and
03:11it gets stored that way.
03:13Also with times, by putting in times correctly, we can later calculate time
03:17differences or time into the future.
03:20The Excel DateTime system is designed to work by the way until the year 10,000.
03:26We're in good shape here if we put in our dates and times correctly from
03:30the beginning.
Collapse this transcript
Using Undo and Redo
00:00We all make mistakes from time-to-time and
00:02of course working with Excel is no exception.
00:04Let's imagine maybe we're going to make a serious mistake here.
00:07We want to get rid of these numbers and maybe we've just got row 2 selected and
00:12aren't thinking so clearly.
00:13Cell A, too, might look like it's not part of the mix here.
00:17So, you might go to Delete here, maybe you're exploring the commands, you're not
00:20familiar with how they work, you happen to click this and you realize that did
00:24a lot more than you wanted it to do.
00:26So, you'd like to reconsider all of that.
00:28In the Quick Access Toolbar--unless you've removed the button and I strongly
00:32suggest that you probably didn't and hope you didn't--
00:34the Undo button is right here and it's followed by the word representing what
00:39you last did, the last action you took--in this case "Delete".
00:43Recognize also the keystroke shortcut for undo, Ctrl+Z. So, we're going to press
00:48this Undo button and bring back the row that we destroyed there by mistake.
00:53Now, not only can we undo our last action, but possibly the ones before that as well.
00:57With a little drop arrow to the right of undo--if you click it--shows us up to
01:03as many as a hundred different actions.
01:05Now, maybe I just opened the file, I've done some other formatting, so this one
01:09only goes back 18 actions.
01:11I think rarely do you want to go back that far, but you can consider undoing a
01:15whole series of steps, but you can only undo a consecutive set.
01:20So, if I wanted to go back and undo some of the other things that I've been
01:24doing in the meantime--maybe I was working with data in other cells--
01:28if I want to undo some of those actions but only a consecutive set of them, if I
01:32were to click right now for example, I would undo the last seven actions.
01:36Now, let's take a few actions on the screen here and maybe again we're novices,
01:40we're experimenting here, we've heard that you might be able to add color.
01:44So, we drag across this.
01:46This is covered in a later movie, but we're going to click this button right
01:50here and make everything yellow.
01:51We sort of like that maybe for a while.
01:53Here's some button here it says "Font Color", so let's hit the drop arrow and
01:58we'll try something here maybe, something that's going to show up, maybe that.
02:01Maybe we like Bold, there's B, we'll try that too.
02:04So, we're experimenting with some formatting features here.
02:07Maybe we use this for a while and we say, "I'm not sure if I like that".
02:11Now, we might have done other thing things in the meantime.
02:14Maybe we put in some data down here.
02:16Maybe put in some numbers.
02:18Now, if we want to go back and undo some of the formatting that we did, if we go
02:22back to the drop arrow just to the right of undo, it also includes the recent
02:27typing that we just did.
02:28Now, if it's okay to get rid of those, we will, if we want to get rid of Bold,
02:33well, maybe we do and the font color we made in the format.
02:36The point is we have the choice of deleting these, but only the
02:39consecutive actions.
02:41So, if we go back this far, we will still be leaving the font color in the background.
02:46If we include the font, then we will be getting rid of that font color in
02:50addition to our two typing entries in the Bold.
02:52So, let's say we do that.
02:54Now, anytime you undo actions, whether it's one or many, the actions that you
02:59undid are stored in a different category called "redo".
03:03There's another arrow over here called Redo.
03:06It's got a keystroke shortcut of Ctrl+Y. So, if we click drop arrow here, we will
03:11see the features that we just undid and maybe we undid more than we wanted to.
03:17So, to undo the undo, it's called "redo".
03:19Maybe we want to bring back the font color and the Bold that we had applied, so we'll do that.
03:25Now, part of this is being set up just, for example purposes, but I think you
03:29can sense how sometimes you use undo, because you really made a serious mistake
03:33and you want to undo it.
03:34At other times you might even want to kind of toggle back and forth between changes.
03:39This is not the best example of it, but we might, for example using--Ctrl+Z--now
03:44and that take us back to here;
03:45I'll press again, takes us back to this look.
03:48What if I change my mind?
03:49I'll press Ctrl+Y, sort of reverse stream.
03:52So, you might try that for example, if you're working with certain charts, you
03:56can toggle back and forth with the Ctrl+ Z and Ctrl+Y. The main capability though
04:02here is this idea that when you make a serious mistake--when you perhaps delete
04:06data you didn't want or made a change--that you can undo it.
04:10Now, the feature is not universal, particularly when it comes to changes that
04:14you make to Sheet Tabs.
04:16If you've never used these, you might not have seen that if you right-click
04:19one of the Sheet Tabs, you'll see quite a few choices here, nearly all of
04:22these you cannot undo.
04:24So, don't ever assume that if you delete a sheet, you'll be able to get it back.
04:28So, you want to be careful with undo.
04:30It is a great feature, no question about that, but don't assume that every
04:34single thing you do can be undone; but it's a real lifesaver at times.
04:38Keep in mind too, sometimes when you're experimenting with data, it might make
04:41sense to go through the cycle of undoing--Ctrl+Z and then redo with Ctrl+Y to
04:47compare two different appearances on your screen.
Collapse this transcript
Adding comments
00:00For good worksheet documentation and just to help others who might be using
00:04this workbook and maybe even yourself at later date, adding a comment to a cell is very helpful.
00:11For example, maybe in this worksheet the number in cell G2, the June Sales
00:16expense is questionable.
00:18The person who handles this information, who gave it to you is named Joan.
00:22So, anybody else who uses this might want to check with Joan.
00:25So, you're going to add a comment here.
00:27You can press Shift+F2 or right-click and "Insert a Comment".
00:32Usually, you'll see your name here followed by this and so we'll simply type in,
00:35for example, here, "Check with Joan to see if this is correct".
00:41Your comment can be quite long too.
00:48As we click away from this, we see a red triangle in the cell.
00:52Slide back over it, we see it again.
00:54So, that's your visual clue as to whether there is a comment in the cell.
00:58If you were to print this worksheet you wouldn't see the red triangle there.
01:02Now, there might be another one over here, maybe this number is questionable and
01:05you got that from a different person, so we could do something similar--this
01:09time I'll press Shift+F2--once again seeing the name and say, "Ask Max about this".
01:13Now, obviously these are not major comments as we're using them here, but
01:19you can imagine how
01:20if you've got an unusual formula or you've got a questionable piece of data, putting in
01:24these kinds of comments is going to help in the long run.
01:29Documenting worksheets is something that a lot of people never do, and these are handy.
01:33Notice also that on the Review Tab you've got a choice called "Show All Comments".
01:38So, we do have this option, click this, and both comments appear.
01:43We might want to move these borders around and while they're visible we can do that.
01:47We can also shrink the edges if we put the mouse on the corner or the sides, we
01:51can drag to make them smaller if we wanted to do that sort of thing;
01:54that's not really critical, but you can do that too.
01:57When it comes to printing, there's a way to print these as they appear here or we
02:01can have them all stacked up on a separate page.
02:03That's particularly helpful when you have many of these.
02:06So, we do have a control over these.
02:08If we don't want to show them all, we can turn off that feature, but maybe we
02:12want one of them to show for a while and not the other. For example, this one,
02:16we'll right-click on this one and Show/ Hide Comments, but that's just for this one.
02:21So, you do have the option of displaying one or both or many as the case maybe
02:26in different ways, and simply, if we have one of them showing and we don't want
02:30it to show anymore, we'll right- click here and "hide the comment".
02:35Once again, we've got red triangles on the two to alert us to these.
02:38Now, I have seen this feature used too much, I got a worksheet once and there
02:42were over 500 of these, it just kind of drove me crazy, but I think here and
02:46there you want to use these. It does provide good worksheet documentation; it
02:51helps others and you understand what's going on in a worksheet.
Collapse this transcript
Using Save or Save As
00:00If this is a brand-new workbook, the name at the top of the screen is likely to
00:04be Book1, Book2 something like that.
00:06We do need to save our work from time to time.
00:09Keep in mind that the entries you might have made here, although they are being
00:13stored in RAM--that's working memory--they're really not being stored
00:16permanently and you certainly do want to save this information as a file; but
00:21the question will surely come up as you click the File Tab in the ribbon, "Should
00:26I do a Save or Save As, what's the difference"?
00:30Save As is always safer, it's a bit longer.
00:33It does give you a choice as to where you will save the file, what name you will
00:39give it, and whether you need to save it in a different format.
00:43Now, you might want to save it on the SkyDrive if you're using that capability;
00:47you might want to save it on this computer; and your computer right now might
00:51have your Flash drive plugged into it.
00:53Let's go to Browse here.
00:55Maybe in my case here, I simply want to save this file--which was already created--
01:01I really want to save it in its current location.
01:04Now, if this were a brand-new file and this says Book1, I'd probably want to give
01:09it a different name, or even now, if I want to use a different name here, I can
01:13type in a different name as I choose--up to 255 characters.
01:18Do stay away from many of the special characters, you know hyphens and underscores
01:22work okay, but a lot of other symbols such as asterisks and slashes, you
01:26probably don't want to use.
01:28If you want to change the name or if it's a brand-new file, you want to give it a name.
01:32That's certainly important.
01:33If it's a second, third time, fourth time, often you're not changing the name at all,
01:37you just give it a quick look that looks great.
01:39Where are you saving it?
01:41If you're using Windows 8, you're screen is likely to look the way it is here.
01:45Windows 7, probably fairly similar, but a little different. But you'll have
01:49choices on the desktop possibly; some other location; on this computer; on the
01:54hard drive; or if you've got Flash drive plugged in--certainly other places to
01:59save it--you'll make that choice when necessary.
02:01A third choice, occasionally necessary and sometimes really important, "Save As Type".
02:07If the file you're saving is likely to be used by some other people who don't
02:12have one of the more recent versions of Excel, maybe you want to send this to a
02:17friend who is using Excel 2003, you want to be sure that this workbook is saved
02:22in the format that that person can use it in.
02:25By clicking the drop arrow here in the panel next to Save As Type, you might
02:30want to make the choice Excel 97-2003 Workbook.
02:35There are certainly some other choices out here that from time to time you
02:39may want to explore.
02:40In this case let's say, we don't really need that, but we certainly could in some cases.
02:44Choosing Excel Workbook, simply reaffirming what the choice is here, is likely
02:48to be your more common choice.
02:50In fact, you won't even think of it as a choice, you'll simply ignore it,
02:54eventually just click Save or click OK here as we complete this.
02:58Anytime, there's any doubt about where a file needs to be saved or what its
03:04name is or what file type you want to store it in, go to Save As.
03:08Now, as we go back into Excel, imagine if we've made some more changes, maybe
03:11we're going to put in some formulas here.
03:13Imagine if we've done that, we've made some more changes.
03:16What do we need to do from time to time?
03:18We need to save our workbook all over again, but it certainly doesn't have to be
03:22that extended series of commands.
03:25The "File Save" button--likely to be that first button here in your Quick
03:29Access Toolbar--although it means update, doesn't say that, Save simply
03:33means--if we were to click this right now--update this workbook to include
03:37our most recent changes.
03:39So, you want to do that from time to time just to make sure that what you're
03:42seeing on the screen and what you've got saved match up. If there's any
03:46doubt about saving files, you're not sure exactly with regard to the file name,
03:50its location, or its file type, choose the command by way of the File Tab--
03:55Save As.
Collapse this transcript
3. Creating Formulas and Functions
Creating simple formulas: Totals and averages
00:00In Excel, writing formulas is probably one of the more important things that you do.
00:04In fact, in some worksheets they're just loaded with formulas and also with
00:08functions as we'll see.
00:10In this particular worksheet called "Formulas".
00:13It's in the workbook 03-- Creating Formulas and Functions.
00:17We need to calculate some answers in row 4.
00:20The numbers here are pretty easy,
00:22we can do the math in our heads.
00:24This is going to be a 20, this is going to be a 30, and so on.
00:28We're going to be subtracting these numbers, but what is unusual, at least at first
00:32when you work with formulas, is we will not be typing in or using the exact
00:36entries 120, 420 or 100.
00:40We won't be typing those at all.
00:42We do this by location.
00:44What we're really about to say is "whatever is here minus whatever is there".
00:49By implication we're saying that B4 is equal to the difference of those two cells.
00:55So, we don't type the B4, it's implied, we type "equal" to begin a formula in Excel.
01:01We can type in the B2 minus B3.
01:04That's certainly a common way of entering formulas.
01:07There is this color coding that takes place as well.
01:10When we press Enter, one of the Arrow Keys or Tab, the formula is complete
01:14and we have our answer; but the formula gives us the added advantage of, if
01:19either of these two cells changes, then our formula reacts and we get a different answer.
01:25In a certain sense, this cell doesn't really contain 20, it contains a formula.
01:30When you click on cells--keep an eye on the Formula Bar--it reminds you what the cell contains.
01:35If you happen to double-click a cell-- sometimes you'll need to do this to
01:38change the formula--
01:40it displays the formula in a color-coded way.
01:43Now, if the Overhead number was incorrect and we find out that the Expenses here
01:47were really 125, we'll make that change, but we don't have to rewrite our
01:51formula, it reacts immediately giving us the correct answer here.
01:55I'm going to undo that with Ctrl+Z. Let's talk about two other ways to enter a formula.
02:00Once again, beginning with the equal sign, but this time using Arrow Keys to get
02:04to the cells we need.
02:05I'm going to press the Up Arrow Key twice.
02:08Now, press the minus key on the keyboard and then the Up Arrow Key once--
02:13indicate B3--once again, Enter, same formula, same result.
02:18It's just a question of saving a little bit of time by not having to type in addresses.
02:23A third way might involve two hands, it might sound like it's going to take
02:27longer, but it can be pretty fast as well.
02:30It begins as you would expect--equal sign-- I'm going to click on B2, then minus
02:35on the keyboard, then click cell B3, and then Enter.
02:39Here too, same result as before, same formula.
02:43In cell H2, we need a total of these six cells right here.
02:48If we haven't seen much of Excel formulas or other techniques, we're going to be
02:53typing =b2+c2+d2, I'm going stop there.
03:00This method will work but I got to put in three more locations.
03:04What would happen if this is 12 months of data?
03:07Three years of data?
03:08This is not the best way, although, it would give us a correct answer ultimately.
03:11Let's show a better way.
03:13Built-in to Excel is a feature called "Functions" and there are over 400 of them.
03:19"Quick capsule description" is a function--is a shortcut for a formula.
03:24They can often be a lot more than that.
03:26Probably, the most commonly used function by most Excel users is the one called SUM.
03:32Functions begin with the equal sign also, so it indicates they are in the
03:36family of formulas.
03:37SUM, it's followed by parentheses and within the parentheses we're either going
03:43to see a range of cells across a row, possibly down the column or possibly
03:48across many, many cells.
03:50We can even have commas in different cells located in different locations.
03:54But in this example here, we simply want to select the six cells to the left--
03:59and you can click and drag rightward or click and drag leftward, doesn't make
04:03any difference--so I've got the mouse right here in G2, hold down the Left
04:07Mouse button, drag leftward, there we go, let go of the mouse and we're done,
04:12except for pressing Enter.
04:13We don't need to type that right parenthesis, but it would be there anyway--"Enter".
04:17That's a function.
04:19That's a correct answer.
04:20Double-clicking it simply redisplays it and we can also see it of course in the Formula Bar.
04:26Add up all the cells, B2 through G2.
04:30Now, for an average here, we need to add up those first six months and divide
04:34by six, but we already have the total here, so we don't have to really do the addition here.
04:39The average begins with equal and here's the amount that's totaled right there
04:44on H2, so you can type it or click on it.
04:46Slash for division.
04:48You cannot use the slash that goes in the other direction.
04:51You'll see the slash on larger keyboards on the number pad, on most standard
04:55keyboards it tends to be above the Enter Key.
04:58Divide by 6--Enter"--
05:00we've got our average here.
05:02Earlier we saw how to use a function here to tabulate totals and before that we
05:07saw a simple subtraction of cells right here.
05:09Of course, you will see in some formulas a plus sign for addition.
05:13The other symbol that we haven't seen just yet is the asterisk which is used for
05:17multiplication, but there's no question that formulas are critical to the
05:21operation of many, many Excel worksheets.
Collapse this transcript
Copying a formula for adjacent cells
00:00In this worksheet CopyFormulas, in the workbook 03-Creating Formulas and
00:04Functions, we've got a formula in cell B4 and we need to have that same kind of
00:10formula in cell C4, D4, all the way over into G4.
00:14Now, if we talk about copying a formula, you might say, "well, we don't want
00:18this exact formula to be copied into column C, because we would get the same
00:23answer, we get a 20".
00:25In column C we want to subtract these two cells.
00:28Many, many times when you've written a formula in Excel, you need to copy it
00:32across a row into adjacent cells or in some cases down a column.
00:37What we would like to see here of course is the answer 30 and the answer 50
00:41over here and so on.
00:42We need to copy a formula.
00:44Fortunately, the way that Excel copies formulas is that it really copies the
00:48relationship and that's an unusual way of saying it, but in this formula right
00:52here, a different way of phrasing it is, this formula subtracts the two cells
00:57above it--top cell minus the cell below it.
01:00Do we want to do same thing here?
01:02Of course we do, this cell minus this one.
01:05When we copy a formula, we're gong to be repeating the same kind of relationship.
01:10Now, the are various methods for copying data including formulas, but surely the
01:15best way to copy a formula into adjacent cells is to use the so-called Fill
01:21Handle in the lower right-hand corner.
01:24This cell that contains a formula that subtracts the two cells above it can be
01:28copied rightward, simply by clicking and dragging this fill handle to the right.
01:34As we let go, you certainly see correct answers and of course we want to check
01:39these out just to make sure in C4, what does our formula say, double-clicking, I
01:44can certainly see that's doing the right thing.
01:46How about column E over here?
01:48Double click, that's exactly what we want it to say and so on, every one of these.
01:53Copying formulas really means copying the relationships between cells.
01:58In cell H2, we've got a total using a function, the SUM function.
02:03It tabulates the six cells to its left and we want to do the same thing in cell
02:08H2 for the "Overhead Expenses" and in cell H4 for the "Profits".
02:14Here too, we can use the Fill Handle, drag the formula--the function in H2--
02:20downward into these two cells to get those answers.
02:24Our Average is a calculation in cell I2 and double-clicking and looking at it we
02:29see that it's dividing the cell to its left by six and we want to do the same
02:35thing in the two cells below this.
02:37Here too, we'll drag from the lower right-hand corner.
02:41There are many, many situations in Excel where you write a single formula and
02:45then copy it into adjacent cells by using this Fill technique.
02:49We've seen it initially with a row and then two examples used with a column.
Collapse this transcript
Calculating year-to-date profits
00:00In this worksheet YTD and Pct Increase, we want to calculate the
00:05Year-To-Date Profit.
00:06Now, we could do this with Sales or Overhead.
00:08We've just chosen to do this with Profits here.
00:11We'd like to have a running total month by month of how much profit we've
00:15made so far this year.
00:17In cell B5, we want to put in the January entry.
00:20Let's also be thinking ahead what we want to do in February and March.
00:24One thought, as we look ahead here might be, when it comes to February, we will
00:28want to add those two cells.
00:30When it comes to March, we will want to add these three, in April these four and so on.
00:35That sounds like it might be somewhat complex, but let's approach it this way.
00:39What if we figure out how to put in our January Year-To-Date profit, then we can
00:43go to February and add these two cells.
00:46So a Year-To-Date calculation is relatively straightforward, but maybe a
00:50little tricky at first.
00:51First of all, let's keep in mind the following idea.
00:54Our January profit so far is 20.
00:56Maybe these are dollars or thousands of dollars, depends on the size of the
01:00operation, but our Year-To-Date profit should always be the same as our January profit.
01:05We're not going to type in a 20 here because what if these numbers change?
01:09This number will change.
01:11Do we need to write a formula here that subtracts these two?
01:14Well, we could do that, but why don't we just say automatically, this cell here
01:19is always equal to the profit.
01:22In other words, equal B4, no matter what.
01:25If we change the Overhead to 95, Enter, these two numbers both change.
01:30This is always equal to the one above it.
01:32Let me undo that with Ctrl+Z. How about February?
01:36Earlier we had suggested we could add these two cells to get our cumulative
01:40profit--20 + 30 is 50.
01:43We could also add these two-- 20 + 30 is 50--so what's best?
01:47Well, look ahead to March.
01:49In March, will we be adding just these two cells to get our Year-To-Date profit?
01:53It'll make more sense to take the March entry and add it on to the
01:58previous year-to-date,
01:59provided this Year-To-Date is the total of these two cells. So let's write a
02:06formula here, equal.
02:07Now, we can add these two cells in any order we want.
02:10It's either going to be C4 plus B5 or the reverse, B5 plus C4.
02:16Remember you can click on cells if you wish-- do it this way--that's an answer.
02:22One way to express this formula is: it's the cell above, plus the cell to its left.
02:28Will that makes sense over here in March? It surely will.
02:31The cell above added to the cell to its left.
02:34The formula for February here is the one that we want to copy all the way across.
02:39We'll simply drag the corner here into June.
02:42A quick check is that our June Year-To -Date profit is the same as the total
02:47Profit that we have here.
02:49Writing a simple formula like this ultimately is simple and straightforward,
02:53although initially, it might be a little tricky.
02:55I'm not saying in any particular way that this formula is needed by everybody,
02:59but it certainly is commonly used and it does bring out and emphasize the idea
03:04that cell references are really important when you build formulas in Excel.
Collapse this transcript
Creating a percentage-increase formula
00:00In this worksheet we might want to calculate how much our Profits have
00:04changed month by month.
00:06We can certainly do this with the Overhead numbers and also of course with the Sales too.
00:11Let's say we want to focus on Profits.
00:13Now, is it always going to be an increase?
00:15It so happen that this day it is going upward, but not always, so maybe that
00:19wording there is a little bit optimistic; perhaps a better heading here might be "%ProfitChange".
00:28We're not going to have any number whatsoever in the January column, but
00:32in February we will, because this involves comparing what's happened over
00:36a two-month period.
00:37How much has the Profit percent gone up, we hope, or possibly gone down
00:43over these two months? It has gone up.
00:46How do we make this calculation?
00:48This may or may not be bringing back fond memories of high school math.
00:51You probably learned that back then, but do you use this capability all the time?
00:55Maybe not.
00:56It's relatively straightforward formula, but it does bring up a major issue
01:00with Excel formulas.
01:02Let's talk about how we do this.
01:04To calculate the %ProfitChange, we need to first figure out how much change has occurred.
01:10We need to subtract these two and then divide by the starting point.
01:14In other words, the difference is 10, we'll divide it by 20, this represents 50%
01:19growth and that's what we hope to see in our Formula here.
01:23Let's do the subtraction first, equal the February entry minus the January
01:29entry, and then divide that by the January entry.
01:33We're expecting to see 50% or .5, something like that, and it comes as quite a
01:39shock when you see a number like this.
01:41We're getting to the heart of the issue of what happens in Excel when you write a formula?
01:46What does Excel do first?
01:48If we're thinking standard calculators, well, we do the addition first, then the
01:52division, but in Excel that's not the case.
01:55Excel refers to what's called a "hierarchy of operations".
01:58What you see in column A, starting in row 8, is not something you're likely to
02:02see on your screen, but it does represent the hierarchy of actions.
02:07In performing this calculation, Excel, first of all looks down the list--
02:12what's the first symbol in the list that's in the formula?
02:15Division, so this happens first, B4 divided by B4 is one, what's C4 equal to?
02:22That's 30, 30 minus 1, that's why we get the 29.
02:26What we want to have happened first is the subtraction, so we put it in parentheses.
02:32And of all the mistakes you might make in writing Excel formulas, this is
02:35certainly one of the most common.
02:37You either forget to use parentheses or possibly you use them in the wrong order.
02:41By entering the formula this way, Excel in effect is saying, "All right, I see
02:46parentheses, I'll go there and do what's inside of them first, then I'll get
02:51to the division later".
02:52Now, we will get the subtraction done first, that's 10 divide by B4 which is 20,
02:57.5 is our answer, that's what we would expect.
03:01On the Home Tab to make this even better, let's use the % button, it's found in
03:06the number group here to display 50%.
03:09This formula deals with the two cells up in row four in that order.
03:14We would expect this formula to deal with these two cells and this formula with
03:18these two cells and so on.
03:20As we drag this rightward in the column June, we get our answers.
03:24Keep in mind these are not always positive, they are in this case, so far,
03:28but if our April Overhead number gets adjusted to be 240, that's certainly
03:33not a positive number.
03:35If your Profits go from 50 down to 10, they're down by 80%, so that's going to
03:40happen from time to time; but the main idea here is to recognize that when we
03:44are writing formulas--I almost want to say that whenever you have a mistake in
03:47a formula where you know the answer is dead wrong--first thing to look for is
03:51missing parentheses or misuse of parentheses.
03:54Excel operates on what's called the hierarchy of operations.
03:57Profit Change as it would be properly labeled here, is just an example of
04:01that issue and it's going to come up from time to time as you work with Excel formulas.
Collapse this transcript
Working with relative, absolute, and mixed references
00:00In this worksheet called "Absolute", we're about to put a formula in column
00:04F. We're going to create New Salary simply by giving everybody a $2000 salary increase.
00:09Now, a formula like this involves a standard Excel technique.
00:13If I type = and click cell E3+2000, and after typing this entry, you would want
00:21to copy this down the column.
00:23If you work with Excel formulas a bit, you know Excel will do exactly the right thing here.
00:28In other words, if we complete the formula and drag from the lower right-hand
00:32corner--let's just check it out on a few cells--
00:34Excel is not using E3 over and over and over again.
00:37It's surely adjusting to using E4 and as I double-click on these, E5 and E6 and
00:44so on, for as far down as we might copy this.
00:47That's called a Relative Reference.
00:49It's the most common kind of reference in Excel--a cell reference
00:52that is relative.
00:53If we copy the formula into different rows, it adjusts the Row Reference of a formula.
00:57Let's take a different situation here where we want everybody's salary to go up
01:02by a certain percent, maybe this 2.1%.
01:05So a formula here--and there are certainly a few different ways to write this--
01:09might be E3, times--using the asterisk--E3*, this percent.
01:14Now, if we were to press Enter now, we would simply have the amount of the
01:18increase, so we need to add on to that initial Salary.
01:21The New Salary for this person is going to be 55,696.
01:26It's simply calculating the amount of the increase and adding that onto
01:30the existing salary.
01:32We would want to copy this down the column.
01:34Again, testing it out on a few cells makes sense.
01:37As we do this, we almost immediately recognize that only the very first person
01:42is getting the increase.
01:44What happens in the next entry here?
01:46The E4 references are correct, but the reference to H2 has now slipped down into H3.
01:52You can probably guess what's happening down below here.
01:54Down here, it's referring to H5 and down here, as I double-click, it's referring to H6.
02:00In all of these examples, we always want the reference to be to cell H2, the
02:06percentage of increase for everybody.
02:08We don't want H2 to change.
02:10There are two ways to make a change here.
02:13Neither of them is really intuitive.
02:15We need to put dollar signs in front of the 2 and in front of the H. Why dollar sign?
02:20That's the rule in Excel.
02:22We need some symbol here to indicate, we do not want this to change.
02:26To make it a little bit faster, you can click after the H2 or in front of it
02:30or between the two,
02:31it doesn't make any difference.
02:32Press the function key F4.
02:35Now, had we been doing this from the beginning, right after putting in the H2,
02:39we would have pressed the function key F4.
02:42Now, the dollar signs have nothing to do with salary.
02:45That's just a coincidence.
02:47The dollar signs mean, if we copy this formula, the reference to H2 stays the same, exactly.
02:55That's what we wanted to have happen.
02:56As we complete the entry here and copy it down again--just a few cells--check it out,
03:01all are getting their increases.
03:02What does this formula say here, for example?
03:05It refers to H2, and so do the other ones.
03:09You quickly get used to this idea.
03:12When you see dollar signs in formula, you're not necessarily thinking salaries,
03:15although in this case it is.
03:17It's an indication that the cell, if copied, the reference to this cell will not change.
03:23Now, there are situations where you've got a dollar sign in front of the row or
03:28just the column--those are usually a bit more sophisticated
03:30we won't go into those--
03:31those are sometimes called Mixed References.
03:34In the example here, and we might have thousands of salaries, we want to make
03:38sure that every salary increase here is based on the Absolute Reference to cell H2.
03:44On the bottom one here, we can just double-click the bottom edge and copy that
03:48down to the end of the column.
03:50That might be thousands of rows deep here;
03:52all based on that single cell H2 and the cells over in column E, using what's
03:58called an Absolute Reference.
04:00It's an absolutely indispensable feature in Excel;
04:03almost everybody needs it at one time or another.
Collapse this transcript
Using SUM and AVERAGE
00:00Two of the most widely used calculating tools we need in Excel are totaling and averaging and
00:06we've got functions for those.
00:07Reminder, it's "Sum" for totals, "Average" for averaging.
00:11In cell G3, we need a total here, but rather than using the Sum function, let's
00:16use something called the AutoSum tool.
00:19It's found two places in the ribbon.
00:21On the Home Tab, you'll find it way off to the right, right here in the Editing Group.
00:26It's also found, as you might expect, on the Formulas Tab in the ribbon.
00:30Here it's off to the left-hand side.
00:32In both cases there's a little drop arrow associated with it as well.
00:36There is also a keystroke shortcut, Alt+=.
00:37If we want a total in cell G3 of the adjacent cells to the left, we can click
00:44the AutoSum button and see what the AutoSum tool is about to do.
00:48It's about to add up the cells to our left. That looks good.
00:51We'll press Enter.
00:52The AutoSum button is designed to look at data both upward and to the left
00:57to tabulate totals.
00:59Now, we can do this slightly faster though.
01:01We don't have to pause each time we're looking at this.
01:04I'm going to press Ctrl+Z to undo.
01:06Another way to do this is to click "AutoSum pause", just like a half a second and
01:10click it again, something like that.
01:11It makes it a bit faster.
01:13A double-click doesn't quite work, but that was clicking twice, just a slight
01:16pause between the two clicks.
01:18If we want a total on this column, we could highlight the cells ahead of time
01:22and then press AutoSum once to get our total below.
01:26If we're in cell H7 and we want to add the data from above or maybe we want to
01:31add the data from the left.
01:33What's Excel going to do?
01:34Because AutoSum is designed only to add from above or from the left, what does
01:39it do in a case like this?
01:41If we click AutoSum, AutoSum always looks upward for data first.
01:45Now, if we truly want to add those three cells to the left, we will intervene
01:49and simply click and drag across those cells and then press Enter.
01:53If we want totals right here in these cells, we can highlight them ahead of time
01:58and click AutoSum once; or similarly, if we wanted totals here, highlight these
02:03cells ahead of time, click AutoSum once.
02:06Better yet, as I undo both of these, what if ahead of time we knew that we
02:11wanted totals on the right and below?
02:13Highlight both of these and then press AutoSum.
02:17Now, there could be times that you want to do more than just adding and averaging.
02:21Suppose instead of total here, you wanted to find the maximum.
02:24I'll just put in "Max" for now.
02:27AutoSum has a drop arrow, in either of its locations, click the drop arrow to
02:31the right of AutoSum in this location or below it in the other location, and
02:35this time we'll choose "Max", because it's in the list here--choose "Max"--
02:38here we go, and Enter. So that's the maximum number in that range of cells.
02:44We can get to those capabilities too.
02:46And sure enough we can do the same thing with "Minimum".
02:48So at different times, we can use different features available from the drop
02:52arrow associated with AutoSum.
02:54Going back to the data over here--as I delete this, and delete this--if we
03:00wanted averages on the perimeter here, we'd highlight the cells this way,
03:04then use the drop arrow for AutoSum and choose "Average", to get our averages
03:09on the perimeter here.
03:11This tool is extremely handy and there are so many times when you need to add
03:15data or average it; and in some cases, finding the minimum, finding the
03:18maximum--take advantage of the AutoSum button in either of its locations and
03:22this drop arrow to the right.
Collapse this transcript
Using other common functions
00:00With over 400 functions in Excel, you may be wondering "how do you get a handle
00:05on them, how do you know what to look for?
00:07We're going to give you a few examples on this functions worksheet, which is
00:11found in the Workbook 03- Creating Formulas and Functions.
00:14When you do have that extra moment, if you go to the Formulas tab in the ribbon,
00:18recognize that there are some groupings of functions here.
00:21Now, depending upon what it is you're doing, maybe you'll click on Math & Trig
00:25and begin to see some of the many functions here.
00:28Most of us don't have the time to do this, maybe not even the inclination, but
00:32if you do pause and hover over one of these, you do get a description of them.
00:36Sure enough, some of these names are going to jump out at you, something
00:40about degrees maybe.
00:41Converts radiance to degrees that may or may not be useful to you. Here's something
00:44called Fact, which opens us to factorials which is something you may have
00:49heard of. Logarithms--
00:50those are built-in there.
00:51It sounds like maybe we're in some big fishing expedition maybe, but, based on
00:55the work that you do, maybe you do work with financial functions or financial
01:00data, and here's a financial group over here.
01:03Sure enough, some of these are likely to have relevance to what you do.
01:07Here's a nice one here for calculating mortgage payments, that sort of thing.
01:10There are tons of functions.
01:11You just don't always know where to begin.
01:13Date & Time functions can be pretty interesting for a lot of Excel users as well.
01:18There's one in here for picking out the day of the week called Weekday.
01:21There's another one for calculating monthly differences, differences between
01:25months or so many months out.
01:27There's an EDATE reference right there, so many months before or after;
01:31there's an EOMONTH.
01:32This just goes on and on and on.
01:34Let's talk about a couple of functions that you might not have heard about, you
01:38wouldn't necessarily need, but on the other hand, I think they have a lot of
01:41relevance to certain kinds of lists.
01:43Here's a simple one here.
01:44We simply want to count how many names are in column A. It might be a huge
01:49list, it might not be.
01:50We can count the number of cells that have data in them.
01:53That function is called Count A.
01:55Now, anytime you type equal and then a letter, you'd see all the functions that
02:00begin with that name.
02:01Now, I could certainly type this faster than finding it, but nevertheless, if
02:05you do find it, for example, "Count"--we see it in there--Count A right here, this
02:10particular function counts the number of cells on a range that are not empty.
02:15Rather than typing it, we can press Tab right now and use that.
02:17Where are we looking?
02:19Maybe we're looking in Column A. By the way, it will ignore the icon, the image
02:23that's in cell A1, sitting on top of cell A1.
02:26People ignore that.
02:27If we want to know how many cells have data here, we are counting cell A2 as well.
02:33If the question is, "do we want to count how many people work here?"
02:36Well, we'd want to subtract 1 from this, but if it's simply a count of how many
02:41cells have data, there is our answer, it's 13.
02:44If we wanted to change that wording to the right, let's say number of people,
02:47then we'd subtract 1 here.
02:49If we want to count the cells that have numbers, how many different salaries do
02:53we have here, it's almost the same, but it's called Count.
02:58Here, we'll just click Column E.
02:59By the way, referring to an entire column often makes sense.
03:03If there's nothing else in this column--now there is text in cell E2, but
03:08there's nothing else there--and we're trying to count the number cells--we should
03:12get sensible answer here--
03:13there are 12 of them.
03:14In this list here, we're dragging downward to see that.
03:18By the way, when you drag downward, you will see in the upper left corner to the
03:22left of the formula bar, the indicator up there, and you don't see it at the
03:26moment--but as I highlight this again, keep an eye on this area--the name box,
03:30to the left of the formula bar here, will indicate how many cells I'm
03:33highlighting, and it does it in the following style that says, "12Rx1C"--meaning
03:3812 rows by one column.
03:39There are 12 cells here that have numbers in them and here's the formula again.
03:45Using the Count function,
03:47count the number of cells in Column E that have numbers in them.
03:51Now, Median is a commonly used number when dealing with certain kinds of entries.
03:55Earlier, you might have seen how on the Formulas tab, you can use the drop arrow
03:59for AutoSum to get to a Max or a Min, but we don't see Median in here, so it
04:05might be faster in this case to actually type in the name of that function.
04:08How do you know there's a Median function?
04:10You happened to discover it.
04:12It's probably a good guess, because that's a commonly used statistical
04:16measure. The Median salary, say for the New Salaries in column F, What's the Median Salary?
04:22There it is right there.
04:23Is it different than the average?
04:25Well, we could calculate the average, just as easily, and let me move this down actually.
04:28Let's do an average as well right here.
04:31This time we'll use the AutoSum drop arrow, choose Average, and we don't want
04:37that average, but we want the average of column F, and Enter.
04:40Of course it will make sense to format both of these and compare them.
04:44Go to the Home Tab.
04:45Click the comma button, good enough for now, the Median and also the Average.
04:50Now, finding this 2nd Largest entry, it may or may not be that important--it
04:55wasn't to me until a few years ago when I needed it a couple of times--and I
05:00thought you'd do something like a "max" or "sort the data", but there is a function
05:04way, and it's called Large.
05:05I don't think you'd exactly guess that.
05:08Large says where are we looking?
05:09We're looking in column F, comma.
05:11The 2nd highest, put in the two, third highest, put in the three, and so on.
05:16What's the second highest salary there? 76,728.
05:18It doesn't tell us where it is, but it tells us that it exist in here.
05:25Here's an 81,000, so that's the highest.
05:27It looks like somewhere in there, we've got a 76,000, there it is right there,
05:31that's the second highest.
05:32Now, if you're familiar with statistics, you would know about
05:35standard deviation.
05:36Now, do you make a guess here?
05:38Do you start typing? Maybe.
05:40Perhaps better--
05:41go to the Formulas Tab.
05:43Strange enough, you don't see statistical here at first, but if you go to More
05:47functions, you do see statistical and quite a few entries here.
05:52You could probably guess--and guess correctly--if it's going to be
05:54standard deviation
05:55it begins with the letter "S", probably ST.
05:58As it turns out, there's a cluster of them here, and you just have to figure out
06:02which one suits your needs best.
06:04For those of you who have used this, you know--you have some sense of what it does--
06:08it indicates how much variance there is between the average and each of the entries here.
06:13It does it in a waited kind of way.
06:15Maybe it's this one, maybe it's this one.
06:18You'll know which one to use.
06:19That example here, it actually will prompt you into highlighting the data, for
06:25example, column F, and we'll click OK and get our answer.
06:28Now, if you're familiar with standard deviation and how that works, that's
06:31a meaningful value.
06:33It's hard to come up with a master list of the functions that you need or that I
06:37need or the next person needs, because so many different people use Excel in so
06:41many different ways; but the Formulas Tab, at least opens you up to some of the
06:45major categories, gives you some ideas and as you work with these more and more,
06:50you'll have a better sense of which of these functions is likely to be used.
06:54There's just a ton of them.
06:55Don't get overwhelmed, but there's no question, they're going to save you a
06:58great deal of time as you work with Excel.
Collapse this transcript
4. Formatting
Exploring font styles and effects
00:00On the Home Tab in the Ribbon, one of the most prominently selected group of
00:04icons is the Font Group right here.
00:06These involve changes that we might want to make to our worksheet, to make data
00:11standout a little more prominently or give greater emphasis to a title or some
00:14of our row headings, for example.
00:16Certainly, one way to get to this might be, for example, the title we have on
00:20this worksheet called Fonts, in this workbook 04-Formatting.
00:24Let's change this cell D1.
00:27The text extends into the other cells, but we could easily change the font type itself.
00:32Calibri is the most commonly used font in Excel in recent versions, but as we
00:36slide over these other choices, we can see how they might look.
00:40There are so many choices here that if you're a bit picky, you might spend a lot
00:44of time looking at some of these.
00:46You can also use the mouse wheel to scroll up and down, slide over this one,
00:49slide over that one, maybe make a choice, maybe not.
00:53Some would be, perhaps totally inappropriate for workplace usage--others look
00:57pretty interesting, maybe they do--just a ton of choices.
01:00How does that one look, and so on?
01:03At some point, maybe you'll say, "okay
01:04I'll try this one or that one".
01:06Of course, what else might we do with this?
01:08A fast way to get here is by right- clicking because that activates the mini toolbar.
01:13Nearly, all the buttons we see up there in the Font group on the Home tab are
01:17also shown here in the mini toolbar. So maybe we'll change the Size of the font
01:22this way, or that way maybe.
01:24While we're at it, color background for the cell, and of course, not all these are
01:29going to be great choices.
01:31Bold, it's already bold, perhaps, italic, slanted, and so on.
01:34Lots of choices here, by the way of the font group, or by right-clicking in the mini toolbar.
01:40Now, there could be a feature that maybe you just don't see there, but you
01:44suspect it's available.
01:45You perhaps have seen subscript or superscript.
01:48Sometimes, the way we need to get to features to adjust the font are by way of
01:53the little arrow on the corner here, the so-called Dialog Box Launcher.
01:58If, for example here, if we wanted to use--maybe in a different situation
02:01here--like how do we get to the two, how do we write the little two as a superscript here?
02:06In this example, let me zoom in on it, and I will use the zoom slider in the
02:11lower right-hand corner on the status bar to zoom in on the data here.
02:13If we were typing this, we would type it, at least initially this way, "e=mc2".
02:20Highlight the 2 now, by clicking the Dialog Box Launcher. And there are two other ways to
02:25get here by the way, one is Ctrl+1--
02:28it activates the Format Cells Dialog Box--
02:31just like that arrow does there.
02:33This leads us into some other capabilities here.
02:36There aren't a whole lot more than what we actually see on the Home Tab, and
02:39certainly superscript is one of them here, and that's the one we might want to
02:44use in this case here; so now the 2 is a superscript.
02:47Sure enough, same idea here with the subscript H20, you'll just type it as H20,
02:51then select the 2 and jump back in here.
02:54Once again, H2O, highlight the 2, this time a little bit different, we'll press Ctrl+1--
03:01get there a little bit faster--and we'll try subscript this time to come up with H2O.
03:08There are some unusual underlining choices available with fonts too that you
03:12don't see in the font group here.
03:14Those too, you can get to with that Dialog Box Launcher or Ctrl+1.
03:19One of the methods of getting into those choices--let's imagine we might want to
03:23make some font changes here--
03:24we can right-click and go immediately into Format Cells.
03:29This doesn't always take us to the Font Tab, although often it will.
03:32Sometimes, you'll find yourself at the Alignment Tab, but you can easily
03:35make the switch there.
03:36Maybe we're considering here some underlining changes that we don't see on the
03:41Home Tab, so we've got some others up there as well; maybe double counting or
03:44something that appeals to us.
03:46Click OK and maybe it is or maybe it isn't, but we can get to those features as well.
03:50There are lots of different ways and reasons for wanting to change the font, and
03:54again, some of them are quick and easy like Bold, Italic, Underline.
03:58We can get to them this way or earlier, we saw how by right-clicking you
04:02activate the mini toolbar to get to those features even faster.
Collapse this transcript
Adjusting row heights and column widths
00:00You can easily adjust the width of columns and the height of rows whenever needed.
00:05You're much more likely to need these with columns.
00:07Rather than using commands, although you can, it's much, much easier to use the
00:11actual column separators.
00:13If I want to make column B wider, I'll point the mouse on the boundary between
00:18B and C, where the actual letters are, click and drag to make it wider or in
00:22some cases narrower.
00:23If you make a column too narrow for the numbers to be displayed properly, you
00:28will see pound signs.
00:29A better solution sometimes is simply to double-click a boundary, and that
00:34means in effect, make the column wide enough to handle the widest entry; so
00:38we'll double-click.
00:40Now, if at a later time, if we happen to put a word here or a long number, maybe
00:44I'll put in a long word like this, and press Enter.
00:47The column width doesn't adjust, but if I double-click the boundary between B
00:54and C, it certainly does.
00:56I misspelled it anyway, but if I take that out, what happens?
00:59The column doesn't get any narrower, so we'll double-click.
01:02With numbers, you're less likely to need that.
01:05Now, how wide is a column and do we really care?
01:07If we put the mouse pointer on a column boundary and hold down the left mouse
01:11button, we see its width with some number and then the term pixels--this is 64
01:16pixels wide and so is this one.
01:19That's a number hardly worth remembering, but it does at least inform us that
01:23the two columns were of the same width.
01:26Sometimes, we do keep an eye on that a little bit.
01:28Now, recognize if I changed this June entry from $980 to $1000, that's going to
01:32require the use of a comma, and so this will take up more space.
01:37What happens when I type $1000 here? Enter.
01:42The column grows automatically.
01:44The other columns here, like the one on the left, 64 pixels wide, this one is 75
01:49pixels wide, but we don't worry about that usually.
01:52If somehow or the other, you wanted all this to be the same width, you could
01:55drag across these columns here, take any of the boundaries, drag it to that
02:00width, 75 pixels, something like that. Here we go.
02:03Now, they're all exactly the same.
02:05If on the other hand, if you said "I want each once of these to be wide enough to
02:10handle the widest entries", in other words, let's make them all be "best fit".
02:14Let's drag across all these maybe, even on the column I--double-click a
02:18boundary--and every column is wide enough and just wide enough to handle the widest entry.
02:23Now, you can certainly get to these features as well by going on the Home Tab to
02:28the cells group format but again this takes us in the territory which usually
02:33is no more efficient;
02:34it just takes longer to use the feature.
02:36It's much easier to adjust these by dragging these boundaries or
02:39by double-clicking.
02:41You can adjust non-adjacent columns.
02:43I could click column B and then with the control key, click column I to adjust
02:47both of those widths at the same time.
02:49When it comes to row heights, often this is automatic.
02:52For example, if I click in cell A1 and I want to use a larger font, in the font
02:58group on the Home Tab, I'll click the drop arrow, and as I slide over these
03:01numbers, you see what's happening to the row height.
03:04It's happening automatically.
03:05Occasionally, you might want to change row heights, we could easily do that.
03:09Let's change the height of these rows here. What do we do?
03:12Drag any of these boundaries,
03:14it doesn't make any difference which one, any boundary between the numbers, make
03:17it a little bit taller maybe.
03:18We've made all of those taller at the same time.
03:21You're much less likely to want to do that or need to do that, but you certainly can.
03:25It's easy to adjust the column widths and row heights, much more likely with
03:29column widths, but it's a feature that works best by using the boundaries of the
03:33columns, rather than using the actual commands in the ribbon.
Collapse this transcript
Working with alignment and Wrap Text
00:00On the Home Tab in the ribbon, there is an alignment group with a variety of
00:04tools for allowing you to line up text in different ways within cells.
00:09Here's a look you may or may not like.
00:10I'm going to highlight the cells in row 3 and using this icon right here for
00:15Orientation, click the drop arrow and maybe angle the data counterclockwise,
00:20maybe gives it a little bit of flare or possibly exploring these some more
00:24and clicking the arrow.
00:25How about Rotating the Text Up?
00:26How does that look?
00:28Could be interesting maybe.
00:28We could adjust the row height eventually too, if we wish, so that makes sense sometimes.
00:33If we want to change back here, we can simply rotate the text up again and
00:37actually that turns it back to normal or possibly could have done an undo there too.
00:41There are times when you've got data in a cell and you actually want to wrap the
00:45data, so that it appears as if you've got two rows of data in the same cell.
00:50We could certainly make column A wider, but on the other hand we might want it narrower.
00:54Let's apply what's called Wrap Text to the data here, for example.
00:59This may cause some unsatisfactory appearances.
01:01We might eventually change our minds and readjust the column width.
01:05By going to Wrap Text, what we're seeing here is "wrap the text".
01:10In other words, if it won't fit across the column width, then put it in the same
01:14cell but underneath the data this way.
01:18I think in the example here, these aren't great choices, but do recognize this,
01:22if you were in a different worksheet-- let's imagine that we were for the moment--
01:25if you're going to put in an entry on the column, maybe you want to put in 2013
01:29Salary and you're envisioning the column not needing to be very wide.
01:33If you want the word Salary to appear under 2013, you can press Alt+Enter and
01:39then type Salary and then Enter.
01:42It automatically stacks up the data that way.
01:44By pressing Alt+Enter, you were controlling where the wrap occurs.
01:47Another example could be--we'll just use this
01:50again--imagine that we're in a totally different worksheet here.
01:52If I were to type in 2013 and then Alt+ Enter and put in Tax, and then Alt+Enter
01:59and then Rate, if this is a column, it only is going to have letters or a few
02:04numbers in them, that would give us the opportunity to make the column maybe a
02:07lot narrower, if we had that kind of data in it.
02:09Recognize that you can also wrap texts, simply by pressing Alt+Enter to force a line break.
02:15Now, at times we have data like this that's a title, and this is in cell D1,
02:21and it might look fine there, it might look better though if it were in the
02:25middle of the cell--not middle left- right--but middle, meaning top-bottom.
02:30These three buttons here have to do with vertical alignment.
02:33This is currently bottom aligned,
02:35it might look better in the middle, so let's see it that way, where it might
02:39look better on top; so we can make those changes.
02:43Now, it might also make sense to center this across these cells.
02:46The data itself is in D1, so what might we consider doing here?
02:51How about merge in the center?
02:54And that makes sense there too.
02:56We might want to do that with this as well, centering all the way across there--
03:00that may or may not be a good choice-- but we could try it, Merge & Center.
03:04In this case, as in the case up here, we've essentially blended or merged all
03:09of these cells, A1 through I1 are now one big cell called A1, and there is
03:14really no B1 and C1 here.
03:15This is all one big cell here.
03:17You might add color to it, something like that.
03:20We've centered this across columns A through I. In this example here, we've
03:25centered it across columns D through I.
03:28Keep in mind too, something really basic, we might want to take this data and
03:31center it and of course we've got these buttons here for Aligning Right,
03:35Center, and Left, maybe Center looks better there and maybe not, maybe lining
03:39it up on the right.
03:40From time to time, that might be the better choice.
03:43We've got easy tools here for realigning data, both horizontally
03:47here, vertically here.
03:49Earlier we saw Orientation, Angling Text and Wrap Text, as well as Merge &Center.
03:55Various Alignment Tools we have at our fingertips, by way of the Alignment
03:59group on the Home tab.
Collapse this transcript
Designing borders
00:00Adding borders to a group of cells is another way to give emphasis to a
00:04particular part of a worksheet.
00:06In this worksheet here called Borders, highlighting these numbers here maybe is
00:10being done because, these are pure values,
00:13we want them to stand out a little bit differently than the other numbers.
00:17There are two ways to get to this capability.
00:19On the Home Tab, we can use the Border button right here.
00:22Click the drop arrow, tons of choices.
00:25We might just want a "thick box border", and there it is, but a little tricky to
00:29see while they're still highlighted.
00:31Many, many times when you're applying border features, you want to click
00:34elsewhere and then see the effect of what occurred.
00:37Also of help here, particularly if you're using even lighter borders than
00:40this, you might want to turn off or inhibit the display of gridlines as you
00:45work with the data.
00:47Remember, that's independent of working with the data when you're printing it.
00:51On the View Tab, you can uncheck the box for Gridlines.
00:55That will just allow us to see these a little more clearly.
00:58Another possibility here, we can do this, maybe we want to highlight these for
01:02one particular reason or another, here too, we could, and this time, by way of
01:06right-click, use the mini pop-up toolbar right here.
01:10We've got the same choices here and we'll just use outside Borders.
01:13That's tricky to see too, until we click outside of it, but there it is as well.
01:19Now, if you're interested in different kinds of borders, sometimes what you
01:22might want to do is right-click and go to Format cells or if you're on the Home
01:27tab, you can right-click either this button here for Alignment or Number--that
01:33doesn't sound exactly relevant, but you can use those--or you press Ctrl+1.
01:36Right clicking format cells Ctrl+1 or any of these buttons and I'll press Ctrl+1.
01:44Any of those choices will take you to the Format Cells Dialog Box, and a border
01:48isn't selected, click it, and we got some choices here.
01:53The case could be that you wanted to use color.
01:55Here's a color choice.
01:56Maybe we want to use a dark red border or something like that.
02:00It could be a thick border, it could be one of these kinds of designs, and
02:04while we're here, we could have an Outline Border as well as an Inside Border,
02:08and there are even oddities like these here, which I think most of the time we
02:12are not interested in.
02:13Once again, OK to get that effect.
02:15If that were not enough, there are other techniques here too, and obviously, it
02:19would be overkill for me to put borders on this part of the worksheet, but once
02:23again, on the Home tab, clicking the drop arrow,
02:26there's even a choice here for Drawing a Border or Drawing a Border Grid.
02:30Draw Border Grid, we'll just drag across these, like that.
02:34May be we don't' like the color, go back up here and pick a Line Color and so on.
02:39You could spend a lot of time out here, fine-tuning this to fit your needs.
02:44At times, you don't want any borders.
02:46You want to get rid of them possibly or maybe these were sent to you and
02:48you don't like them.
02:49A quick fix here by way of a keystroke shortcut is to select the data in
02:53question, maybe even the whole worksheet, but let's say we get rid of--how
02:57about the lower ones here--
02:58We don't want any borders there,
02:59it's Ctrl+Shift+Underscore.
03:01That will get rid of them.
03:03A more logical way would be, highlight the data or possibly by clicking the
03:07upper left hand corner, using the entire worksheet.
03:10Go to the button right here on the Font Tab and choose No Border, and all
03:15borders will be gone. But I think there's no question, that in some worksheets,
03:19putting a border around certain groups of cells does give greater emphasis to
03:23the data that you've selected.
Collapse this transcript
Exploring numeric and special formatting
00:00Excel has a wealth of numeric formatting options, and two of the most common
00:04options are the dollar sign and the comma button.
00:08They're found in the Number Group on the Home Tab in the ribbon.
00:11Column F shows salaries.
00:13It's probably unnecessary to show the dollar sign, but we might want to.
00:17Notice that when you point to dollar sign, the pop-up tip says, "Accounting
00:21Number Format" and that's what we see.
00:24If you make the column wider, the dollar sign stays on the left-hand side.
00:28You might or might not like that.
00:30That's certainly one option.
00:31You could easily make the case for saying, "Well, these are salaries.
00:35We don't really need to see the dollar signs.
00:37It's pretty obvious, isn't it?"
00:38So we might want to use comma.
00:40This is not the opposite of dollar sign or accounting format.
00:43It simply doesn't display the dollar sign if we use comma.
00:47I wouldn't do this for the whole column.
00:49And we don't need to make the column that wide, we can make it narrower.
00:53If we don't want to see the pennies there, they're all zeros anyway,
00:57we could certainly make that column even narrower by not displaying pennies.
01:01By the way, using these buttons to increase the display of decimals or decrease
01:06has no impact whatsoever on the actual content.
01:10Sometimes, people do make that mistake and if we did have pennies there, this
01:14would simply be hiding them and it would do visual rounding.
01:17Now, column G here, similar data, although this case does have negatives,
01:22what happens with accounting number format as we readjust the column width by double-clicking?
01:28Negatives appear in parentheses, here too, making the column wider and narrower.
01:33The dollar signs are always on the left-hand side.
01:36There are other variations though.
01:37If we press the Dialog Box Launcher right here, or possibly press Ctrl+1, that
01:44will take us to the Format Cells dialog box.
01:47On the Number tab, we see Accounting format here.
01:50How about Currency format?
01:52Isn't that the same thing?
01:53It's going to be different in two respects.
01:55You want to keep an eye on the dollar signs here in column G as well as what the
01:59negatives look like.
02:01And I think you can see ahead of time,
02:02the negatives might be in red or they might be black in parentheses or
02:07they might just be red.
02:08In other words, you make the call as to how you want this to look. Here we go.
02:13That's another variation.
02:14Notice on the whole numbers that are positive here, the dollar sign is
02:17right next to the number.
02:18If I were to change just this one-- watch Accounting Number Format--
02:23shift the dollar sign that way.
02:24The objective of this is not to confuse but to have you recognize that, when you
02:28do get data from other sources, you might get a mix or maybe you're getting data
02:33that's in one format or as you use the other.
02:36You want to come up with some kind of a standard.
02:38I say by all means, if possible, if you like the dollar sign, Accounting Number
02:43Format, use it and stick with it, and maybe show the decimals or don't.
02:47But if you simply stick to one variation or another, you won't get too
02:51bogged down on these.
02:52Recognize too, when we have data like this, making the columns wider,
02:56sometimes we want the dollar sign to stay hugging the left-hand edge,
02:59sometimes we don't; and recognize here, that's accounting format in these two
03:03cases. The example here,
03:05this is simply the comma button choice with no decimals.
03:09Now, with certain other kinds of data, for example, the data in column B, you
03:13may or may not use Social Security Numbers, but it looks like something happened
03:17here that's not quite complete.
03:18Whoever typed these entries here decided not to type the hyphens. Well, why not?
03:24Well, it's a good idea but not quite fulfilled.
03:27If you're going to use Social Security Numbers, take advantage of the fact that
03:30Excel has a built-in format, and rather than typing the hyphens, let Excel enter
03:36those by way of a format.
03:37So this time I'll right-click to get to it, remember, we could also press
03:41Ctrl+1 to get to it.
03:43Format Cells, if you right-click.
03:46And this time, using the Number Tab, the category is "special" and there we are
03:52with the Social Security Number, click OK.
03:55Make the column wider in this case, and let me--using the zoom bar in the lower
03:58right-hand corner--zoom in a bit on that so we can see it even better. There we go.
04:04These are actually not here.
04:06They're not there in the Formula bar.
04:07If you double-click in the cell, you don't see them there.
04:10If you're making a change, maybe that should have been an eight, you don't see any hyphens.
04:14Press Enter, they are there.
04:16They're in the format but not in the actual content.
04:18If these are supposed to be phone numbers in column C here, I want to take the
04:23whole column here, and format these in the same way that we did earlier; either
04:27by right-clicking and going to Format Cells or pressing Ctrl+1, Format Cells,
04:33and here, Category, Special.
04:36Same place we found Social Security Number.
04:39Now, we have phone number.
04:41Click OK, and that displays the numbers once we adjust the column width this way.
04:45So, rather than typing 14 characters, you just type the numbers.
04:50So here too, if you're adjusting these, maybe that shouldn't have been an 805,
04:54maybe that was a 213,
04:55you want to double-click in here, change that to 213.
05:01Press Enter and you've adjusted this.
05:03So those are two built-in formats as well.
05:06At different times, you will want to change formats, but again, make it simple.
05:09Rely upon the buttons in the ribbon as much as possible.
05:12Remember, these are also accessible by way of the mini toolbar.
05:16So, if we were to right-click here, we could go into the mini toolbar here and
05:19make our choice here of dollar sign or comma as well.
05:22And then there is the occasional use of adjusting, the positioning of
05:26the decimals as well.
05:27So, a variety of numeric formats, we can get to them easily by right-clicking or
05:32going in the format cells to adjust those displays of numbers.
Collapse this transcript
Formatting numbers and dates
00:00Excel gives you a variety of ways to display Date and Times.
00:04In this worksheet called Date and Time, look at the data in columns B and
00:09columns C, both showing essentially the same kind of data,
00:11simply displayed differently.
00:12The data in column B, shows four- digit-year and column C, two-digit-year.
00:16Obviously, one takes up more space.
00:19Sometimes that's the issue, usually not.
00:21Is it clear to the audience, whoever is using this?
00:24Recognize also the data in column I is different too.
00:28The formatting in column I, does clarify which month it is.
00:31Sometimes and particularly, if you're getting data from other countries, outside
00:35the United States, they tend to work with the layout of day, month, year,
00:39whereas in the U.S., we tend to use month, day, year.
00:42But if there's any doubt, column I tends to eliminate that by that display.
00:46Let's take a look at some of the built-in formats here.
00:48The standard display in most Excel versions is, as you type an entry, you see a
00:53four-digit-year, the way we're seeing these in column B. Let's imagine we might
00:58want to change the ones in column C here.
01:00If it's the entire column, we'll just right-click on the entire column, and one
01:04of the many ways we can get into formatting--Format Cells--after right-clicking.
01:09In the Format Cells Dialog Box>Number tab>Date, and you've got to kind of put the
01:16pieces together a little bit, if you simply wanted to show month and day, that's the
01:19way we see it right here.
01:20We would use that display.
01:21Here's the one with the two-digit-year.
01:24Here is the one that uses leading zeros for months that are under 10 or days
01:28under 10 and other ways to display the data as well here.
01:32Quite a few variations as we look through the list, even spelling it out this way.
01:36You might even try this one for example.
01:39That certainly takes up more space, but it certainly eliminates any doubt as to
01:42what you mean by this.
01:43And you could even go further with these.
01:45You can apply your own.
01:47Now, I often steer people away from the idea that you can actually create a
01:52custom format, but what I just did here was to right-click column C and choose
01:57Format Cells, and on the Date tab-- after having selected this, I'd just made
02:01the adjustment to--
02:02I'm going to jump over to Custom.
02:04What I then might do in this display and I don't want to explain every single
02:08icon here, but I'm going to change this so that instead of simply four M's, a D,
02:13and three Y's, in front of this, I'm going to put four D's.
02:18That actually will spell out day of the week.
02:20If I put in three D's and we put in the abbreviation, a comma and a space.
02:24Now, would I really care about a higher date as to what day of the week it is?
02:28Probably not. But in certain other kinds of data, I might, and this would allow
02:32us to see it clearly as we see here.
02:35So there are lots of variations on that.
02:36These do take up a lot of space, but for clarity, sometimes that make sense.
02:40There's only one keystroke shortcut associated with date entries,
02:44that's currently being used in column I. If we want to use that in column B,
02:48simply click column B and keystroke shortcut is Ctrl +Shift+#.
02:52So, that displays the date information that way.
02:56Now, when it comes to times--we've got some columns over here with times--
03:01the way these times are entered--and they're also set up to handle formulas too--
03:05we use colons for time entries.
03:08One way to display times is the so- called 24-hour style, which is widely used
03:13throughout the world.
03:14Maybe a little bit less so in the United States, but even here we see these
03:17a lot; 24-hour time like this.
03:20The variation you might want to use here is, once again, by right-clicking,
03:25going in the Format Cells, on the Number tab>Time.
03:30Maybe not obvious at first, but the choice for PM is right here.
03:34Now, this will show AM or PM as necessary. Click OK.
03:38So, we see that display and readjusting the column, it's possibly this way.
03:43We can display times also more coherently, could have done those both. There we are.
03:49We either use the AM or PM or the 24-hour style.
03:51If the numbers are coming to you this way and you're saying, "I want to change
03:55them all", we'll do the whole columns, here too.
03:57Remember, another way to get to Formatting Cells is Ctrl+1.
04:01You can do that here, and the variation here, where we want to want not see AM,
04:06PM, is the choice 13:30. Click OK.
04:11If you entered times with colons, and previously in our examples, entered dates
04:14with slashes or hyphens, you do set the stage for using these in formulas and
04:19taking advantage of Excel functions that relate to dates and times.
04:23So, it's a strong feature and the formatting capabilities certainly clarify the
04:27appearance of the data in the way that you want this data to appear.
Collapse this transcript
Conditional formatting
00:00In this worksheet called Conditional Formatting, we might want to make some of
00:04the years in column F standout a little more prominently.
00:07Conditional Formatting practically explains itself.
00:11We're saying we want certain numbers, those above a certain amount, within a
00:15certain range, to have a different look.
00:17And as we make the choice here, we've selected column F ahead of time,
00:21Conditional Formatting, highlight Cells Rules.
00:24How about those Greater Than? Greater than what?
00:28And immediately, we see some color changes in column F. We haven't even
00:31decided what we want yet.
00:32Format cells that greater than eight.
00:34Well, maybe we want to do this for those that are greater than nine in other
00:38words the 10's and above.
00:39Do we want to use light red fill and dark red text? Well, maybe so,
00:43that looks okay.
00:44We can see it already.
00:45We don't get a preview on these but we can imagine what some of these we might use.
00:49How about a red border maybe, something like that?
00:51Well, that looks okay.
00:53How about red text or whatever?
00:54And if these aren't good enough, create your own custom format.
00:57How about yellow fill? Anyway, click OK.
01:01You've made your choice.
01:02It is dynamic, too.
01:04If we make an adjustment to the Hire Dates and one of these years slips below
01:0810, it's not going to be highlighted anymore, or one goes above, the opposite
01:11effect, it will be highlighted.
01:14But there are other features, too, maybe on the salaries here.
01:16How about those above average?
01:18Conditional Formatting, we've got Top/ Bottom Rules here, and quite a few choices.
01:23We might want to highlight just the top 10% or the bottom 10 entries or top 10.
01:28How about those above average? There we go.
01:31And once again, a similar kind of selection, we may or may not like
01:35this capability here.
01:36Let's just cancel this.
01:37We can certainly explore that option, too.
01:39Let's go back again to Conditional Formatting.
01:41How about Data Bars?
01:43What we see here is a different bar for each entry, and the width of the bar,
01:48more or less, conforms to the higher salaries, as we see this.
01:53Now it's a little bit difficult perhaps to read the numbers or read the bars
01:57depending upon how you're viewing this.
01:58But we can see what's happening here, a quick visual addendum to the data here
02:03to point out which of the salaries are higher.
02:05And there is by the way, as we'll see, a way to hide the numbers and just show the bars.
02:09So, that's certainly an option there.
02:11A lot of choices here, too.
02:13And in a similar vein, how about Color Scales instead?
02:16What Excel does here is it divides the data into fifths or sixths or whatever
02:21here and then applies color here.
02:24It actually uses more than you might think at first, and some of the color
02:28shadings are very subtle.
02:29It's a bit hard to figure out the differentiation on some of these
02:32colored variations.
02:33But I think you can have a sense here.
02:36In the example, if I were to pick this one, the lowest salaries are dark green
02:40and the highest salaries are dark red. And the early one here, this is just the reverse of it--
02:45higher salaries are dark green,
02:46the lower salaries are dark red.
02:48So you've got some options here, too.
02:49All these selections here are dynamic and they do react to changing data.
02:54So you might want to try that, maybe better yet though.
02:57How about Icon Sets?
02:58This will divide our data into thirds with these choices here using different
03:03icon choices; or how about fourths this way or fifths even?
03:07And we've got different shapes, different choices here.
03:10We might want to use, say this scheme here--four arrows.
03:14Greens are the highest salaries, reds the low, the two yellows are in between.
03:18If we don't want to see the salary, we have to come back and choosing
03:22Conditional Formatting, Manage the Rules.
03:25Now we're not deleting the cell, what we're doing is hiding the salary and we do
03:29this by way of editing the rule.
03:31So here's the rule in question, Edit the Rule.
03:35And there's a box, Show Icon Only. Click OK.
03:39So if you want to make a presentation of this data, click OK again, and not show
03:43the actual salary--but just give a rough idea of which range this falls into--we
03:48probably want to center this as well, this way then we have that.
03:52Now, if you click a cell, you will see the Salary in the formula bar and it's still there.
03:56But nevertheless, sometimes this gives us the broad picture that's all we want
04:01for a certain presentation.
04:02And certainly with Job Rating, we could certainly use some of the schemes here, too.
04:05So it's a rich feature.
04:07It will take you a long time to explore a lot of the variations here.
04:11The three major ones, the ones that get the most attention are Data Bars, Color
04:16Scales and Icon Sets as we'd just seen in these examples here.
Collapse this transcript
Creating and using tables
00:00If you work with large lists of data or lists that you think are likely to
00:04become large, you might want to look into the feature called Tables.
00:08You can simplify working with data if you convert Data into a Table.
00:12This feature primarily gives you the visual coherence to a data, but also gives
00:17you some tabulating enhancements, and allows you to treat your data as an
00:21entity, and also, it gives you features that are ideal for dynamic data--lists
00:25that are going to grow.
00:26You can start this process if you have only a title row and one record stored at
00:30that point if you wish.
00:32This is larger list here about 700 rows.
00:34Let's take a look at this Table feature.
00:36First of all, in this list there are no empty rows, there are no empty columns.
00:41There are some empty cells in Column G, and there could be some else where too,
00:45that's not the issue.
00:46We don't worry about that.
00:47But how do we convert this into a Table?
00:50On the Home Tab within the Styles Group, you'll see a choice called, Format as Table.
00:54Also, on the Insert Tab, we see a choice called, Table.
00:58Here, the description is a bit longer.
01:00Create a table to organize and analyze related data.
01:03Tables make it easy to sort, filter, and format data within a sheet.
01:06Let's make the choice.
01:08Excel scopes out the data, give it a quick look there and make sure it's picking
01:11up all of your data.
01:13In this case it goes down to row 742, columns A through I. Click OK, and its
01:18pretty obvious there's a visual change here to the data.
01:21Every other row is blue.
01:23Furthermore, we've got a new ribbon called Table Tools with a Design Tab.
01:28Lots of features here related to, what we might want to do with this Table.
01:32Off to the right, we see Table Styles, click the drop arrow.
01:35How about 61 different ways to format this table?
01:39We can slide over various choices here and decide which color we want.
01:43Maybe we'll change our minds later too.
01:44We'll just pick one of these.
01:46Another obvious visual difference to our data is that we see Filter arrows in each column.
01:50Now that could be a feature that you're not familiar with yet
01:53but if you find those arrows obtrusive, you could go into the Design Tab and
01:57simply uncheck the Filter button.
02:00Recognize something else--
02:01as I start to scroll here, I'm using the mouse wheel--
02:04keep an eye on row one and the column letters above it. What's happened?
02:08The column letters have disappeared and the Field names, the column headings
02:12now appear at the top.
02:13It might be able disconcerting at first, but I think that's what you might want.
02:17Are the column letters that important to you?
02:19So as we scroll up and down, unless we're at the very top of the list, we don't
02:23see the column letters.
02:24The emphasis is on the data itself.
02:27Recognize too that in the Design Tab, we currently have the feature
02:30called, Banded Rows on.
02:32You might want to uncheck that.
02:34There's another choice, a similar choice called Banded Columns. Let's choose that.
02:38Maybe that's the look you prefer.
02:40Recognize here too that if you go into Table Styles and slide over the choices,
02:44you're seeing Banded Column, look right now, so that adjusted the fact that
02:49you've chosen Banded Columns.
02:50You don't want to choose these together probably because it looks a little bit strange.
02:54I want to stick with Banded Rows.
02:56You might want to give special emphasis to column A. Usually, what that means is
03:00it will make it bold and sometimes, it will apply some colors as well, so I'm
03:04going to choose first column and see what's happened there.
03:07If that's a bit much, you might go back to Table Styles.
03:10Recognize that a number of the choices here do use a color in that first
03:14column but some don't.
03:15So pick the style that you like best.
03:17Now, in addition to this, and maybe again, you're not too familiar with
03:21Filtering, you might want to add something called Slicers.
03:25I'm going to zoom back just a little bit here so we can make a room for these.
03:29This is a feature that you might be familiar with if you've used the Pivot Tables.
03:33On the Insert Tab, you'll see a choice called, Slicer.
03:36You can use a Slicer with Tables.
03:38You can't use it with the regular Excel Data, and you can use them with
03:42Pivot Tables as well.
03:43I'm going to use Slicer here. What do we see?
03:45The names of our fields, now here's what we're heading into, whether you are
03:50familiar with Filtering or not, you might want to see at a certain time, just
03:53the Full-Time people, or maybe just the Full and a Half-Time people, or maybe
03:57people from just certain Departments.
03:59Let's choose Status and Departments, and we might later change our minds and
04:03come back and add some more fields--
04:05we can do that at anytime--but by clicking OK now, we're going to see Slicer
04:09panels for Department and Status-- there they are, right there.
04:15That's larger than it needs to be, so I'll just grab the corner--do that sort of thing.
04:19With Department, we have got about 20 Departments or so here.
04:22Look in the ribbon.
04:23We've got a Slicer Tools ribbon with an Options Tab.
04:27We could show this as three columns and there are lots of other features here to
04:32make this a bit wider and we can see those names better.
04:35We don't really have to see them all just for now, but here's the idea--we've
04:39got our data here and whether you're familiar with Filtering or not, that's not
04:42the issue--but if you say, for example, "I want to see just the Full-Time people",
04:46in the Slicer panel for Status, let's click Full-Time.
04:48There we are and we're only seeing Full-Time people.
04:52In the left side of the Status Bar at the bottom of the screen, it says that
04:56we're viewing 393 of 741 records.
05:00Suppose we want to see the Half-Time people as well.
05:02We'll use the Control key to click Half- Time and that means we'll be keeping the
05:07choice Full-Time as well.
05:09Now, we've got Full-Time and Half-Time, that's 489 people.
05:12The red X up here, by the way does not mean get rid of the Slicer,
05:16it simply means, don't use the Filter.
05:18In effect, let's show all of them, so I'll click the red X, now reviewing all the statuses.
05:23If we only want to view the people within certain Departments, we'll click a
05:26certain department, for example, Quality Assurance, and we see 73 records there.
05:31If there's a consecutive set here, we'll use the Shift key, as I'm about to use
05:35here and we'll see the Quality Assurance, Quality Control, and the Research
05:38Center People, all together.
05:40I'm using the Shift key now to click Research Center, and now we're seeing
05:44people from those three departments.
05:46Here too, you can use the Control key to select others as well, while
05:51keeping these here.
05:52This gives you new insight into your data as well.
05:55Now I'm going to move this aside because sometimes the data you're working with grows.
06:00It might grow in the right-hand side or grow on the bottom, and when it does,
06:05the Table feature automatically expands the data we're dealing with.
06:09Now ideally, what it should do is show all the data, but we don't even have
06:13to worry about that.
06:14In cell J1, I'm typing New Salary and look at what happens when I press Enter.
06:19That column is now part of the Table.
06:21Let's show all the data here and we can do that by clicking the red X in the
06:25Department Slicer panel and also Status, we're seeing all of them anyway.
06:29I'm going to write a simple formula here in J2, =H2+2000.
06:33In other words everybody is going to get $2,000 more on the salary, but look
06:38what happens when I press Enter.
06:40The formula has automatically copied to the bottom of the list.
06:43Now, if we go to the bottom of the list and we want to add a new record, all we
06:47need to do is type in the name, fill in some of the data.
06:53Recognize though that the bottom row is now a part of the Table.
06:56You can tell by its coloring scheme.
06:57Now, I'll just put in, for example, a starting date and maybe put in a salary
07:03over here, we won't worry about the other fields just yet, so we've added a
07:09record at the bottom.
07:10Another feature working with Tables that can be helpful too, and initially, it
07:14might seem like it's obtrusive.
07:16On the Design Tab, when you got the active cell within the data, you might want
07:20to choose Total Row.
07:22Look what happens at the bottom here.
07:24That puts in a total.
07:26Now, maybe that total isn't that interesting to us, we'd rather do an average,
07:29so here's a drop arrow, we can choose Average, and we might want to do that over here too.
07:35I'll drag it over here.
07:36Obviously, on some situations we don't want anything.
07:38We can delete that.
07:39We might want to do averages for all of these or possibly totals.
07:42Maybe you'll change your mind and want to do totals on this one. That's fine.
07:46We'll choose Sum, total number of years of service within the company.
07:50Now, what happens if we'd like this feature and like to see it updated at the bottom?
07:55What happens if we want to add a new name?
07:57Momentarily, disable the Total Row.
08:00Add a new name out here.
08:05Fill in a little bit of data here, good enough for now.
08:14Now, going back to the Design Tab, let's bring back the Total Row and there it
08:19is, and it has recognized the additional data, and has updated our totals too,
08:23so you can work with the data that way.
08:25I think you can see some of the advantages here of working with these data as a Table.
08:30Although, it's beyond the scope of this particular movie, if you're working with
08:33charts and the data is growing, perhaps you update a chart each month by
08:37adding new monthly data, if the data you're working with, if the source data
08:41for the chart is a Table, the chart will automatically expand if you add new
08:45data on the right side or bottom of the Table.
08:48Now, there could be times when you no longer want your data treated as a Table.
08:52Now, I would hope that's not the case--
08:54I'm going to press Control+Home
08:56to go back to the top-- but you can turn-off the feature too.
08:59The idea here might be maybe you just started with it, somehow you think
09:03maybe the data you're working with isn't appropriate for a Table or maybe you're
09:06not quite familiar with some of the Table features.
09:09You do have the option on the Design Tab to make the choice over in the Tools
09:13Group--Convert to Range.
09:16Do you want to convert the table to a normal range?
09:18If you choose Yes, this is no longer a Table.
09:22Now, the coloring scheme still resides here.
09:24If you want to keep that, that's fine.
09:25If you want to get rid of it, you'll just have to select the data and get rid of
09:28some of those features.
09:30This is a feature, by the way, that does fall into the category of those actions
09:34that you could undo and redo.
09:35Maybe I just change my mind now.
09:38I'm going to press Control Z to undo the fact that I'd converted that away from
09:43a Table, and now it's a Table again.
09:45So I think it's a potentially really interesting feature.
09:48It does allow you to treat your data as an entity.
09:51You have the Slicer capability here to do filtering and it allows the data to
09:55grow both on the right side and on the bottom.
Collapse this transcript
Inserting shapes, arrows, and other visual features
00:00If you'd like to add visuals, pictures, icons or shapes to a worksheet,
00:05the Insert Tab in the ribbon provides us with a number of choices, for example, pictures.
00:11In files that ship with this course, you will see some pictures in Chapter 4,
00:16here's one for the company here that makes clothing items.
00:19We want to show this in the worksheet.
00:21Just double-click it and there it is.
00:23We can move this around.
00:24We can drag its edge or just inside.
00:27If you drag one of the corner handles as they're called, you can make this
00:30bigger or smaller keeping the same proportion.
00:33Dragging the side handles sometimes distorts it or does whatever you wish with
00:36it, but you can do that too.
00:38Recognize also that when this enters the worksheet environment here, there is a
00:43new ribbon called Picture Tools with a Format Tab on it.
00:46Exploring all the options here would take you a long time, but maybe I like that one.
00:51If that weren't enough, how about moving this over a little bit maybe here, some
00:55picture effects and just tons of options you never even dreamed of.
00:58Do we really need a reflection on this?
01:00Well, we could have a reflection and make it more prominent, maybe move it back
01:03over here at some point.
01:05Tons of options, it will take you a long time to explore a lot of those.
01:09So, that's certainly one option.
01:11How about the trademark that we see over in column A?
01:13That's actually an object and we have that available also.
01:17Insert>Pictures, also located in the same place where we found these sneakers
01:22right there, Insert and there it is.
01:25If you're making size changes here, it's always best on logos to be using the corner
01:30so you keep that same proportion of height to width.
01:31It's generally frowned upon to distort the look of a logo, but you can certainly
01:35move that around, too.
01:36You can copy and paste these and do different things with them as well.
01:39Maybe this time, we'll just put a border on it and decide on one of the
01:43borders this way maybe.
01:44Thick border does that look good?
01:46Well, it might or might not, as long as it doesn't violate our company's
01:49copyright restrictions regarding how this is displayed, maybe that's going to be just fine.
01:54There are a lot of other features we can get to as well from the Insert Tab.
01:58Here's an icon called Shapes.
01:59Now, there's a ton of shapes here.
02:02Many, many of these, in fact, most of them do encompass space.
02:07So, we might want to put text somewhere.
02:09Here's a rectangle and we can then click and drag and draw a rectangle--
02:12it could be wide, it could be tall.
02:14If we want it to be a perfect square, we hold down the Shift key.
02:18That's a perfect square.
02:19You should let go of the mouse first.
02:21If we wanted to draw a perfect circle, once again, on the Insert Tab, Shapes,
02:26this time we choose an oval.
02:28Drag it to the right.
02:30It could be an oval of any size, but if we want it to be a circle, hold down the Shift key.
02:35A number of the shapes here also include yellow diamonds.
02:38They're not obvious until we see them.
02:41Let's take an example here of a hexagon, right there.
02:44We can make that anyway we want, but there's a yellow diamond.
02:49If you drag the yellow diamond, that changes the diagram.
02:53It's going to be more like this, approaching a diamond or in this case,
02:56approaching a rectangle.
02:58So, we can do that.
02:59And you probably saw a smiley face out there too, just tons of choices for any
03:03number of different reasons.
03:05So we're drawing this one.
03:06That's a frown face or anything in between of course, too.
03:11We can change the color of any one of these.
03:13Recognize when we select one of these, the Format tab is active in the ribbon
03:18and there are all kinds of things we might want to consider doing.
03:21As we slide over these choices, keep an eye on that hexagon, you'll see how it's changing.
03:27If we want to put text in it, we can just start typing and maybe we're going to
03:31use this with the worksheet.
03:32Maybe it's going to be our title, in fact.
03:34We might want to move this toward the title area here.
03:37Move that box out of the way, maybe press Delete to get rid of it.
03:41Click this icon, perhaps delete that.
03:43Maybe we're going to use this for a title.
03:45Pop it over here, maybe make it wider.
03:49We like the look of it perhaps.
03:51Maybe this represents first half sales report.
03:54So we just type it in place.
04:02And why stop there?
04:03We'd want to format it.
04:04So if we click its border, we could then go to the Home tab and choose perhaps a
04:09much bigger font and maybe change the font--make it bold, center it, top,
04:13bottom, left, right--and so on.
04:16Just a ton of things we can do with these features.
04:18If that were not enough, there's another feature up there on the Insert tab
04:23called "Insert a SmartArt Graphic".
04:27Click. And how many choices do we have here?
04:30Oh, about 230 of them.
04:31Get a list of all of them and they're broken into various groups here.
04:36One that I've worked with a little bit is under "Hierarchy"--
04:39it's an organization chart.
04:40But why stop at one?
04:42There are quite a few variations on it.
04:43Maybe we will choose Organization Chart here. Click OK.
04:46It's already set up for us.
04:48Maybe we'll just type in a few things here to show you how it works. There is the CEO.
04:53Maybe this is the General Counsel.
04:54Notice that as we type this, because we're using more text, it automatically
04:58adjusts; and without doing too much typing here, maybe this is the Sales Manager
05:06and over here is the IT Manager.
05:09Now, we might want to add some things to this.
05:11I'm going to right-click on the Sales Manager here and add a shape.
05:15For example, we're going to add a shape after it, to add another manager at
05:20the same level or possibly by right- clicking on Sales Manager, adding a shape,
05:25adding a shape below, someone who works for the sales manager; or maybe we will
05:30repeat that with F4 to add another one, and that's someone who works for this person.
05:35So there are a variety of ways to use this and this is just one of many.
05:38As we're using this, too, recognize that all of these different SmartArt options,
05:42were likely to have a Design or a Format tab as well here.
05:46So on the Design tab, we might want to change the color of this, and as I slide
05:49over these choices, look what's happening to that organization chart.
05:53It will look even better as I slide to the right here and move this out of the
05:57way and explore some of these.
06:01If that weren't enough, we've got styles out here too.
06:05I mean you could be busy for months exploring all these options, perhaps years.
06:10It's not the purpose of this, but you get the idea, definitely worth exploring.
06:14These visual features go on and on and on, quite a few of them.
06:19You can add text to many of these shapes you saw or you could add pictures,
06:23you could add logos.
06:24It's a great set of tools available on the Insert tab in the ribbon.
Collapse this transcript
5. Adjusting Worksheet Layout and Data
Inserting and deleting rows and columns
00:00We're reviewing the worksheet called Insert-Delete within the file 05-Layout,
00:05and we need to add a new column, a Phone Number column between Columns C and D.
00:11When you insert columns in Excel, select the column to the right of where the
00:15new column is going to appear.
00:16Now, using the standard menu techniques we can go on the Home tab to the Cells
00:21Group and choose Insert and simply Insert Sheet Columns; and we automatically
00:28get a new column to the left.
00:29All the other data gets pushed to the right.
00:31And so I'll put in our Phone Number heading here and then eventually we'll
00:35fill in the details.
00:36We can also insert rows in a similar way.
00:39It's often going to be handier to use the right mouse button.
00:42Suppose we also need to add a Social Security column, we could right-click
00:46Column D and simply choose Insert.
00:48Notice that it doesn't say Columns but by implication that's what it means
00:52because we've right-clicked on a column-- Insert, and there's a new column--and
00:57eventually maybe we'll put in a Social Security Number.
01:00Now, sometimes when you're inserting data, you have to consider what is already there.
01:06And if we wanted to put in Pennsylvania here in this list, what about the fact
01:10that we've got formulas right there that are adding up these numbers?
01:14Should we put Pennsylvania (PA) at the bottom here and move these down
01:17first, that sort of thing?
01:18Well, we could, but it's going to be simpler here to essentially take this data
01:23and insert new cells above it.
01:25Now, we could insert a new row, but if we look at the data to the left, we
01:29really don't want a new row in the middle of that TaxTable, nor do we want a new
01:33row in the midst of the other data that we've already got accumulated here.
01:37So sometimes what we need to do is Insert Cells.
01:41So I'm going to select these cells right here, and using the right mouse button,
01:47Insert, notice that there are three dots behind this.
01:50If we had chosen a row or earlier as we had seen, we'd choose a column,
01:55no questions asked.
01:56This means we go to a dialog box automatically.
01:59We are about to insert cells, but do we want to shift them rightward or downward?
02:04And based on the nature of the data and how we've highlighted them, Excel is
02:08suggesting we want to shift these cells down. So we click OK.
02:12Now, as we do this keep an eye on the totals that are in row seven, they're
02:14going to get bumped down.
02:16They're still going to be accurate, and maybe we'll put in Pennsylvania (PA)
02:19over here and also over here.
02:22Although I don't have the numbers ready just yet, what's happened to the formula here?
02:26It has been adjusted automatically.
02:28So there are times when you want to Insert Cells.
02:31Now, if we insert a new set of cells above the data here, it's going to push
02:35all the formulas down.
02:37So as a general rule, you don't worry about your formulas getting destroyed if
02:41you insert rows and columns.
02:43There are exceptions to that, but for the most part that's not a major issue.
02:47But let's suppose we wanted to add a name to the list here.
02:50If we're not too careful and if we haven't scoped out this worksheet or if we're
02:53unfamiliar with it, we could easily make the mistake of saying, "Okay, if I want
02:58to put in a new name here--and of course we can do this at the bottom--why don't
03:03we right-click here, insert a row?"
03:04And we could add a new name.
03:05But meanwhile, what has happened to the other part of the worksheet as we
03:08scroll rightward here?
03:10We've put a new empty row on the TaxTable and we've put an empty row out here.
03:13That's probably not what you had in mind.
03:16And so here too as I press Ctrl+Z to undo--which you probably would mean to do
03:20here--and let me make these two columns narrower, so we can see this a bit
03:25better, I'll just drag them this way.
03:26If we want to put a new name above this set of data here, highlight just this
03:30data, then right-click and Insert, shift these cells down, add the new name that way.
03:37And of course that does not disrupt the data to the right.
03:41Earlier we had the Pennsylvania (PA) in there automatically.
03:43So it didn't destroy the table in any way, didn't insert any empty cells there.
03:47So just be sensitive to the idea.
03:48There certainly are times when you want to insert a new row,
03:52at other times insert cells, and certainly the same idea applies to columns as well.
03:57Now, there will be times of course when we need to delete a column, and maybe
04:01we've decided we're not going to put the Social Security Number in here, maybe
04:05it's too late to do an undo because we've taken some other effective measures in the meantime.
04:09So we want to get rid of Column D. The easiest way would be simply to
04:13right-click Column D and choose Delete; and all of our columns shift to the left.
04:18If it turns out that we really don't want to add a name here, of course we don't
04:22want to delete the entire row, we've got data off to the right that we want to
04:27keep, but we might want to delete the cells.
04:28So right-click and Delete and shift the cells up.
04:32This only affects the data between Columns A through I. So the data below
04:37that will shift up.
04:38Nothing to the right will change whatsoever.
04:41So inserting and deleting columns and rows as well as inserting and
04:44deleting cells makes sense.
04:47It gives us the basic tools for redesigning our worksheets when necessary.
Collapse this transcript
Hiding and unhiding rows and columns
00:00You can hide a column to simply get the data out of the way for a while because
00:04you don't use it very often, or maybe you're about to print data and you just
00:09don't need to print a certain column. And similarly, although less likely, you
00:12can do the same kind of thing with rows.
00:14We're looking at a worksheet called Hide -Unhide in the 05-Layout workbook, and
00:19maybe we are about to print this data and it's just not important for us, for
00:23example, to show the Hire Date.
00:24So, what can we do?
00:26We can get to the Hide-Unhide feature on the Home tab in the Cells group, under Format.
00:32This is not the fastest way, but for the record, on the Format button, you'll
00:36see the choice Hide & Unhide and we could then slide on to "Hide Columns".
00:42When you hide a column, there's a slight visual difference and this might not be
00:46clear on the movie as you're watching it right now, but the columns separated
00:50between D and F is slightly different.
00:52And of course, if you simply remember your alphabet, you'll recognize that there
00:55is a missing letter E here.
00:57Now, I get data all the time from different sources and one of the first things
01:00I check for, is to see if there are any hidden columns.
01:04You can also by the way, hide more than one column at the same time.
01:08If I'm about to print this and I don't want to print the Department column and
01:11the Salary column--columns C and H-- I'll click column C and then with the
01:16Control key held down, click column H. Both of those are selected, then I'll
01:21right-click and go to Hide.
01:23Right-clicking often is the fastest way to Hide a column.
01:28Now, we have a number of different hidden columns.
01:31If we're printing this data, we're not going to see any gaps.
01:34I'm going to press Ctrl+F2 here, a quick way to get a print preview.
01:38And there we are, and we see the data there without the columns that are hidden.
01:42There's no gaping hole in the printing itself, so it doesn't draw attention to
01:46the fact that we're not printing all the data.
01:48Press Esc to get out of here and we're back to our normal view.
01:52Of course the question comes up, how do you get back the hidden column?
01:54If you simply want to bring back one of the hidden columns--I want to bring back
01:58column E--we can drag across the surrounding columns.
02:02Click and drag across columns D and F and then do one of two things, either
02:06right-click on Unhide--
02:07--that's probably the most logical and reasonably fast way to get there--
02:11let me undo that and show you another method.
02:13After selecting the columns in question, double-click the boundary between them
02:18or in fact any column boundary that's visible up there.
02:21Double-click, and that brings back the data as well.
02:24Let me undo that again.
02:25What if we've got multiple columns hidden? And we do.
02:28Column C is hidden, column E is hidden.
02:30There could be some others.
02:32What if there are some other columns off to the right we're not sure of? I don't
02:36want to check them all out manually maybe. Click in the upper left corner to
02:38select the entire worksheet and then simply double-click any column boundary--
02:44like this--double-click and all the hidden columns are back.
02:48Let me undo that again.
02:49Another way is--after selecting the entire worksheet--simply right-click any
02:54column, and choose Unhide, and all hidden columns will return.
02:59There certainly will be times when we want to hide rows as well.
03:03Maybe in the list that we're about to print here, it just so happens that we
03:06know that Michael Ashley here has left the company, we still want to keep the record here;
03:12we don't necessarily want to show it as we print this.
03:14Same thing has happened with Heidi Barker here.
03:16So once again, we'll use the Control key to select both of those and then
03:20right-click and Hide;
03:22so we're not seeing those. And here too as I press Ctrl+F2, if we look at the
03:27printed data, we're not seeing those names in the list. Escape from here.
03:32And so if we were to print the information, those names would not appear.
03:36As you might imagine, we can bring back the hidden rows by clicking the
03:39upper left-hand corner;
03:41simply right-clicking any of these and choosing Unhide; or as you might have
03:45guessed, we could simply have double- clicked on the boundary of any two rows.
03:48So, as we've seen, sometimes we want to hide columns, other times we hide rows.
03:53The feature is easy to get to,
03:54we do it for a number of different reasons.
03:56It's one more tool in controlling the display of our worksheets as we work
04:00with Excel.
Collapse this transcript
Moving, copying, and inserting data
00:00One of the basic tools we use at different times to redesign the look of a
00:04worksheet is the ability to move or copy data to different locations.
00:10We're looking at the worksheet called Move-Copy-Insert.
00:13And in Columns A to I, we've got Sales and Profits for the first half here.
00:18And possibly for presentation reasons, or for printing reasons, we might want to
00:22redesign the look of this.
00:24For example, maybe we want to display this on the screen.
00:27We'd rather not talk about this information.
00:29We don't want to delete it.
00:31Why don't we just move this data somewhere else?
00:33Now, there are multiple ways to move information.
00:36Certainly a common way is the two- step technique called Cut and Paste.
00:42We can get to cut in a number of ways.
00:45On the Home tab, you'll see a Scissors here.
00:47As you slide over, it recognized the keystroke shortcut, Ctrl+X. We could click
00:51the Scissors, and if we want this data down in Row 17, we could then click
00:55there, and notice the prompt at the bottom of the screen--"Select destination"--and
00:59press ENTER or choose Paste.
01:02We could click the Paste button up above or we could simply press Enter, and we
01:07move the data that way.
01:08Now, generally there's a faster way of doing this.
01:12I'm going to press Ctrl+Z to undo what I had done and Escape here.
01:16When we select data, which we must do before cutting and pasting, why not
01:22just drag the data?
01:23Now, unless we're dragging this hundreds of rows, thousands of rows or columns
01:27downward or rightward, why not just drag the data?
01:31So using the mouse, we can point to any edge--
01:34--it doesn't have to be the top, it can be any edge--drag it here, we could
01:38even put it into separate columns--although that probably wouldn't make a lot of sense here--
01:40but drag it to wherever you want, maybe even overlapping.
01:44It looks like it's overlapping, but this is simply going to move the data downward.
01:47So dragging data.
01:49The formulas within here still refer to the data up above, we're still
01:53seeing the same numbers. It's easy,
01:55it's fast.
01:56I think much of the time moving data really is just a simple drag.
01:59You select the data, hold down the left mouse button, drag across all the data,
02:03move it wherever you want to move it.
02:05We can do that easily.
02:07Once again, I'll press Ctrl+Z a few times to go back to where we were. There we are.
02:13Now, at other times you might want to copy data.
02:16The data here has formulas with it as well.
02:18We might want to make a copy of this, maybe we want a different set of numbers,
02:22we want to experiment with these a little bit.
02:25So we want to keep the data here, but let's also copy it down below.
02:28Now, many times this too is a two-step process, and the process here begins with
02:34Copy or Ctrl+C. So we could copy that data and just as with Move, we could go to
02:40a destination area down here and press Enter.
02:44So we've copied the data, but let me press Ctrl+Z to undo.
02:48Dragging probably is going to work better.
02:50Select the data that we want to copy, drag any edge--it doesn't make any
02:55difference which edge--and as you drag, hold down the Ctrl key.
02:59You'll see a tiny plus that accompanies the arrow there, and you don't have to
03:03hold down the Ctrl key immediately, but just as you get toward the destination,
03:07make sure you are holding down Ctrl;
03:09be sure to let go of the mouse first.
03:11So we've copied the data, and we see it up above as well, and we could copy it
03:16again and again if we wish.
03:17The formulas that are here, for example this one, refers to these cells, not
03:21to the cells up above.
03:23So copying data many times is, after selecting it, simply dragging the data with the Ctrl key.
03:29Sometimes you heard the phrase Ctrl-Drag.
03:32There might also be times when we need to insert data.
03:35Now, if we're looking at this list where we see Sales, Expenses and Profits, why
03:42down here is it Sales, Profits and Expenses?
03:46That seems to be not right,
03:47they should be in sync.
03:49And so one way to rearrange this is to insert a new row above Profits and then
03:53move this data above it, something like that.
03:57Let's simply make it a one-step operation.
03:59After selecting the data here, we're going to drag this upward using the Shift key.
04:05In other words, we want this data--the Expenses Change data--to be between Sales and Profits.
04:11So we've selected the data, we hold down the Shift key as we drag this upward,
04:16and we let go of the mouse first. There it is.
04:19So we've simply moved the data upward, moved and inserted at the same time.
04:24You can do this with entire rows.
04:26You can do it with entire columns.
04:29On the same worksheet, off to the right, in columns M rightward, we've got a list of data.
04:34Maybe it just so happens that we want the Benefits column to the left of Hire Date.
04:40So we'll click Column R. We're going to drag the left edge.
04:43Now, we can drag either edge or even the top, it doesn't make any difference,
04:47just put the mouse pointer on the edge here, and as we drag leftward, we've got
04:51the Shift key held down.
04:52Drag it over to here, let go of the mouse, we're moving the Benefits column to
04:57the left of the Hire Date column.
04:59And where necessary, you can move two columns, three columns, you can move these
05:03leftward or rightward;
05:04it doesn't make any difference.
05:06If we want to move the Building and Department columns to the right of Years,
05:10we'll drag this rightward here,
05:12with the Shift key held down, drag it right there,
05:15let go of the mouse;
05:17we move those two columns that way.
05:19So we can easily move cells or columns or rows while inserting the data.
05:26So anytime it comes to moving data or copying data or moving and inserting as a
05:31general approach, dragging the data tends to work faster than the commands we
05:35see on the clipboard.
05:36But there's no question that we need this capability as we redesign
05:40our worksheets.
Collapse this transcript
Finding and replacing data
00:00On the Home tab in the ribbon the editing group on the right-hand side contains
00:04a number of features including a binoculars icon for Find & Select.
00:09Some of the things we're about to show you in this movie could be done more
00:13efficiently with a filter, but not always.
00:15Sometimes we're simply looking for data.
00:17Let's imagine that we're looking for somebody named Rick.
00:20Before searching for data in Excel it's best to narrow down the search.
00:25If you click a single cell and then activate the Find feature, you will
00:30automatically be looking in the entire worksheet.
00:33If you select a range--possibly you have this range already selected for
00:37a different reason--
00:38if you start a Find now, we're only looking for data within the range.
00:43Now let's say we are looking for someone named Rick.
00:46The only location in this worksheet where we see names like that is column A.
00:50Let's go to column A, select that first, and now our search process using Find will
00:55only be looking in column A. Notice it's "Find and Replace".
00:59We're simply going to do Find here.
01:01We're looking for Rick. So find what?
01:03Rick.
01:03Notice I'm not capitalizing it although I could.
01:07Let's just see where we can find here.
01:09Find All, find all occurrences of Rick.
01:12As we move this around a little bit and expand it, well, perhaps more than we
01:15would have expected.
01:16But recognize that we found Strickland and Patrick and Frederick and Erickson.
01:21There's an "R-I-C-K" in these names.
01:24But since the list is relatively small, that's not so bad.
01:27We could easily figure out the person we were trying to find.
01:30Now what we could have done here, we could have used a capital "R" in our search
01:35and then chose the option "Match Case".
01:38Now at times when you're using Find and Replace, you do see these choices but if
01:43you click the options tab, it might collapse.
01:45So there could be times when you're using this you don't see those options--choose options.
01:50If we Match Case and then choose Find All, the list will be
01:55substantially smaller.
01:56Only three entries.
01:57Now we also found Ricky, but that's okay too, probably, in the case here.
02:00So be sensitive to that idea.
02:03Recognize another choice here "Match Entire Cell Content".
02:06Sometimes that's helpful too particularly with larger lists it helps narrow
02:10down the search faster.
02:11Now step outside into the data again--
02:14another use of this and now for Replace situations--
02:18let's imagine that in this list here the company has decided to call the
02:22half-time status, "part-time".
02:24This is a number of people who work, maybe three quarters or 60% or 40% of the
02:27time, we simply want to use the more encompassing term, part-time instead of half-time.
02:33So what is that we're looking for here?
02:34We're looking for half.
02:37Now do we want to match the entire cell contents?
02:40In no case, let's say in column D, do we have the word "half" and only the word "half",
02:44so we do not want that box checked.
02:47At other times it will make sense to check the box.
02:50If we want to match the case, yes.
02:52Now, is it critical here? Probably not.
02:53Probably half is always capitalized.
02:55So don't worry about it too much, but let's say we want to replace half.
02:59We go to the Replace button half.
03:02Now, do I want to replace it with full-time?
03:04No, I don't think so.
03:06The reason that's there is that maybe a recent search included that.
03:09So let's instead say we're going to replace "half" with "part" and we want
03:13to replace all of them. So we'll do that.
03:17So what happened?
03:18Ninety-six replacements were made and we can see in the background
03:21part-time, part-time.
03:23No more half-time in column D. So we click out here.
03:26Now another use of this--and this also implies we can use formatting and we can--
03:31we've got some hourly employees in here, but two of them have been selected here.
03:36We've simply made them yellow.
03:37We're going to replace their status.
03:39We are going to change it from Hourly, for example, into Contract--
03:43so we want to make a difference there.
03:46Sometimes what we want to do is replace data using a combination of not only the
03:51content, but also the format.
03:53We want to replace the word Hourly.
03:55Now not all of them.
03:57For example in row five, you can see Hourly.
03:59So we are going to take the Hourlies here and replace it with Contract--but not all
04:07the Hourlies--just the Hourlies where we've got a format here.
04:11In other words, the format of yellow cells; the fill effect yellow.
04:17Let's say although we don't really have to do this, say that when we do replace
04:21the yellow, we want it to be blue.
04:23It's not really necessary, but we want to highlight the data.
04:28So everytime we see Hourly that's yellow we want to replace it with Contract and make it blue.
04:34Replace all of these.
04:36Now we didn't necessarily select any part of the worksheet--
04:39so the active cell is in one cell or another--
04:42if we make this a little bit more efficient, let's click in column D because
04:46that's only where we want to make the change.
04:48We'll do a Replace All. Two replacements.
04:51Click OK and as we put down the screen here, these both had been Hourly and they
04:56were yellow and now they are Contract in blue.
04:59Again, I use the blue here simply to highlight the idea that we sometimes want
05:03to use the Replace technique along with formatting as well.
05:07Another use of Replace, the Taft building has been renamed the Harding building.
05:13Let's make a wholesale change here.
05:15We'll simply select column B, go back to Find & Select, this time a Replace.
05:21Nothing to do with formats here.
05:22So clear the format in both cases and we simply want to change Taft to Harding.
05:31Now it's probably the case that we'd never see the word Taft there along with
05:35another word, but just in case we want to match entire cell contents.
05:40Matching case here isn't really relevant this time, but matching entire cell contents is.
05:45All occurrences of Taft when it's the entire entry we want to replace with Harding.
05:50We'll simply do a Replace All.
05:52So we've taken care of that--63 replacements.
05:55So as you can see, Search and Replace, a valuable tool for making wholesale
05:59changes or in some cases just finding data that meet your criteria.
Collapse this transcript
6. Printing
Exploring the Page Layout tab and view
00:00If you're about to print a worksheet, it's best to get a Print Preview first.
00:04A couple of ways to do this.
00:06You can go to the file tab in the ribbon and choose print and you do get a preview.
00:11Recognize on the far right-side of the screen you'll see two sets of scroll bars.
00:15If you use the outer scroll bar and drag downward, recognize not only will you
00:19see the full page but the all-important indicator at the bottom of the screen is
00:23to how many pages this is likely to take up.
00:26Now if this particular worksheet has about 700 rows or so and you see that it's
00:30going to take 35 pages, that don't sound quite right, does it?
00:33If you click the Preview here and either use the mouse wheel or use the
00:38inner scroll bar there to drag downward--eventually, we'll begin to realize
00:43that in this particular set of data here that we are working with--it looks
00:47as if the first few columns are going to be printed and then some others on additional sheets.
00:52And then if we keep scrolling here we'll see how the other data eventually
00:55will be printed as well.
00:57Let's say that's not quite ideal.
00:58There certainly are some settings over in the left-hand side that
01:01might change our minds.
01:03Some of you might be familiar with the term "Portrait Orientation"--where the
01:07papers are oriented vertically--
01:08we might change that to Landscape;
01:10will that make any difference here?
01:12Now it looks like it's taking up 49 pages.
01:15So that certainly didn't help here.
01:17Change it back to Portrait.
01:19Let's escape from here or press the left arrow at the top of the screen and go
01:23back into our standard Excel view.
01:26Recognize that the ribbon has a page layout option
01:30with a number of choices here related to features that you will consider using
01:34before printing but also same term--but not in conflict with--but not really the same.
01:40In the status bar, we've got three buttons. Normal, the normal view that we
01:44typically use as we work with Excel.
01:46Next button, Page Layout--
01:49our screens look different here.
01:51If we were to zoom back a little bit here, we'll see multiple pages.
01:56The page on the left as we scroll down a little bit is page one.
02:00Keep scrolling here, Page two.
02:03But the pages on the right, pages 18, 19.
02:06Now if you're working with your data at this point, of course, this is likely to
02:10look quite a bit different and recognize also that Excel is trying to use all the
02:15data in the worksheet unless we indicate otherwise.
02:18So a couple of choices here we might want to consider.
02:21First of all, in this page layout view let me zoom again by dragging the zoom
02:25slider bar and focus on just the upper portion here.
02:29Notice where it says "Click to Add Header".
02:31A design tab is activated, Header and Footer Tools.
02:36So we might want to add the current date here.
02:40If you click this option Current Date, that's some kind of a strange indicator,
02:43but it will print the date.
02:44If we want to preview that, just click in a cell below.
02:47We see what will pan out.
02:49That's the date of this recording.
02:50So we'll click back up here.
02:51What if we want the time here as well?
02:54We might just click here and add a space and then click the icon for "Current Time".
02:58So we'll see both of those and over to the left here we might want to put in the
03:02name of the company or maybe the number of pages.
03:05So there it says, Page Number--that little indicator.
03:08How's this looking now? Click below it.
03:09One out there for the page number.
03:12We'll see the date and time here.
03:14We might want to have the word "page" there.
03:16So click in front of that little ampersand there--
03:19that ampersand symbol.
03:20Type in the word "page" followed by space if we want that.
03:23So we've got some control here over our header and footer.
03:27Now if we click back into the worksheet portion of this in the preview and then
03:31go back to the Page Layout tab, there are some other options here.
03:35Now we can't go through all of these, but from time to time we might want to go
03:39back to our print preview.
03:41We don't necessarily need to click on the File tab.
03:43Here are couples of other options.
03:45In the Quick Access Toolbar, you could add a button that gives you print preview.
03:49The rightmost arrow, it's a drop arrow, click it and choose Print Preview and Print.
03:55So now if we want to Print Preview, click that button.
03:58We are back here again.
03:59Let's take a look at this.
04:01Is it looking any better?
04:02Well, we changed our titles there at the top.
04:04It's looking better that way.
04:05We can scroll up and down.
04:07How do we move away from here? Escape.
04:09So we've got the Print Preview button.
04:11There is also a keystroke shortcut, Ctrl+F2.
04:15It is important to get that preview from time to time as you're setting up
04:18printing and Escape again.
04:20Now another option here.
04:22Once again using the zoom slider bar to move back a little bit.
04:26We still haven't quite dealt with the issue of what's showing in our
04:29potential print out here.
04:31Some options outside of print features might simply be if we don't want certain
04:36columns to be printed, we could hide them.
04:38The idea might be we're trying to bring these columns onto the same sheet, but
04:43here's a completely different approach.
04:44Let's go back to our normal view and suppose we're saying, "You know, the data to
04:49the right, that's useful,
04:50I might want to print that separately".
04:52Maybe all we really want to print is the data from these cells over and downward.
04:58A quick way to select this data ahead of time is drag across these headings and
05:03holding down the Shift key just double- click the bottom edge of a cell here.
05:06Now we can certainly drag across the data.
05:09What we are about to say is "This is all we want to print".
05:13So there's an option of the Page Layout tab called "Print Area".
05:17Select an area on the sheet you'd like to print.
05:20Well, we've already selected it.
05:22Click this--"set print area".
05:25Now let's take a look at our preview.
05:27There's our button up there or Ctrl+F2.
05:29We see the preview.
05:31Use the outer scroll bar on the right to scroll downward.
05:34We're at 34 pages maybe.
05:36We're still not there yet.
05:38So possibly we will reconsider landscape orientation here.
05:42Instead of 34 pages it's down to 24 pages. Click here.
05:47Maybe scroll up and down again.
05:48Is that acceptable? Well, it might be.
05:51Recognize again that you're the one making the final call on how this is going to appear.
05:55Maybe that's pretty acceptable.
05:57One thing that you might not care for though is this.
06:00On Page one we do see the heading, Page two, Page three, we don't see that.
06:05Do we always know what column we're looking at?
06:08So let's escape here and once again go back into the worksheet environment.
06:13We don't necessarily need to have the page layout view in the lower
06:16right-hand corner activated.
06:18It doesn't hurt, but it's not necessary at this point.
06:21But the option we want to focus on is on the Page Layout tab and it's
06:26called "Print Titles".
06:28Choose rows and columns you'd like to repeat on each printed page.
06:33Click there and what is the row we want to see repeated at the top?
06:37Click here and we can simply select row one.
06:41In some cases rows one and two depending upon the worksheet.
06:44That looks good enough.
06:45From here, we could just jump in to Print Preview.
06:47Let's take a look--Print Preview.
06:49Now we're back here and what happens if we click and start to scroll?
06:53Now we're on page four, page three.
06:56All of these have that heading in place.
06:58Now we haven't covered all printing features, but let's say in this case it
07:03looks pretty reasonable.
07:04We could then print.
07:05So escaping again, using a combination possibly of Page Layout View in status
07:12bar and also some of the features available on the Page Layout tab we can
07:17prepare our worksheet for printing.
Collapse this transcript
Previewing page breaks
00:00Another approach to printing begins with the idea that you'd like to get a
00:03preview of what your printout is going to look like.
00:06In the status bar, the three buttons in the lower right-hand corner include a
00:09button called Page Break Preview.
00:11And as we click this, the screen changes and we see blue borders and possibly
00:16dotted lines as well.
00:17If you start to scroll in this list, as I'm doing here, recognize the watermark
00:21depiction here of Page 1, over in the left-hand side--up to the right in this
00:26example it's Page 18.
00:27So as we scroll up and down here, we see these.
00:30Now, with Page Break Preview, you have the option here of controlling not only
00:34the breaks, but the actual borders here.
00:37It's good to get an actual preview here.
00:39If you do have available in your Quick Access Toolbar, the Print Preview button,
00:43we added this in an earlier movie, you can click that or possibly press Ctrl+F2
00:49or maybe even go to the File tab and choose Print.
00:52Any of those three ways gives us the Print Preview.
00:55And as we look at this list here and then use the outer scrollbar on the
00:59right-hand side, scroll down, see how many pages it is, 34 pages.
01:03If you click in the list and start to scroll up and down, you might see breakpoints.
01:07You might see the data about to be printed in a way that you
01:10wouldn't necessarily want.
01:11So what do we do in the situation like this?
01:14Let's escape from here and take advantage of the fact that as we're viewing
01:18Page Break Preview, first thought might be, do we really want to see columns K
01:23and L? They are empty except for the top two cells, so let's drag the blue border inward.
01:28Put the mouse right on there, hold down the left mouse button, drag it to there.
01:32Now, if we don't want to see these last two columns on separate sheets, we could
01:37take the dotted line and drag it rightward.
01:40But that means that the data is going to be squeezed onto the page which may or
01:44may not be acceptable.
01:45It might be in this case, so let's jump into our preview again either with
01:49Ctrl+F2 or possibly the Print Preview button.
01:53As we look at the data now, it certainly looks more crowded.
01:56What might be appropriate at this point is simply to print one page.
02:00You do have the options here, when printing you could just say print page 1 to
02:04page 1 and do that and see what this looks like.
02:07And you'll have to be the judge as to whether this is acceptable.
02:11If it's only for you, perhaps, that's just fine;
02:13if you got a different audience, maybe that's too crowded, it depends.
02:17Another option here could be to jump into Custom Margins over on the left-hand
02:21side and use Narrow Margins, in other words, less white space on the perimeter.
02:26So you can certainly make that choice.
02:28It looks like that pretty much just shifts the data leftward,
02:31it doesn't do much else.
02:32So, maybe that option isn't one worth considering, but you do have some choices
02:36here as you consider how this is likely to look when you print.
02:40Let's escape from here, Escape key, go back to our data and here's another
02:44potential option too.
02:46And this is outside the realm of printing, but it does bring out the idea that
02:50you're in-charge of how you want this to look.
02:52Do you really want to see the Salary in this list?
02:55Do you want to see the Status?
02:57Well, you are the judge, but if we were to hide a column, I'm going to hide the
03:01Salary column simply by right- clicking it and choosing hide.
03:04How's the Print Preview looking now?
03:07Perhaps, not as crowded. And so sometimes you will use that approach to
03:11adjusting your display.
03:12Here's another thought too, as we scroll up and down, sometimes the breakpoints
03:16on the pages, we might want to be different.
03:18Now, in this case, I can't make a strong case for saying change this, but we do
03:23have the ability to change the location of some of the page breaks. And you can
03:27imagine how in certain cases here, how appropriate or inappropriate this might
03:30be to adjust these breaks.
03:32So, maybe at some point here--I'll just pick an example of one of these here
03:36where there's a breakpoint that I might want to change--
03:38I'll just drag that blue line elsewhere--so maybe in this case here.
03:41Now, that might be crowding one of the sheets, but I want the breakpoint to
03:45appear right here after Marketing.
03:47In other words, you can override the standard setting.
03:50Jump into preview here.
03:51Let's take a look at this and we'll scroll down relatively quickly and try and
03:55find that breakpoint and there it is. Looks like one of the pages was
03:59quite a bit shorter.
04:00Again, you'll just have to decide whether that's acceptable or not when
04:03you print this data. Once again escape.
04:05So you do have control over that too.
04:07I'm going to press Ctrl+Z to undo that break because as it turns out, it wasn't
04:11maybe the best choice; but you do have control over those as well.
04:14Using Page Break Preview doesn't get us into some of the other printing issues,
04:19but it does give us a quick read on the data and allows us to choose the data
04:24that we want to use when we print our work.
04:27And that button in the lower right-hand corner, Page Break Preview does allow us
04:31to continue working with the data.
04:33Now, most people probably don't want to work with their data in this view, but
04:37we can write formulas, we can insert data, we can do other things, just as if we
04:41were in the Normal view.
04:43So you can leave it in this view as much as you wish and when you're finished--
04:46and for example you find this obtrusive-- simply click back on Normal. But Page
04:50Break Preview does give us a quick way to view our data just before printing.
Collapse this transcript
Working with Page Setup and printing controls
00:00We're looking at a worksheet called PageSetup Sheet and we want to print this worksheet.
00:05On the Page Layout tab in the ribbon, you'll notice that one of the groups
00:09is called Page Setup.
00:11In the lower right-hand corner, a dialog box launcher button.
00:14If we click it, activates this dialogue box, called Page Setup and there are
00:19many, many different settings here.
00:21One group is on the tab Page, another on the Margins tab, another on the
00:26Header/Footer and another on Sheet.
00:27Although, you might have seen some of these choices in the Page Layout tab in
00:33the ribbon and you might even have seen these on the File tab, here they're all together.
00:39And if you have used Excel in prior versions, this is familiar territory as well.
00:43So, let's consider some of the options here, but let's first break out of this.
00:47Press cancel or escape and let's indicate what it is we want to print.
00:52So one approach to printing begins with let's select the data.
00:56If for example here in this list, if you say, "I don't want column N, but I do
01:00want all this data here"--if you simply want to select all this data ahead of
01:04time--you can press Ctrl+A and then on the Page Layout tab, go to Print
01:11Area>Set Print Area.
01:13If you want to get a preview of this, we can simply click this button.
01:17If you've added this button called the Print Preview button, which we did in a
01:21prior movie, you can simply get the preview on the right and by clicking in
01:25here, dragging that outer scrollbar on the right-hand side downward, we'll see
01:29approximately how many pages we're about to print.
01:32We can scroll up and down.
01:33While you're on this page, notice off to the left,
01:36at the bottom, you see a choice called Page Setup.
01:40Click that. This is the dialog box that we just saw.
01:43Recognize again, some of the features here are also being presented off to the left.
01:49For example, if we're looking at Page Setup here, the Page tab, gives us a
01:53choice for Portrait and Landscape.
01:55We see the same choices over here.
01:57So one of the issues we confront as we work with printing is the fact that a lot
02:01of these settings appear in multiple locations.
02:04Let's press Escape here--and also escape from this view--and shift our focus again
02:09to the data that we're about to print.
02:11And as we look at the Page Layout tab again, click within this Page Setup group,
02:17the dialog box launcher right there to activate some of these choices.
02:21Without going through all of these
02:22just recognize that we do have choices as we mentioned earlier on Portrait or Landscape.
02:27There could be times too when you want to fit this printout to a
02:31different number of pages.
02:32Could we fit this to one page wide by ten pages tall?
02:35Well, let's try that.
02:37Either click the arrows or type in a ten, something like that and make a choice that way.
02:42Let's get right into Print Preview and see how this looks, maybe not so good.
02:46Let's escape and come right back in here, doing the same thing all over again,
02:51but this time maybe, just ignore this choice.
02:54Let's say we do want to fit it to a number of pages, we click back on
02:58Adjust to and again, somewhat arbitrarily make this an eighty--Print Preview--
03:03see how that's looking.
03:04Maybe that looks better.
03:05So you want to experiment a little bit here.
03:07Can we try this again, going back here with 100?
03:10Right within the same dialog box-- Print Preview--and there we are again.
03:17We could end our page setup from here.
03:19It's over on the left-hand side at the bottom, and consider some of the options.
03:23Now once again, I'm not going through all these.
03:26Do recognize here you can center the data horizontally, left to right, maybe,
03:29that's what you want to do.
03:31You've got control over the margins here, is an inch of white space on top
03:35and bottom too much?
03:36Maybe click the drop arrows that way-- maybe it'll take up fewer pages--similarly
03:40on the right, something like that.
03:42Again, lots of choices here, maybe less space for the header top and bottom;
03:46we can also go into Header or Footer this way, make some changes.
03:50You can create your own custom header.
03:51There are some built-in choices here, some use dates, some use file names;
03:57various combinations in here, quite a few choices. And so you can get to some of
04:02the fine-tuning tools available when you want to print.
04:04Also, there's a Sheet tab here.
04:06Do you want to see the Gridlines? Probably.
04:08Do you want to see the Row and column headings? These are here.
04:11Now once again, recognize,
04:12if we click OK--and we've made that choice--watch the preview change in
04:17the background here.
04:18We now have column letters and row numbers.
04:21And that certainly is appropriate for some kinds of data and not necessarily this.
04:25Recognize too, if we escape and go back into the worksheet environment, a lot of
04:29the choices that we make here with Page Setup--from the dialog box here--are
04:34already here under Page Layout in the ribbon.
04:39So, this idea of "where do we go when we print and where do we make our
04:44settings?" The Page Setup dialog box is certainly handy, but a lot of these
04:48choices are right here.
04:49Maybe we don't want the Gridlines, we could uncheck it here.
04:51By the way, if you uncheck the Gridlines here, it actually changes the current
04:55worksheet view as well.
04:56If we jump back into our preview, we won't see Gridlines there either.
05:00And the row and column headings, we can also control those right here too.
05:05Let's not print them.
05:07And then let's go back to our preview and now we don't see the row and column headings.
05:13So, any number of choices you can make here by way of Page Setup: clicking the
05:17dialog box launcher here and using the feature this way; or once again on the
05:21File tab from the ribbon; going to Print and making choices here by way of Page Setup.
05:28There are lots of ways to control the way our printout is going to appear
05:33by way of Page Setup.
Collapse this transcript
7. Introduction to Charting
Creating charts
00:00In this worksheet, called CreatingCharts in the workbook 07-Charting, we've got
00:05two sets of data and we might want to depict this data in a visual way.
00:09Excel's charting capability has long been one of its most popular features.
00:14And by the way, the term "chart" and the term "graph", often used interchangeably,
00:18in Excel, we use the term "chart", officially and formally.
00:22Let's select the data that we want to depict graphically.
00:25We can easily display this information as a chart simply by clicking the Quick
00:30Access Tool that often appears when we select data.
00:33Click it, choose Charts>Clustered Column.
00:37What does that mean?
00:38We don't necessarily know.
00:39But that chart looks pretty good.
00:40Let's just click and we've got a chart.
00:43That's certainly one way.
00:44You can move charts--and eventually we would want to move this to position it so
00:48we can see your data as well as the chart--
00:51simply drag an edge of the chart.
00:54You can resize the chart by dragging one of the so-called corner handles or side
00:58handles, shrink it and make it enlarged as you wish.
01:03We've got other data here as well, how about another approach.
01:06This data has totals in it, as a general rule--but certainly not an ironclad
01:10rule--including totals and details together doesn't work so well; but let's show
01:15another quick approach to creating a chart.
01:17This time on the Insert tab in the ribbon, choose "Recommended Charts".
01:24And as we look at these charts, we can click on them and get a better view off to the right.
01:28The grand totals seemed to be not ideal in terms of our display;
01:32it distorts the look of the charts.
01:34So, let's escape from here, select just this data, jump back up there to
01:39Recommended Charts and now these previews look a lot better.
01:43And as you look at these previews too, you begin to pick up some of the terminology.
01:47This is a Stacked Bar Chart.
01:49Bar charts are horizontal in Excel.
01:52Column charts are vertical.
01:53Stacking means you are putting multiple fields together, clustered means you're not.
01:58So we see different terms here that we will see often as we work with charts.
02:02We like one of the others here.
02:03We'll just click it, click OK or double- click it and we've got a chart for that
02:08data as well; move it off to the side.
02:11At certain times when you're creating charts, you've selected the data and you
02:14know which chart you would like to use immediately.
02:17So when you're ready to make a chart selection, click Insert and then to the
02:21right of the Recommended Charts, we see various types here.
02:24We might want to choose a Line Chart here or maybe a Pie Chart--is that going to
02:28make sense?--or maybe we do like a certain kind of bar chart here.
02:32So there's a Bar Chart and there's the Stacked one.
02:34We like the look of that, so there we go.
02:37An even faster method, but not necessarily the best--depends upon whether you
02:40like the chart style--is to select the data and simply press Alt+F1 and you will
02:47get a chart immediately; a Clustered Column chart on the same worksheet.
02:52Another quick approach, you've got your data selected, press the function key
02:56F11 and you'll immediately get a chart on a new sheet to the left of the
03:00sheet that has the data.
03:02So we are on a sheet called Chart1.
03:04Our data is on a sheet called "CreatingCharts".
03:07The advantage of working with a chart all by itself is that's our focus and
03:11nothing else--no data around on the side. We will spend some time perhaps in
03:15designing this chart or making it look the way we want.
03:18If we change our minds at some point and say we want this on another sheet, we
03:23can simply right-click here and then move the chart to a different location.
03:28If we no longer need this, we'll simply right-click and delete that sheet.
03:32Similarly, if we are working with a chart and we do want it to be on a separate
03:37sheet, for example this one, we could right-click the chart and choose Move
03:41Chart and put it on a brand new sheet; in this case, it would be called Chart2.
03:45So that's another option.
03:47Now, many times when you're creating charts, the amount of data that you're
03:50choosing to depict in a chart is a relatively small amount compared with the
03:54size of some of the worksheets we might have been working with; but there are
03:58cases when you're selecting, for example, meter readings over a huge amount of
04:02time, you might have quite a few cells selected, so there's no real limit on how
04:07many cells are being selected.
04:08But in general, we tend to see, when we're creating charts and in many of the
04:12examples, depict a small amount of data.
04:14But we've seen a number of quick ways to create them.
04:17Again, selecting the data and pressing Alt+F1--the very fast way--or simply using
04:23on the Insert tab, the various recommended charts that pop up.
04:27There's no question that creating charts is fast, it's easy and you can
04:31easily get rid of them just as well by simply clicking on the chart and
04:35pressing Delete.
Collapse this transcript
Exploring chart types
00:00Excel has over 50 different chart types, so it's not always clear which chart is
00:05best for the kind of data you're trying to show.
00:07We're using the sheet called Chart Types, let's select the data over in columns
00:12A and B and simply press Alt+F1, a quick way to create a chart.
00:17This gives us a Column Chart.
00:18Is this the best way to display this data?
00:21When you create a chart, recognize that the Chart Tools ribbon is activated, and
00:26we've got a Design tab and a Format tab at the top of the screen.
00:30Off to the right we see a choice called Change Chart Type.
00:35We can easily get a preview here of what this chart might look like, if for
00:38example it were a Bar Chart.
00:40Click here, we see some examples of that, we can slide over it, would this be
00:44better as a Pie Chart or how about a Line Chart?
00:47We can get a quick preview here and decide what looks best.
00:50If our starting data is multi- dimensional, like the data in column D, we get
00:56more choices here and more previews, so let's escape from this option.
00:59Recognize that this might be the best chart for the data we're seeing over in
01:04columns A and B. Let's move this down below for the moment
01:07we might come back to it later.
01:09Let's select this data here.
01:12Once again, press Alt+F1 for a quick chart selection.
01:15When you're creating charts, consider this possibility.
01:18Sometimes, the data looks better in separate columns as it is here, and when
01:23you're working with Column Charts, those are the vertical ones like what we see
01:27here or Bar Charts, the horizontal variation of these, clustering is the first
01:32choice, this may or may not be your best choice.
01:35If we change the chart type, we might change this to a Clustered Column.
01:40The advantage here is it simplifies the look of the chart, but on the other
01:44hand, if you're trying to read for example, the southeast entries, those are
01:48the green portions of the columns, you can't follow them from month-to-month so easily.
01:52You have got some other options out here as well that you might explore.
01:56Sometimes, you'll see a 3D Stacked Column, and as we move to the right,
02:00different variations on that, and then another variation like this.
02:04This might have some visual appeal, but it might be kind of hard to read too;
02:08but we certainly have easy access to the different chart types.
02:11If you only use charting occasionally, I think the best approach is to stick
02:15with perhaps only four major types here: Column, Line, Pie, and Bar.
02:22Pie is, by the way, somewhat specialized as we'll see.
02:26So, let's say Column and Bar are certainly common choices.
02:30You've seen these in magazines, newspapers, television, they're commonly used.
02:34Now, with certain kinds of data, if you're trying to emphasize volume, perhaps
02:37Columns and Bars are the best, but again, sometimes it's just a judgment call.
02:41Let's escape from here and move this over a bit, and consider the data in
02:46columns K through P. In this data here, we've got the same kinds of choices.
02:52Let's not include the totals, just the data here, and possibly getting a preview
02:57this time by way of the Insert Tab-- Recommended Charts--what are some of the
03:02examples that we might want to consider here?
03:04We can move the Title bar, the dialogue box, over to get a sense.
03:08If we're trying to show a trend, there's probably no better chart type than a
03:12Line Chart. And these are universally recognized because our eye tends to follow
03:17the lines from left to right; nothing wrong with a Column Chart here.
03:21There's another kind of chart here called a Stacked Area Chart.
03:24Maybe that displays the trend pretty well.
03:26We can certainly see a trend emerging here, at least in terms of the totals. But
03:31if it's a Line Chart, looks pretty good here, let's go with that option; and we
03:36can move these around too.
03:37Now, recognize that when you do choose Chart Types too, there's an option here
03:42that is not very obvious, and sometimes it brings us an interesting alternative,
03:46but with a Line Chart, we'll see how well this works.
03:49Switch Row/Column, not an obvious choice to make.
03:52I think in this case, it's a horrible choice, click it again.
03:56If you've got data that deals with times--for example Months here, or Years,
04:00or even Hours in some cases-- Line Charts tend to work best there.
04:05Now, again, that option that we have here on the Design Tab of Switching
04:09Row/Column, I think in this case is not a good one, but with the other data here
04:15let's scroll here to move the chart over.
04:17Move this chart all the way temporarily.
04:20The chart to the right is depicting our data right here.
04:23Let's select this chart and then Switch Row/Column.
04:26Now, here's an interesting variation.
04:29This shows columns differently.
04:31Each cluster of columns here is about a region.
04:35Earlier, it was about a product.
04:37Let's go back and switch that again--Switch Row Column.
04:40I use this feature all the time, not because I'm always looking for a better
04:44chart necessarily, but the difference in the two--and we can bounce back and
04:48forth if we wish--sometimes is interesting and sometimes we end up saying,
04:52"let's have both of these".
04:54So one possibility might be, we could just shrink this a bit, move it over here,
04:58and make a copy of it or create a brand new chart, either way.
05:02How can we make a copy of a chart?
05:04We can simply drag a chart with the Ctrl key held down, let go of the mouse, we
05:09made a copy of the chart.
05:11Let's change this chart here.
05:12On the Design Tab, we'll Switch Row/Column.
05:15Let's say for the moment, we'll put them side by side, but now we can see the
05:19two charts together.
05:20What we're saying here is it's not always the case that you want to see both
05:25charts, but recognize that we have this quick ability, by using Switch Row/Column,
05:28here to get different kinds of charts.
05:31One or the other might be better.
05:33We'll choose just one, fine, or maybe both.
05:35As we work with different kinds of data, that's an option you want to explore.
05:39Now, if you do want to try a Pie Chart--it makes sense sometimes--
05:43usually, they work best if you have only a single column or row of data.
05:47A strange thing will happen if, for example, we take this data here and try
05:52and create a Pie Chart.
05:54Insert Tab, here are the Pie choices, right here, click here.
05:58How about a 3-D Pie? It sounds good.
06:00That looks pretty good in the background there, let's keep it.
06:04But it's got the title NE on it. So what did it do?
06:07It really only used this first column, even though this data was highlighted.
06:13So there are some serious shortcomings in terms of the amount of data that can
06:17be displayed in a Pie Chart.
06:19Recognize this oddity too, what if one of these numbers was negative?
06:23I'm going to make this to be -100.
06:25Watch the Pie Chart.
06:28Obviously, the wedge changed, but as you slide over the wedge--as I'm doing
06:32right here--it's displaying this as if it were a positive number. And the more
06:37you think about it, it would sound kind of strange to say we've got a
06:41negative piece of pie, but oddly enough, if you have got negative data, it's
06:44just a terrible candidate;
06:45it doesn't even fit here.
06:46I'm surprised that Excel even allows us to create a chart, where we have got a
06:50negative entry here.
06:51So, I'm going to press Ctrl+Z to undo that, but be careful with that idea.
06:55If you're using a Pie Chart, it's got to be all positive data to make any sense.
07:00You can only really do this with a single row or a single column of data.
07:04The column AB combination does make good sense.
07:07If we want to get a breakout here of how these various locations for our sales
07:12are occurring-if we want to get a breakout here of the items in a Pie Chart--
07:16simply select this data--Insert>Pie-- there's our 3-D Pie; and that's a good
07:24visual depiction of how our sales have broken out.
07:27You can also, eventually, add percentages and other tools here as well.
07:31So in this move, we've seen a variety of different chart types.
07:35If you only use the feature occasionally, I strongly recommend sticking with
07:38Column, Bar, Line, and Pie.
07:41These are the most widely used charts, and the best charts for depicting
07:45data most of the time.
Collapse this transcript
Formatting charts
00:00Excel has so many different formatting options when it comes to charts that you
00:04could easily waste a lot of time.
00:06Let's make this relatively simple.
00:07If we want to create a chart from the data in columns A and B, let's
00:11simply select the data.
00:12Maybe we're interested in a Pie Chart here.
00:14We'll go to the Insert tab in the ribbon and choose Pie, perhaps a 3-D Pie.
00:20It looks pretty good.
00:21We might not like that a whole lot, but immediately, what do we see in the Chart
00:25Tools ribbon, that's active when a chart is selected?
00:28We have got a Design tab, Chart Styles, as we slide over these choices, we
00:34see some variations.
00:35By the way, when you see these, don't overlook the drop arrow here because
00:38there might be more choices than you initially see--and exploring these--that
00:42one looks pretty good. Click it.
00:45So that's the first thing you might want to consider doing when you create a chart.
00:49You also have the same capabilities here exposed by way of the three buttons
00:53that you see to the right of a chart whenever a chart is selected.
00:57The middle button, the Paintbrush is Chart Styles, so click it and here we
01:02see the same choices we saw before, but presented differently.
01:05We can scroll up and down and maybe change our minds by making one of these choices.
01:09So that's certainly easy to get to make our changes this way.
01:13Now let's work with the other data here.
01:15I'm going to shrink this a bit by dragging its corner this way and for the
01:19moment that chart doesn't look so good, but we'll put it down here below the data.
01:23Let's take a look at this data here.
01:26Let's create a chart quickly this time with Alt+F1.
01:30We get a Clustered Column chart.
01:31It looks pretty good.
01:32Chart Styles up above, there they are, same idea as with the Pie Chart.
01:36This time if we click the drop arrow to the right here, we'll see even more choices.
01:41So depending upon the chart type, you will see more chart styles and pick the
01:45one you like best, maybe this one.
01:47Notice how all these choices give us the generic term Chart Title, something we
01:52will want to change.
01:53Once we have created a chart, we do want to make some changes to it.
01:57Certainly Chart Title, we don't want to keep.
01:59We might want some explanation as to what these numbers really mean.
02:02We might want some information below the chart as well.
02:05The legend might be just fine where it is or we could put it elsewhere.
02:09But something you could easily overlook is a feature on the Design tab.
02:13Second button from the left is called Quick Layout and when you first click
02:18this, it doesn't look too promising, like these images are awfully small.
02:22As you slide over these though, keep an eye on the chart to see the
02:26differences in these choices.
02:27Now nearly all of them contain Chart Title although some don't.
02:31Some place the numbers, the values of the columns above them.
02:35Some use gridlines, dark and light, some don't.
02:39Some place the legend on the right-hand side.
02:41After using the feature for a few times, you'll come to recognize that some
02:45choices work better for you.
02:47I like this one here, Layout 9.
02:49Notice how it provides space for a title at the top and also down the left hand
02:54side and also below, so I'll just click it.
02:56Now it's pretty obvious I don't want to use the term "Chart Title" so normally
03:00what you do is click here, type in something new and press Return--and that's how
03:05you adjust the title.
03:06But what if you've got a worksheet cell that has data in it?
03:09Click Chart Title, click in the Formula Bar, type Equal, and then click the cell
03:15that has the label that you want.
03:17In my case here, I want to click D2, the cell right there.
03:21Press Enter and the title was placed in here automatically.
03:25I don't have a similar title for Axis here and the data apparently is by items
03:29sold, so I'll just say, "Items Sold".
03:34You can imagine in some cases where you would be typing in something like Value
03:38in Dollars or Items Sold in Dollars, something like that.
03:41Whatever you type, press Enter and then we see that as the label; and you could
03:45of course change that later.
03:47We don't necessarily need a title down below so we could press Delete or if we
03:50want to put in the year here, fine, we'll do that, 2013 Sales, and we see that
03:57at the bottom of the screen.
03:59So that's a quick way to adjust the format, the display of a chart and for some
04:03people that's pretty much it--
04:05that might be all they want to do-- but let's not overlook the Format tab.
04:09Here's where you could get bogged down if you're not careful, but if you like
04:13different colors perhaps on the perimeter of the chart, you might have
04:16recognized or picked up on the idea that the inner area of a chart--the one that
04:21usually contains a grid and contains columns or bars--is called the "Plot Area".
04:26The outer area near the perimeter of the chart is called "Chart Area".
04:29Would you like a color out there?
04:31Click Chart Area and then on the Format tab, consider the possibility of
04:36changing the styles here.
04:39As we slide over these choices, you could see what's happening in the background.
04:42If you're a little bit unsure as to what it is you want to use here, well, you
04:47might spend a lot of time looking at some of these choices, so you make a choice perhaps.
04:51The inner area, maybe you want that to be a contrasting color, so you click
04:55there and make a similar choice for the inner area, recognizing quite a few
05:00different choices here.
05:01When it comes to other kinds of formatting, you might click here and say, "Well,
05:04I want that to be bold,
05:05I want some other option here", you might consider going to the Home tab and choose "Bold".
05:11So now the text is bold.
05:12And use some of the other features available in the Font group on the Home tab.
05:16So formatting is certainly important because you want your chart to look a certain way.
05:21First approach, again, on the Design tab, choose a Chart Style, after making
05:26that choice, go to Quick Layout-- consider some of the options here that will
05:31allow you to place the titles and the labeling information appropriately.
05:35Those are the two kinds of features that you want to use to make formatting
05:38relatively straightforward as you work with charts.
Collapse this transcript
Working with axes, labels, gridlines, and other chart elements
00:00Each part of an Excel chart has a name and although it's not important to
00:04memorize those, you want to get used to the idea that a chart is comprised
00:08of various elements.
00:09In this worksheet called ChartElements in the 07-Charting workbook, if we select
00:15the chart--it's depicting the data in columns D through I--depending upon where
00:19we click and how we move the mouse around, words pop up on the screen. For
00:23example, I just slid the mouse into the area where the columns are and we see
00:27the term "Plot Area"; slide up here, we see the term "Chart Area".
00:32Point to one of the columns, we see that it's part of a series; point to the
00:36data along the left hand side that's the Vertical Axis; down below, we have got
00:41a Horizontal Axis and so on.
00:43If there are gridlines, if we point to them, we will see that we have got
00:47possibly major gridlines and maybe minor gridlines.
00:50If the Format tab is active and it will be if the chart is selected--it's part
00:54of the Chart Tools ribbon--the upper left corner in the current selection group
00:59contains the name of the current element, the one that's selected.
01:02If you click on the chart and start using the down or up arrows that's another
01:06way to see the elements--no real reason to do this except possibly to take stock
01:09of what can be selected--there for example are the gridlines.
01:13And we see that in the upper left hand corner, there is the Title, Chart Title and so on.
01:17We sometimes want to make changes. For example, in this chart we have got
01:22gridlines here, but maybe they are not strong enough, they are kind of
01:24weak-looking, so we might want to make changes simply by right-clicking on
01:28one of the gridlines.
01:29If you right-click a chart element, you will get a menu that encloses the word
01:34"Format" followed by the element that you had clicked, for example, Format
01:38Gridlines. And that activates a dialog box over on the right hand side with many
01:43choices depending upon which element you have selected.
01:46In this case I want to make the lines thicker, the term is "Width", it's currently
01:510.75, I will change this maybe to be 2.
01:55You can see the lines, getting thicker already.
01:57That's what it would look like if it were three, maybe two is better.
01:59So we'll make a choice here.
02:00And we are done, and we close the dialog box.
02:03Maybe we don't like the way the scaling is done here, maybe someone else has
02:06been working with this chart, why does the scaling go to 1000, looks like it
02:09only needs to go to 700 or 800 or so.
02:11So we right-click the Axis area and choose Format Axis, again, activating the
02:18dialog box over in the right hand side.
02:20It shows us we have got a Minimum and a Maximum, we can go with the automatic
02:25settings--looks like someone has altered this a bit--we might change this to 800
02:28or maybe change it to 900; simply do a reset maybe, see what happens. What happens now?
02:34It looks like it goes to 800.
02:36We could override that, we might put in 750.
02:38So we have got some control over this.
02:40And the idea here is not to create "make work projects", but to suggest that we do
02:44have some options for controlling the display here.
02:48So, right-clicking any element leads us into some other choices.
02:52Right click Chart Area and choose Format Chart Area and we see some choices out there too.
02:58Those tend to be mostly visual, but we sometimes want to make some changes.
03:01Now, there is another approach to this too, when a chart is selected, of the
03:06three buttons on the right hand side, the top one plus indicates Chart Elements.
03:10Add, remove or change chart elements such as the title, legend, gridlines and data labels.
03:15Now we haven't even seen that term "data labels", maybe, what does that mean?
03:19As soon as we click the choice, we do see the Chart Elements that are currently active.
03:24And we don't see anything about data labels--what are they? Let's go here.
03:27Well, immediately we see something happening on the screen.
03:30Now, there is an arrow to the right, let's click it,
03:34center, and look what's happening on the chart or inside end.
03:37The data labels that we might want to consider using can be placed on the columns here.
03:42As we look to these choices, we decide whether we like this or not, I think we
03:46probably wouldn't care for that one;
03:48make a choice here.
03:49That's provided of course, we do want data labels.
03:52Looking a little crowded there.
03:53That might work better if we had fewer sets of columns here, fewer series, but
03:57nevertheless that's a choice you might want to make.
04:00So from time to time, I think you do want to explore these to see what they
04:03might do to make this chart look better.
04:06Data table, probably not a good choice here, it simply replicates the data.
04:10This might be a good choice if you have a chart on its own sheet.
04:13Axis Titles, off to the left and bottom we don't have them right now, maybe we want them.
04:18You make decisions about how you want to change the appearance of the chart.
04:22And this might be a good starting point because it does alert you to some of the terminology.
04:26It does give you some ideas.
04:28We do have Gridlines here, but you may or may not have been aware of the idea
04:31that with gridlines can come also--by clicking the arrow here--Primary Major
04:37Horizontal which we have seen; how about Primary Minor Horizontal?
04:41Now those are very faint, I can see them you probably can't.
04:44But I could, if I wished, then select these minor horizontal lines and make them
04:49thicker or use a different color.
04:51And again, I think the danger here is not to get bogged down in features that
04:55you never even knew about, but to give more impetus and weight to the visuals in
05:00the chart, make the changes that you want.
05:02I think the gridlines actually look pretty good here, so I am going to bring them back.
05:06Not too sure about the data labels, but we can leave them there for awhile.
05:09If the chart gets bigger or if we decide to show a fewer series, maybe those
05:13numbers aren't quite bumping into each other so easily.
05:16We could also right-click one of the numbers and choose Format Data Labels and
05:22possibly make some changes there too, either going to the sizing and maybe
05:26reconsider the positioning too.
05:28So lots of choices here for controlling the various Chart Elements that exist
05:32within Excel Charts.
Collapse this transcript
Creating in-cell charts with sparklines
00:00If you're interested in creating a quick visual representation of data without
00:05creating a full-fledged chart, you want to be looking at Excel's feature called Sparklines.
00:10We've got some data here in columns D through P. If we select data like this, as
00:15we often do in Excel, we do see the Quick Analysis button pop-up.
00:19Let's click it and there's the choice called Sparklines.
00:23There are three kinds of Sparklines.
00:24Actually, one is a Line, and we see the preview already or Column or Win/Loss,
00:29which in this case we will not use, possibly Column or Line, so just click Line.
00:34What do we have here?
00:35That's a depiction of what's happened over these 12 months.
00:40When these are selected, we have a Sparkline Tools ribbon and a Design Tab, and
00:46so we might want to make some quick changes here.
00:48Nothing wrong with that really, but maybe this will look better if we change the
00:52Sparkline Color possibly even the Weight, meaning the width of this.
00:56So now maybe that's a bit more prominent.
00:58So we get a quick read on the data here.
01:00In this case too, it might make more sense if we use our Zoom slider bar, zoom
01:04in a bit to see what's happening there.
01:07Now, to enhance this, you might also want to consider on the Design Tab, showing
01:12just the High Point or the High Points and the Low Points, maybe all the points,
01:18the term is Markers like that, looking a bit crowded.
01:21That might look a little better, if we go back to Sparkline Color and
01:24perhaps change the Weight of this to be a little bit thinner, looks a bit
01:28better that way. So we can quickly see what's going on during this
01:31particular set of data here.
01:32Another option which we saw briefly, and we can get to it on the Design Tab
01:37here, is to change this to be a column and that might make sense too.
01:40We do have the High and Low Points selected, maybe not as necessary now, but
01:45that too gives us a reasonable visual depiction of the data.
01:48Now, at certain times, the data you're selecting doesn't automatically fit into
01:53the quick analysis ability to create Sparklines.
01:57So suppose for example, we wanted a Sparkline here to show what's been happening.
02:01Now, here, the data is oriented vertically.
02:04If you choose the box here and go to Sparklines, the choice here comes up to be nothing.
02:09It tries to put the data on the right, so let's not do that.
02:13We've got our data selected, then we can go to the Insert tab and choose
02:18Sparklines, this time we use a Line as well.
02:21Let's start with Line.
02:22It asks us, where do we want this to be?
02:25We've selected the data that's the source, where do we want the Sparklines to be placed?
02:30We'll click in cell B13. click OK and there it is.
02:35Organized differently and perhaps not as commonly seen this way as we saw over
02:39here, but nevertheless, that's a reasonable visual depiction of what's happened
02:44to these numbers over this nine-month period, and here too, you might want to
02:47consider making that thicker.
02:48Now, we've got some other data off to the right here and this has negatives
02:54in it, so let's consider putting in Sparklines here; but this time, let's
02:59explore by way of Insert and Sparklines, possibly Win/Loss because we've got
03:04negatives in the entry here.
03:05How might this look?
03:07Here, somewhat differently than the previous example, I selected the area where
03:11the lines are going first, so that's already selected, but now it's asking me
03:15where is the source of the data?
03:17So clicking in the upper panel, then selecting these cells right here and then
03:22clicking OK gives us this look.
03:26The red, of course, represents the negatives as we see them here.
03:29Depending upon the nature of the data, these might be a better choice.
03:33By the way, if you make the column wider, it's easier to read perhaps, but we
03:36always have that right when we're doing these to consider how this might look as
03:40a Column or as a Line.
03:42Now, here's something you want to be a little bit careful with, the idea
03:46that you can change the meaning of this--not by changing the values, that
03:49would be completely unfair and perhaps illegal--but look what happens here
03:53if we make this column wider.
03:56It tends to flatten out the changes that we're seeing.
04:00We could also go back to column Q, by the way, try it over there,
04:03it's going to have greater implications over there for that previous set of
04:07data we were using.
04:08Let's change this by way of the Design Tab to Lines, and then possibly make
04:13this wider; and that gives us a completely different picture--as I press Ctrl+Z--
04:18as to what we saw here.
04:20Here's another possible option, although less likely.
04:23If I select rows 4 through 7 and make them taller, watch those lines change,
04:28and that certainly accentuates the idea that there's been a lot of change
04:32through this period.
04:33So making columns wider or narrower and rows taller or shorter, does change
04:40the impact of what we're showing here with these Sparklines--so think out
04:45those issues a bit.
04:46I'm going to press Ctrl+Z here a few times to return these to the previous display.
04:52Let's go back to these again too.
04:53The idea here with these pluses and minuses, if we are choosing Lines and
04:58that certainly is an option, we might also want to consider on the Design tab
05:02here, choosing Axis.
05:05If we show the axis, that accentuates the idea that we have crossed the "zero boundary".
05:11So, we don't necessarily have to use the markers.
05:13We can certainly do that or the negative points.
05:16Use the markers maybe or maybe not, but we do see where the data falls below the line.
05:20The idea here is, with Sparklines, we want to get a quick, good, visual depiction
05:25of the data in question without necessarily showing a large chart and this gives
05:30us more freedom within a worksheet here, to show other sets of data as well.
05:34With this data here, it may or may not make sense, but you might consider
05:38putting Sparklines below the data.
05:40Now here Lines perhaps wouldn't be as good, but we can check this out and decide.
05:45After selecting the data here, Insert Tab, Lines and the Source Data--the Data
05:51Range, this data right here--and OK.
05:56Now, we see a depiction of each one of these.
05:58So what we're seeing here of course is reflected right here.
06:01The difference here is, and this could be considered actually better, showing
06:05line charts across different regions, as if they were somehow connected, in a
06:09certain sense is misleading, but showing lines here--and in each case it's about
06:14years from 2008 through 2012--perhaps this is a better use of the idea that the
06:20data flows from year to year.
06:22So even though we're not seeing any indicator on these actual Sparklines as
06:26to what the various points mean the points here mean different year entries
06:30for Northeast and Northwest and the other regions as we click across here. But
06:34the lines here, I don't think you'd really want to connect them, so I think you
06:39can make a strong case for saying, "Lines are not the best choice here, maybe
06:42columns are better".
06:43So you can see the variations here and the idea behind Sparklines, a quick
06:47visual representation of data in a single cell.
Collapse this transcript
8. Adjusting Worksheet Views
Freezing and unfreezing panes
00:00When you work with a large list, as in the data that we're seeing here on the
00:04freezing sheet, one of the problems you run into and particularly if you're not
00:07familiar with the data, is that as you scroll up and down the data, you lose
00:12sight of where the column indicator is.
00:14We're not seeing row 1 anymore.
00:15Similarly, sometimes we scroll rightward and we see some data and we wonder,
00:20well, who is that person?
00:22Which salary are we looking at here?
00:24We don't see the names out of column A. Sometimes we might want to see not only
00:28the name, but also perhaps the name and the building where the person works at
00:32or maybe some other information.
00:33We're talking about the potential ability to freeze rows or columns, so that we
00:38can always see certain information on the screen.
00:40So, if we only want to freeze the top row, the active cell can be anywhere
00:45within our data and we go to the View tab, choose Freeze Panes and Freeze Top Row.
00:53It keeps the top row visible while scrolling through the rest of the worksheet.
00:57Click it, a slight visual change here, very slight.
01:01The row separated between rows, 1 and 2 is slightly darker than the others, but
01:05as we use the mouse wheel or the scroll bar or the trackpad to scroll up and
01:09down here, we always see row 1.
01:11Now it's possible that in a different situation with different kinds of data,
01:15maybe we don't care about row 1, but we do care about always seeing column A, so
01:20let's disable this feature.
01:21Many of the features on the View tab, you cannot reverse with the Undo command.
01:26Let's go back to Freeze Panes and Unfreeze the panes.
01:30Now consider possibly freezing the first column, a slight visual difference
01:36there with a darker gray column separator.
01:38Now as we move rightward either with the arrow keys or we scroll in the lower
01:43right hand corner, we can move rightward and leftward, we're always seeing
01:46column A. Click again here.
01:48Let's remove that feature, Freeze Panes, Unfreeze the panes.
01:53Now, if we'd like to see row 1 always and column A always, we'll position the
01:59active cell in B2 or if we always want to see columns A and B, no matter what as
02:05well as row 1, we'll Click in cell C2.
02:08Let's suppose it's just the top row and column.
02:10Click in B2, Freeze Panes and then simply Freeze Panes.
02:16Keep rows and columns visible while the rest of the worksheet scrolls based
02:20on current selection.
02:21That's what we want.
02:23Now we've got a two-way freeze in effect.
02:25We can scroll up and down and always see row 1.
02:28We can scroll left and right and always see column A. So it's great feature for
02:33working with large lists of data when you definitely need to see specific
02:37information all the time.
Collapse this transcript
Splitting screens horizontally and vertically
00:00When working with large worksheets, it may be advantageous to see different
00:04portions of the worksheet at the same time.
00:07In this list here, we've got some entries here for the Admin Training group and
00:11later there's a Professional Training group.
00:13We might want to see some of those names together at the same time.
00:17You can split a screen vertically or horizontally or even both ways.
00:22If we want to split the screen top bottom horizontally, put the active cells
00:27somewhere in column A, no matter where you happen to be on the screen at any
00:31given time more or less around the middle, somewhere out here for example.
00:34And then, on the View tab in the Ribbon, choose Split.
00:39We split the screen top bottom.
00:41Here's the split line right here.
00:42We can move this up and down if we wish.
00:45Now recognize there's a scroll bar on the right-hand side that lets us scroll
00:49above the split line.
00:50Nothing is scrolling below the line though, so maybe we want to see some of
00:54those Admin Training people over there that we were looking at earlier.
00:57There they are, some of those people.
00:59Meanwhile, below the split, we might want to scroll to see the Professional
01:02Training group, which is much farther down on the list somewhere in the 500 row
01:06area somewhere down there. There we are.
01:08We're seeing some of those people.
01:09So we're seeing two different portions of the worksheet.
01:12Up here, we're looking at rows 97 through 104, down below it's rows 533 down to 540.
01:17By changing the Zoom factor possibly, we'll see more rows.
01:21The main idea though, is we'd like to see data from different parts of the
01:25worksheet simply by splitting the screen.
01:27That's a handy device to be sure.
01:29Now at some point, you don't need this anymore.
01:32Remember you can move this up and down.
01:34We can also get rid of it simply by Double-Clicking and once again, if you wish
01:38to split a screen top bottom, in a so-called horizontal split, put the active
01:42cell in column A, more or less mid-screen and apply Split.
01:46Now, maybe not as obvious, but a similar feature to split the screen left right
01:51or vertically also exists.
01:53The idea here might be, you might want to compare some of the data or look
01:58at some of the data that we see here along with some of the data way off to the right.
02:02Now we could certainly hide columns to get there but this too might be
02:06an advantage to us.
02:07Maybe we don't care too much about department, we'll make that a little bit
02:11smaller for the moment, ignoring it pretty much.
02:13We want to split the screen maybe left to right.
02:16This time, we want to put the active cell in row 1 and then split.
02:22We split the screen left to right.
02:23So, we've got two scroll bars at the bottom, allowing us to scroll on the right
02:28side of the screen, left to right.
02:29We could even possibly be showing columns A, B and C here.
02:33And the scrollbar for the left side of the screen down here, we can be looking
02:36at the data that way, so that's a little bit unusual perhaps, but nevertheless
02:40we're looking at Salaries and Ratings next to Employee Names.
02:43We're splitting the screen left-to-right.
02:45As we scroll up and down, they're always in sync, so that's another possibility,
02:49splitting the screen left to right.
02:51Now if we want to get rid of this, we can simply Double-Click the split line.
02:55Now, what happens sometimes is people are not quite aware of this feature.
02:58They've got the active cell, this location, that location and they say, I want
03:03to wonder what Split does.
03:04They see the description:
03:05Divide the window into different panes that each scrolls separately.
03:08Sounds interesting, Click.
03:11Now we've got a two-way split.
03:13If you activate split, when the active cell is not on the edge, either the top
03:17or left edge, you get in effect, four different panes here.
03:21Now you can move this intersection point over here if you wish or wherever you
03:26wish, but with the idea of having two vertical scroll bars on the right side,
03:31two horizontal scrolls on the bottom, it's a little bit chaotic as you work with this.
03:35Now, to prove a point, one thing you could say is that in one portion of the
03:40screen or the other, I could press Ctrl+Down Arrow here maybe and ultimately
03:44go to the very bottom of the worksheet, very last row and there's the very last column.
03:49So I can see the last row, last column cell right there, in the upper left-hand
03:54corner, I might be looking at A1.
03:56I'm not sure if that proves a strong enough point, but with a four-way split, in
04:00other words having a vertical and horizontal split line at the same time, you
04:04could conceivably view any two cells in the worksheet at the same time no matter
04:08where they're located.
04:09I think it makes a lot more sense in these examples to either have a
04:13horizontal or vertical split and more often than not, you're likely to see the horizontal split.
04:19So I'm just going to Double-Click the vertical line here to get rid of that
04:22vertical split and now we're left with a horizontal split, which I think makes a lot more sense.
04:27Now, we can view our data this way.
04:29At some point, we don't really need the feature, we can either Double-Click this
04:33or possibly go back to Split and simply, it removes the split by clicking it.
04:38So splitting the screen either vertically or horizontally gives you the option
04:43of seeing data from different parts of the worksheet at the same time.
Collapse this transcript
Showing necessary information with the Outlining feature
00:00In the worksheet called Outlining, we're seeing Budget Projections for 2014 and
00:05this sheet contains a lot of data.
00:06Now imagine if you'd like to display this information for presentation.
00:10It contains 12 months, it's got quarterly totals, a lot of information here and
00:14perhaps overwhelming, too much for a visual display and what you might want to
00:19consider doing ahead of time is hiding, for example, columns B, C and D and
00:25showing the first quarter totals and then doing the same kind of thing for the
00:28other months as well.
00:29You'd like to be able to present the data in a more compact way, not showing all the detail.
00:34Similarly, looking at the rows here, maybe you don't want to show that detail
00:39or this detail here.
00:40You do want to show some of those total rows.
00:42We've got expenses down here.
00:43You might not want to show that data as well.
00:46Now, hiding columns and rows doesn't take that long, but if you're making a
00:51presentation, you might want to have the flexibility to quickly expand and
00:54collapse the data and not necessarily show the audience the various Excel
00:59commands needed to get there.
01:00What if we could quickly Click a button or two and watch this data expand or collapse?
01:05Now there's nothing unusual in this worksheet really.
01:08Column E has quarterly totals as does column I, and a few others to the right.
01:13So there are formulas in column E, not in every single cell as we can see, but
01:17there's one here that's tabulating the sum of these and so on.
01:21Now, just by having these in place, Excel's outlining capability will pick up on that.
01:26It will allow us to essentially collapse this data and possibly show only the
01:31quarterly totals or maybe even show only the grand total.
01:36And so, you might think that the data in this worksheet is rigged or has to be
01:40set up in a special way, it isn't.There are certain rows here, for example, row
01:447 that tabulate data from the two cells above.
01:47There's a formula right there, simply adding the two and we see other kinds of
01:52rows here as well, not nearly as many as we have for columns perhaps, but
01:57nevertheless they're there.
01:58So how do we activate the outlining capability here?
02:01The active cell is somewhere within the data.
02:03We go to the Data tab and in the Outline group, we have an option called Group.
02:10Click the drop arrow and choose AutoOutline.
02:14Look what happens to the worksheet here.
02:16We could see some symbols up above.
02:18We see some vertical numbers 1, 2, 3 and some horizontal numbers over here, 1, 2, 3, 4.
02:23I'm going to Click the 2 where we see the vertical 1, 2, 3.
02:28This collapses the display so that we only see the quarterly totals.
02:33If I Click one, we're only seeing the grand total.
02:36Now I haven't done anything with the rows just yet, but if we Click number 3, we
02:41are going to see the horizontal 1, 2, 3, 4, this will collapse the detail
02:46somewhat, but not completely.
02:47We've got interim totals there.
02:50That's why we have four instead of three levels.
02:53We'll Click the 2 and we're not seeing too much of a display there right now, that's it.
02:58Click one and now we're down to one cell, which probably we wouldn't use very often.
03:02So a more typical display for this data might be Click the 2 or the 3 here for
03:08the horizontal data and then Click the two up top where we see the vertical 1,
03:132, 3 for the rows this way.
03:15Now, depending upon how you're making the presentation or what it is you want to
03:19show, you could imagine saying or thinking, those Outlining symbols take up a
03:24lot of space or a couple of options.
03:26You may be familiar with the idea that you can quickly hide most of the ribbon
03:30except for the tabs simply by Double-Clicking the current tab.
03:33So if we Double-Click Data at the top of the screen, that collapses and gives
03:37us a bit more room.
03:38If you want to hide the Outlining symbols, you want to press Ctrl+8 and that
03:43hides them and you can get them back with Ctrl+8 as well, so maybe you want to
03:47keep the display this way.
03:49Another option here, too, is with those arrows present, so we'll press Ctrl+8
03:53again, bring them back.
03:54If a discussion begins around what happened in the third quarter last year,
03:58if someone is interested in seeing the detail for the third quarter at least
04:02momentarily, you can Click the plus right here that's above the third-quarter and what happens?
04:07We see the detail for the third quarter for a while.
04:10We'll leave it there for a bit.
04:12The discussion has run its course. What we do now?
04:14We collapse it.
04:15Similarly, with the data down the left-hand side, if we don't necessarily want
04:19to see the Gross Profit detail broken out this way, Click the minus, collapse it that way.
04:24Do we need to see those expenses?
04:26Well, we might at different times and at other times, maybe collapse them so
04:30we're looking at a list like this.
04:33And so in the different ways, we can expand and collapse this view.
04:36Once again, getting of rid of those symbols, it's Ctrl+8, bringing back, it's Ctrl+8.
04:41If we Click the three in the vertical 1, 2, 3 as I just did, we see the
04:45vertical display expand.
04:46Click in the four here, we're back to the original display.
04:49If you want to redesign the layout of this particular worksheet, you want to
04:54exit this procedure and here we do want to bring back the data tabs so we'll
04:58Double-Click Data and then go to Ungroup and choose Clear Outline.
05:03And we're back to a normal display.
05:06This is potentially an ideal vehicle if you're making presentations of complex data.
05:12So, rather than hiding the columns, let the outlining capability work for you
05:17as you use these features available from the Outlining group on the Data tab in
05:20the Ribbon.
Collapse this transcript
9. Multiple Worksheets and Workbooks
Displaying multiple worksheets and workbooks
00:00If you're working with a workbook that has more than one sheet, you sometimes
00:04want to see a portion of each of these sheets at the same time.
00:08If you're working with different files at the same, you might want to see a
00:12portion of each of those files at the same time.
00:14In this movie, we need to be viewing the file 09-01-RegionalSales and two other files.
00:20When you do you have more than one file open, on the View tab in the Ribbon, the
00:25Switch Windows button shows you currently open files.
00:28The other two files we need to see are 09-01-Home Product Line and
00:3209-01-EmployeeTable.
00:35In this workbook RegionalSales, suppose we want to see a portion of the
00:38Midwest and the South and the West sheets as well as the East sheet that's currently showing.
00:43On the View tab, if we want to see additional windows, we need to Click
00:47New Window three times.
00:49Back to the View tab, New Window, Back to the View tab, New Window.
00:54We now have four windows available, View tab, Arrange All and we do want to make
01:00sure in this case, we want to view windows of the active workbook.
01:04There are four choices here, Tiled is usually the best. Click OK.
01:09We now have four windows.
01:10It's looking very crowded.
01:11One thing we can do to see more of each worksheet is to Double-Click any of the
01:15tabs, for example, the View tab and that collapses the view.
01:19I'll do this in the window on the right side too, Double-Click View in each case here.
01:23Lower right-hand corner, Double-Click View and lower left corner, Double-Click View.
01:28It's quite possible we're looking at the same worksheet in each window so
01:32that's not so helpful so in the upper right window, let's just Click there and
01:36view the Midwest sheet.
01:37In the lower left corner, Click there and Click the South sheet, lower right
01:41corner, Click the West sheet.
01:43So now we're seeing four of the different sheets at the same time and this
01:47layout might be ideal if we're simply comparing the information, looking
01:51back-and-forth or if we need to copy information, it's best to have the sending
01:56and receiving areas all visible on the screen at the same time.
01:59Now we don't always want to see four windows.
02:01Maybe we only want to view two, so we can close down these windows.
02:05It seems like we're closing a file if we Click the X in the upper right-hand
02:09corner of one of these windows.
02:10I'm about to do this in the lower right-hand corner.
02:13So just Click the X and if there are other files in the background, we might be
02:17seeing a portion of them, I'll go to the upper right, Click the X there and now
02:21I want to view just these two windows so I'll back to the View tab in the ribbon
02:26and choose Arrange All.
02:28We might possibly want to arrange these windows in a horizontal arrangement.
02:32Click OK and now we see the windows this way.
02:35At other times maybe it's more advantageous to view these vertically,
02:38View tab>Arrange All>Vertical.
02:42You'll be the best judge of which layout works best for you.
02:45Now we do have two other files open.
02:48Sometimes we want to see portions of each of those files.
02:52Currently, we see two windows of the same workbook.
02:55We can close either one of these and we're back to one window here.
02:59Now, let's consider viewing a portion of each workbook.
03:03Back to the View tab, we don't need additional windows here, simply Arrange All,
03:09this time make sure that you un-check the box for Windows of active workbook.
03:14You can choose any arrangement you want.
03:15Tiled tends to work best most of the time.
03:18Click OK and now we're seeing portions of three separate workbooks.
03:22Whenever there's an odd number, one of these will get a larger share of the
03:26screen and so if for example here, if we want the Employee Table, which is now
03:30on the lower right-hand corner to have greater dominance here, just Click there
03:34and then go to the View tab, choose Arrange All>Tiled>OK and that's now going to
03:41be on the left-hand side.
03:42And here too, when you're comparing information in different files or you
03:45want to copy-paste information from one file to another, this is the ideal arrangement.
03:51At any time, if you simply want to focus on one of these, just maximize using
03:55the box just to the left to the X in the upper right-hand corner, the Maximize
04:00button, to make that particular file become full screen.
04:03So as we've seen, you can see different sheets of the same workbook by first
04:07creating new windows and then arranging the layout or you can see portions of
04:12multiple workbooks simply by clicking the Arrange All button.
Collapse this transcript
Renaming, inserting, and deleting sheets
00:00We're using the workbook 09-02-RegionalSales.
00:04The sheet names are appropriate except for Sheet3 and so changing the name of
00:09the sheet is something you want to be able to do quickly and easily.
00:12You can access many features related to sheet tabs simply by Right-Clicking a
00:15sheet and that brings up a menu.
00:17Here, of course, is a choice for Rename.
00:19It's much faster, however, simply to Double-Click a sheet tab.
00:22This Sheet3 for example contains Annual Performance Scores.
00:25It contains some sparklines in column H . Let's just change the name of it by
00:29Double-Clicking and we could type anything we want.
00:31Why not Annual Scores?
00:34You can have spaces in sheet names.
00:36They can be up to 31 characters.
00:38Simply type in the name you wish and press Enter.
00:41If we need to add a new sheet, we can simply Right-Click and we're about
00:45to insert a new sheet.
00:46If we choose Worksheet here and then OK, a worksheet just to the left of the
00:50sheet that had been selected.
00:52But there are two faster ways, if we want a new sheet to the right of any
00:55worksheet, suppose we're going to add a new region between South and West.
01:00Maybe it's going to be a mountain region.
01:02We want a new sheet to the right of South here.
01:04Click the South tab and then to the right of our sheet names, we'll see a plus,
01:10simply Click New Sheet and we got a new sheet here called Sheet4, which we will
01:14rename eventually, Mountain.
01:16And there's the keystroke shortcut method as well.
01:19We might want to put a summary sheet to the left of the East sheet.
01:22If you press Shift+F11, you will automatically get a new sheet to the left
01:26of the current sheet.
01:28All sheet actions, except for changing tab colors, cannot be undone or you
01:34cannot use the Undo feature.
01:36That's particularly meaningful if you're about to delete a sheet.
01:39Maybe I'm not thinking too clearly or maybe the thought has occurred to me that
01:43I don't need this sheet, I Right-Click and choose Delete and now I see this
01:47message, You can't undo deleting sheets.
01:50You might be removing some data.
01:51If you don't need it, Click Delete.
01:52It is a strong warning and so if I were to press Delete here, I can't use the
01:57Undo capability to bring back that sheet.
02:00What I might need to do in a case like that if I had second thoughts, is simply
02:04close the file without saving it and then reopen it.
02:07Of course sometimes that happens after you've done a lot of good things along the way.
02:11So you want to be very careful about deleting sheets.
02:14So as we've seen, we can rename sheets, we can insert sheets, we can delete
02:18sheets either by Right-Clicking or using some of the shortcuts I suggested.
Collapse this transcript
Moving, copying, and grouping sheets
00:00You can easily move a worksheet to a different location within the same workbook
00:05or you can copy of a worksheet within the same workbook.
00:08And at times you might even want to change multiple sheets of the same
00:12workbook at the same time.
00:14In this workbook 09-03-RegionalSales we want to move the Midwest sheet to the
00:19right of South, we simply Click that Tab and drag it rightward.
00:24Sometimes we want to make a copy, maybe this data here is questionable, we might
00:28want to work with this separately, if we want to copy a worksheet, there are two
00:32ways to do this, we can Right-Click the sheet tab and choose Move or Copy and
00:38then create a copy and then Click OK.
00:42We also can position it while we are doing this if we wish before a certain
00:46sheet, the example here if I do nothing special, it will put this before the
00:50East sheet, copy of Midwest.
00:52A much, much faster way is that if I want a copy of Midwest, I will start to
00:57drag it and hold down the Ctrl key, as I do, there is a plus that appears within
01:01that icon and I can put this anywhere I want, perhaps I will put it off here to
01:06the side after Pacific or after Sheet1, wherever I wish.
01:09In doing this though, you must let go of the mouse first.
01:12So a Ctrl+Drag as it sometimes is called, is a much faster way of copying a worksheet.
01:18Now it's also possible that you might want to copy this sheet, this time the
01:22Pacific to a different workbook that's open or possibly to a brand new workbook
01:27by Right-Clicking a sheet tab and choosing Move or Copy.
01:31We can create a copy, To book.
01:34If we have other workbooks open, we will see that here, but we do have
01:38the choice New Book.
01:39Create a copy in a new book, Click OK.
01:44And we now have a new workbook open it's going to be called Book1, Book2 et
01:47cetera, we save it at the top of the screen and here we have a copy of that
01:52Pacific worksheet from the other workbook that we started with.
01:55And pressing Ctrl+Tab will take us back to the other workbook.
01:58Now if we want to make changes to these, let's consider we might want to make
02:02change to the East, the South, the Midwest and the Pacific.
02:06For the moment we will be ignoring Midwest.
02:08If we want to select multiple sheets, if there is a cluster of them, we can
02:12Click on the first or the last sheet and then using the Shift key, Click on the
02:17Sheet at the other end.
02:18So for example, if I have selected Pacific and I want to make changes to the
02:23East, South, Midwest and Pacific sheets, I will now hold down the Shift key and Click East.
02:29And anytime you have grouped sheets they have a different look to them and be
02:33sensitive to the notation at the top of the screen.
02:36You will see the word Group in brackets whenever you have got two or more sheets grouped.
02:41So, these four sheets are grouped.
02:43Imagine that on all four of these, we want to have an empty row between the
02:48current rows, 6 and 7.
02:50So I will simply Right-Click row 7 here and insert.
02:54And for the moment I am looking at the Pacific sheet and we see the new row,
02:58but if I Click Midwest, you see the new row and South and East and they are still grouped.
03:03And I remember not that long ago, changing a number here, thinking that I was
03:07only changing a number say for East here, and because these are still grouped if
03:12I do change that number, what happens, this number will change on all four
03:16sheets at the same time.
03:18You can ungroup the sheets by either Clicking on one of the sheets that's not
03:22part of the group or simply Right-Click and ungroup the sheets.
03:27So as we have seen, you can move a sheet, you can copy a sheet, sometimes even
03:31to a new workbook or to another open workbook and you can group sheets and make
03:35changes to multiple sheets at the same time.
Collapse this transcript
Using formulas to link worksheets and workbooks
00:00Sometimes you need to write a formula that gets data from different sheets
00:04within the same workbook.
00:06At other times, you might need to write a formula that gets data from another workbook.
00:11In this movie, we need to have two files open, one of them, 09-04-RegionalSales,
00:16the other one, 09-04-EmployeeTable.
00:17Let's go to the RegionalSales file first.
00:23There's a sheet called RegionalTotals and we want to get Retail Totals there in cell B2.
00:30Each of the four sheets preceding this, East, Mid West, South and Pacific, all
00:35have a Retail Total in F4 and then below that a Wholesale Total and an Internet Total.
00:40So let's start where we want to put the formula, that's Regional Totals, in cell
00:45B2 and when you write formulas that get data from different worksheets or even
00:50different workbooks, by all means, Click the various locations using the mouse
00:54or the trackpad rather than typing in file names and sheet names.
00:59We begin with equal sign here.
01:01We'll Click the East sheet and then Click the cell that has the total we want, that's F4.
01:07So the formula starts to build and you can see it in the Formula Bar.
01:10We'll put in a plus then go to the Midwest sheet.
01:13Click that same location and then a plus, same thing with the South and so on here.
01:18And then Pacific and finally Click that F4 location and then Enter.
01:24And we've got our total and as I Double-Click here to see this more easily, we
01:28can see what's happened.
01:29Recognize how and it's certainly not intuitive that sheet names are followed
01:33by exclamation points.
01:35Now something else could happen too and it's not bad, but just be aware of it
01:38because it does make formulas look different sometimes.
01:41If the sheet name has a space in it, now none of these do, but I'm going to
01:45change the name of Pacific to Pacific Rim.
01:47So I'll Double-Click the sheet tab, Click right after the C at the end there,
01:50add a space and put in Rim.
01:53So I've changed the name of that sheet.
01:55How does our formula look now?
01:56RegionalTotals, Double-Click.
01:59Because there is a space, we also see single quotes so Excel does accommodate
02:04that and it certainly is okay to have spaces, but in certain kinds of
02:07formulas, you can imagine how this clutters up the formula and makes it look a
02:12little bit more crowded.
02:13So I'm not saying it's wrong, but just do be aware of that.
02:16It's another strong recommendation as to why we should not be typing sheet names.
02:20If you simply Click the sheet name as you're writing the formula, Excel pops it
02:23right into place properly.
02:24So I'll make another change here, I'll simply go back to the Pacific Rim.
02:28I'll Double-Click and Click out there and change the name back to Pacific, Enter.
02:33And then our formula, of course, has been readjusted.
02:35In this example too, since each of the sheets has Wholesale and Internet right
02:39under this, I can simply Double-Click or copy this downward and we've got our
02:44totals for Wholesale and our totals for Internet as well.
02:47So we've written formulas that gather data from different sheets of the same workbook.
02:53Now let's imagine that in the other workbook, I'll press Ctrl+Tab to get there,
02:57there's a sheet tab called Furniture Sales and in cell J8, we want to get the
03:02Couches Total from the other file, the East sheet, the West sheet and so on.
03:08So we're going to see a similar formula, but it's going to be a little bit
03:12different and the way we get there is going to be a little bit different as well.
03:16Keep in mind, the other files, I press Ctrl+Tab, on the East sheet, Midwest,
03:20South and Pacific sheets, all have a total for, for example, Couches in cell B8,
03:25there it is right there, same thing with Midwest, South and Pacific.
03:29So, as we jump back into the other file, Ctrl+Tab again, it's the fast way to
03:34get there and here too we will not be typing much.
03:37We certainly will begin with the equal sign and now what do we need?
03:40We need to get our East total and you can get to the other workbook by way of
03:44Ctrl+Tab or we can go to the View menu, choose Switch Windows, go to Regional
03:50Sales and then on the East tab, Click B8, put in a plus.
03:57Now, as you watch the formula being built in the Formula Bar, you see that the
04:01file name is referred to as well.
04:03So after putting that and we then need to go to the Midwest sheet.
04:06Click on that same cell, a plus and then the South sheet, Click B8 again and a
04:11plus and Pacific sheet and Click B8 and we're all done.
04:15Let me scroll to the right here a bit so we can see this even better and I'll
04:20even zoom in too so that we can see what's happened here.
04:23The formula certainly is not something you would have typed as I Double-Click it.
04:27So what are we seeing here?
04:28We are seeing the name of the file in brackets and then the sheet name and then
04:35the location of the cell.
04:37This happens four times here since we're gathering data from four separate sheets.
04:41So the formulas certainly look a lot more complicated and involved, but it really isn't.
04:46In this case, it's really gathering data from four cells and there's our total right there.
04:50Now this is going to look quite a bit different though if we close the other file.
04:54If you are writing formulas that get data from other workbooks, you definitely
04:58want to have the other file open at least as you're creating the formula, but
05:02what happens if we go to the other workbook?
05:04I'll press Ctrl+Tab again and close and save this workbook.
05:08So I'll choose File>Close or possibly just press CTRL+W, either way.
05:12File>Close and do I want to save this? Yes, I do.
05:17We've saved it.
05:18Now look at this formula as I Double-Click, because the other file is closed, we
05:23need to know -- have a reference as to where it is.
05:26It's on the C Drive, within a folder called Users, within a folder with my name,
05:30Desktop>Exercise Files and of course, this will look different in your
05:34environment if you've saved it in a different location, but all this that I'm
05:38highlighting right here represents the content of one cell and then we see this
05:41being repeated for the three other cells.
05:43So, the formulas look incredibly complex and involved, but they're really not
05:46when you think about it.
05:47So we've got a formula that's gathering data from different sheets in a
05:52completely different workbook and as we saw earlier, we can also write formulas
05:57that gather data from different sheets of the same workbook.
Collapse this transcript
Locating and maintaining links
00:00If you work with files that have formulas that get data from other workbooks,
00:04those are called links.
00:06And you need to know where those links are and how to find them.
00:09We need to have two files open in this movie, 09-05-EmployeeTable as well as,
00:15I'm pressing Ctrl+Tab, 09-05-RegionalSales.
00:21Right now, there are no linkage formulas.
00:22How do we know that?
00:24First of all, in Regional Sales, if we go to the DATA tab, the term Edit Links
00:28is grayed out and we cannot select it.
00:31Therefore, there are no formulas in this workbook that get data from other workbooks.
00:36Let's press Ctrl+Tab and go to the other workbook.
00:39Are there any formulas here or on the DATA tab?
00:42Edit Links here is grayed out as well.
00:44So let's create a linkage formula between the two.
00:46In cell J8 here, we want the Couches' total.
00:50Equal or press Ctrl+Tab, go to the other workbook and we're going to get from
00:55each of the four sheets here, the Grand Total for Couches.
00:57It's in cell B8 so we'll simply click there, click Plus then do the same thing
01:02with Midwest, click that cell and a Plus and South, same cell and Pacific, same cell and Enter.
01:12We've got our total here.
01:14Now, DATA Tab>Edit Links and as we click this option here, recognize Edit Links
01:21tells us that this workbook, the one we're currently using, is getting data from
01:2709-05-RegionalSales below this we see the option Startup Prompt.
01:33In the future, when we open this file, let's imagine we're about to close
01:36it, when we open this file in the future, it would be worth considering a Startup Prompt.
01:42The Startup Prompt box gives us three options.
01:44The last option says, 'Don't display the alert and update the links.' I think
01:50most people would not want this.
01:51This simply means if we open this file again, nothing special is going to
01:55pop-up on the screen.
01:56We won't even know necessarily that there are links and they will be updated.
02:01And the one above it is hardly much better.
02:03It doesn't display the alert and it does not update the links.
02:07The first choice is the best one and it's worded a bit strangely.
02:10It says, 'Let users choose to display the alert or not.' That doesn't mean that
02:15every time we open this file in the future, that there's going to be a prompt
02:19asking us if we want to see the prompt anymore.
02:22It's simply going to ask us if we want to update.
02:24I think this will be the preferred choice for most people.
02:27Let's click OK and close this.
02:31Let's imagine what happens in the future if we were to open this file and
02:34remember the total here is 11,660.
02:37So we're going to close this file and save it.
02:40Click the Save button in the Quick Access Toolbar is certainly one way and we
02:44can close this with Ctrl+W.
02:46Let's imagine we're working with the other file now and I'm going to make a
02:50change here to Couches.
02:51I'm going to make that to be 2000.
02:54If the other file were open, that total of 11,660 will have gone up
02:58substantially, but it's not open right now.
03:00So we're going to save 09-05-RegionalSales.
03:03I'll click the Save button up there and then press Ctrl+W to close it.
03:08Now I want to open the other file and I can go to the File tab in the Ribbon
03:13and down below under Recently Open Files, there's that Employee Table so I'll open this again.
03:20For the first time, we are seeing this prompt and remember that 11,660 has not yet changed.
03:25Our prompt says, 'This workbook contains links to one or more external sources
03:30that could be unsafe.' Do we want to update? Yes, we do.
03:34Watch the 11,660 change.
03:36It's changed to 12,510 even though the other file isn't open.
03:40The formula is still in place and of course on the Data tab, Edit Links is there
03:45reminding us the source of that formula.
03:49Now, what happens if you're a different user or it's you a few months later, you
03:53open this file perhaps you saw the prompt and you said update, but you forget
03:59where the formula is.
04:00Maybe you're looking at this sheet or that sheet or maybe you've got more
04:04sheets in the meantime and you want to know where linkage formulas are in this workbook.
04:09Let's go back to where this particular formula is.
04:12I'm going to Double-Click here.
04:13What is it that's different about these kinds of formulas?
04:16Well, there are two things are different.
04:18It's probably unlikely that you're ever using a left bracket or a right bracket
04:22in other parts of a workbook.
04:24Now you certainly can and that option is open and if you work with tables you
04:28might even have formulas with brackets in them, not parentheses necessarily, but brackets.
04:33What else is unique here?
04:34We are seeing file names with .xlsx.
04:37Now possibly it could be another Excel file, but let's say that .xls is
04:43probably unique or .xl.
04:45So it's highly unlikely that you would see that combination of
04:48characters anywhere else.
04:50Let's imagine that you have opened this file, you either forgot this or maybe
04:54you're a completely different user and you've seen by way of the Data tab,
04:58that there are links to other workbooks, you've seen that but you don't know
05:02where the links are.
05:03So what might you do?
05:04You might be on any worksheet here, Right-Click and select all the sheets and
05:09then go to the Home tab, and the extreme right button, Find and Select, Find and
05:16let's look for all occurrences of .xl. Find all of them.
05:21In this example, there's only one so we see that there and we see the address.
05:26In different situations, you might see a pretty large list here.
05:29All cells that have the .xl combination are appearing here in this list.
05:34So that helps us track these down.
05:37Now, links are one way.
05:38In this workbook, we've got a linkage formula, one or more, getting data
05:43from another workbook.
05:44Suppose we open the other workbook.
05:46I'll go back to file and open Regional Sales.
05:49Does this workbook have any formulas that get data from other workbooks?
05:54Data tab, Edit Links is gray, we cannot select it.
05:58There's no indication in this workbook that there are formulas elsewhere
06:02using this data so the linkage concept is based on the idea that in those
06:07workbooks where there are linkage formulas we can find them, but there's no
06:11way, when looking at a source workbook, that we can track the link in the
06:16opposite direction.
06:17It gets a little tricky at times when you're trying to explain this to others
06:20but in our example here, we've got two workbooks, the other workbook as I press
06:24Ctrl+Tab and go back to it, has one or more, in this case only one, linkage
06:29formulas that are getting data from another workbook.
06:31In any workbook that gets data from other workbooks by way of formulas, we can
06:35those track formulas on the Data tab, the Edit Links command.
Collapse this transcript
10. IF, VLOOKUP, and Power Functions
Using IF functions and relational operators
00:00One of Excel's most powerful functions is the IF function.
00:04It's almost programming-like in nature.
00:06It gives us the ability to come up with alternate answers depending upon the
00:10content of certain cells or calculations that we're comparing it with.
00:14In column G, we want to establish a shipping cost that's going to be 2% of the
00:20total cost except in cases when the total cost reaches 1500.
00:25We see in cell C4 a description, "No shipping charge for orders over $1500" so
00:30to make this clear, I'm going to make column G wider and also use the
00:36Zoom slider bar so that we can see this a bit better.
00:39Ultimately, column G doesn't have to be this wide.
00:42The IF function allows us to test a condition and then come up with two
00:46different answers in its basic form;
00:48"=if", we simply want to check that entry in F7 to see if it's greater than 1500.
00:56Greater than 1500, this does not mean if it's equal to 1500, it means greater
01:02than and if the person who's designing this says, well, I want 1500 to be the
01:07breakpoint, then we want to make sure if it's equal to 1500, that that doesn't
01:11get the charge also.
01:12So you have to be clear on what it is you mean, so depending upon on what it is
01:17the designer means here, sometimes you'll use this construction, meaning greater
01:20than or equal to 1500, sometimes it's simply greater than 1500.
01:24Now as soon as we put in the, notice that the wording below this
01:29right now logical_test is in bold print, as soon as we put in the comma, the
01:33focus shifts to value_if_true, when this is true, we have an answer and it's
01:39going to be zero or blank.
01:41Let's put in zero here.
01:43If the order's over 1500, there's no shipping charge.
01:48When that test fails, in other words when the cost is not over 1500, we're going
01:54to put into calculation 2% times the cost.
01:58Now, it might seem like a small matter here but 2% of some of these costs is
02:04likely to give us portions of pennies as our answer and what we need to do
02:09sometimes is round this right at the spot of creation.
02:12So the Round function, which is often used by itself, is here used inside of
02:17an IF function and it's not always used in the IF function, but here it's
02:21going to make some sense.
02:23We want to take this calculation and round it to the nearest two decimal places, comma two.
02:28If we were dealing with larger numbers and wanted to round this to the nearest
02:32whole dollar, we'd use comma, zero.
02:35So here we're using the Round function as one of the answers in our IF function
02:40and so that needs to be embedded in parentheses as does the IF function itself,
02:45one more, out of parenthesis there.
02:47We should be seeing in our example here, 2% of that $1449, almost $30.
02:55And there's our answer, $29.
02:57Check this out by dragging it across a few cells, making sure it works okay and
03:02we've got some sensible answers.
03:04Drag it into cells where we go over 1500.
03:06We should expect to see an answer of zero there or a blank as we see it here.
03:11Depending upon the number format this might display as a blank or a hyphen, dash
03:15as we see it here or possibly a zero but the answer, as we see it, is correct.
03:20The formulas in column H that I didn't refer to you earlier are simply
03:24taking the total cost and then adding the shipping cost on to it, to get the grand total.
03:30Eventually, we'll just make column G wide enough, Double-Click.
03:33So we've seen how to use the IF function here in a very simple
03:36straightforward way.
03:37If a condition is true, there's one answer, if it's false, there's
03:41another answer.
Collapse this transcript
Getting approximate table data with the VLOOKUP function
00:00One of Excel's most powerful functions is the VLOOKUP function.
00:04It has a companion function called HLOOKUP.
00:07V means vertical, H means horizontal.
00:11VLOOKUP allows us to look up information and compare it with the left column
00:15of a vertical table.
00:17In column E, we want to look up the reduction for certain items that have been
00:23priced in column D. For example, if the subtotal, as we see it here, is 1363, if
00:30we were looking in this table we would be saying for example, It hasn't reached
00:33to 1500 so it's not 4.5%.
00:35It's at a thousand therefore it's going to be 3%.
00:40The VLOOKUP function has two major forms.
00:44One of them is an exact match.
00:47We don't need that here.
00:48That would be for situations for example where you're trying to look up text
00:52entries or ID type numbers or we're trying to find something exactly.
00:57We wouldn't expect to find this number, the 1363 or any of these in this list
01:03although certainly one or two of them might be.
01:05And so the idea here is when we use VLOOKUP on a table, that table can be in a
01:11different worksheet, it could even be in a different workbook, but certainly for
01:15ease of use in testing it, it's going to be nearby.
01:18We might later move it elsewhere, that wouldn't be a problem or it might
01:22originally be in a different location but when it's right here, it's just
01:25easier to work with.
01:26VLOOKUP tables, for situations like this, must have in their left column,
01:31numerical information in ascending order.
01:34We'll discuss later what happens when these are not in that order.
01:39We want to use VLOOKUP right here.
01:40I'm going to make the column wider so we can see this better and zoom in a bit
01:45also using the Zoom Slider bar.
01:49So in cell E3, now what if you have used a function but it's been a long, long
01:54time or maybe all you know about a function is its name?
01:57Rather than typing in a function and making lots of guesses and going back to
02:01books and trying to figure out how to make it work, what you might consider
02:05doing is clicking the fx, the Insert Function button to the left to the Formula Bar.
02:11So let's imagine we're about to use VLOOKUP here, we know maybe a little bit
02:14about it, we've heard about it possibly. We click fx.
02:17It might turn up in a list of recently used functions.
02:20We could possibly narrow it down by referring to Lookup and Reference functions;
02:25maybe we'll go there or in the list of all functions, too.
02:29Lookup and Reference should be in this list.
02:31We'll scroll up and down, it's there alphabetically.
02:34There it is, a brief description of it here and we click OK.
02:39We actually see it being displayed here and Excel we'll build this for us as we look at it.
02:44What is it we're trying to look up?
02:46It's this value in D3, this charge for an order.
02:50We're trying to see if there's a reduced rate for it.
02:54The table that we're looking at is off to the right and it's in these cells
02:58right here, so we will highlight those.
03:02Column index number, this throws people at first often.
03:05Which column of the table has the answers that we're looking for?
03:09What we'd like to come up with here is a percent.
03:12There's already a formula which we haven't seen yet in column F, it's going to
03:16use this percent to adjust the charge total by reducing the amount.
03:20So the column that has the answer is the second column.
03:23So we put in the number 2 here.
03:25Now there are situations where you need an exact match.
03:28We don't need that here so the fourth argument of VLOOKUP is often not used if
03:33the data is approximate.
03:35We don't need to worry about that at all.
03:38We simply ignore it.
03:39So, we can simply press OK or Enter.
03:42We should have an answer here and there it is.
03:44It's 3% and that's what you would have guessed it is.
03:48It hasn't reached the 1500 level which would be 4.5.
03:51It's at the 1000 level of 3%.
03:52We do see the Adjusted Total here.
03:55Here's the formula that works off of that percent and you see how it's set up.
04:00It's always best to test these out by dragging them but before dragging this, do
04:05we need to really make a change here?
04:07I think a lot of you know if you've worked with certain kinds of data if you're
04:11familiar with the idea of relative and absolute references, the reference to
04:14this table needs to be made absolute.
04:17Drag across this address of cells, press the Function key F4, that makes it an
04:23absolute reference then we can copy this down.
04:26Let's copy down a few cells just to get the feel of how this is working for
04:30other values and each of those should check out properly based on the table on the right.
04:35Recognize something about this table, it only goes to 2500, some of our
04:39values might go higher.
04:40So what happens in this case right here?
04:42This is well above 2500.
04:44It's simply reversed to the highest entry in the table which you've got to be
04:49much more careful with the low end of these tables.
04:51One of our amounts here is a $159.
04:54What if we started the table at 1% and our first amount here is $200?
04:59In other words we're saying there's no reduction until you reach 200.
05:04There's 159 over there, what's going to happen now?
05:08We've got a problem here.
05:09So you want to make sure that in your VLOOKUP tables when you're using an
05:13approximate match that you do cover the lowest possible entries that might occur.
05:18I'm going to press Ctrl+Z twice to take the table back to its prior form.
05:23So we see what happens there when we are not covering the lowest entry.
05:27Let's make another change here and I will do this on purpose.
05:30What if the numbers are not in ascending order?
05:32If this is 4500 right here, instead of 1500, the problem will be that we will have answers.
05:39Some of them will be wrong though, but they won't necessarily jump out at you.
05:42As soon as I press Enter, you'll see some of the answers in the column E change,
05:47but not all of them.
05:48And some of them are still accurate so it can be very misleading at times.
05:52You always want to make sure when you're using VLOOKUP for approximate matches
05:57where you've got numbers representing break points, these must be in ascending
06:01order as we look down the table.
06:04So, I'll press Ctrl+Z again and some of those entries in column E will not be corrected.
06:08Ultimately, we don't really need to make column E this wide, we'll simply
06:12Double-Click the boundary.
06:14We've used our VLOOKUP function here to look up data in a very efficient way.
06:18That table might be in a different worksheet, different workbook, but it works
06:22smoothly and nicely when it's nearby and you can check out its totals.
06:25One improvement we could make to make this even simpler is if we know there is
06:30no other data in columns H and I, instead of having this somewhat complex
06:34looking reference, let's simply drag across the columns H and I.
06:40And that notations style referring to the entire columns works just fine here
06:44and we can recopy that, we'll Double-Click on the lower right-hand corner.
06:48All of these entries now refer to columns H and I and it's much easier as we
06:53view the function to figure what's going on.
06:55We don't have to worry about absolute addresses.
06:57So another adjustment to the VLOOKUP capability which accentuates how easy this
07:02function is to work with.
07:04A powerful tool to be sure.
Collapse this transcript
Getting exact table data with the VLOOKUP function
00:00Sometimes you need to use the VLOOKUP function to match data exactly.
00:05In this list, in columns A through I, we need to find the department for the
00:09products showing in column A.
00:11In columns K, L and M, we've got a complete list master inventory, some 90 rows
00:17or so of all of our products by department, by category.
00:20What's not broken out there is the various colors which are implied and so we do
00:24see more data over in column C.
00:27So when we need to make a match, we want to use VLOOKUP but we've got to make
00:31sure that the data matches exactly.
00:33Unlike comparing numbers where we sometimes search for breakpoints if it's a
00:38text entry, it's got to be an exact match and with certain kinds of numbers like
00:43ID numbers, Social Security numbers, they too must be exact matches.
00:48We use the VLOOKUP function differently for exact matches than we do with
00:52approximate matches.
00:54Now to make this even clearer, I'm going to hide some of the columns, column
00:58C, D, E, F, G simply Right-Click and Hide for the moment, so we can focus on
01:04the idea that we want to use the VLOOKUP function in column H then in column I
01:09to look up the information from column A and return the appropriate department and then category.
01:16So I'll make the column a bit wider here, also zoom in a little bit using the
01:20Zoom Slider bar in the lower right-hand corner.
01:23As we're about to look for the department, the table reference that we will
01:26be using will be columns K and L. We don't need the category just yet,
01:31VLOOKUP in cell H6=vlookup(.
01:38The value we're looking up, the text we're looking up is in cell A6, click it or type it, comma.
01:45Where is the table that we're using?
01:47It's in columns K and L. There's nothing else in those columns so we can simply
01:53drag across, hold down the Left Mouse Button and drag across columns K and L and
01:59we see that indication in the VLOOKUP function.
02:01That's where the table is located, comma.
02:05Which column of the table has the answer that we're looking for?
02:08We're looking for the department entry that's in the second column from the
02:13left so we put in 2.
02:15With an exact match, you need four arguments sometimes called parameters in
02:20the VLOOKUP function;
02:21comma and you'll see a pop-up tip.
02:24False for exact match then we would click this and then tab into place.
02:28The word FALSE doesn't exactly scream out as if to say it means exact, but
02:33that's what it does mean.
02:35If you prefer to use zero, fine, you can use that.
02:37But neither one of them really makes the association that you might expect it to.
02:41In other words, it does find the exact match but that's not exactly that
02:45something that you would know obviously.
02:47Zero or false will work here, that means the matching must be exact.
02:52It can't be close as it might be with numbers.
02:54And when we press Return here, we should get a correct answer.
02:58Bamboo Arm Chair is in the Furniture Department.
03:01We can copy this down the columns simply by Double-Clicking.
03:05Because the VLOOKUP table reference was a column reference, we don't have to
03:10make that an absolute reference.
03:12Now using the same function in column I, we could possibly just copy
03:15this portion of it.
03:17I'll press Ctrl+C and Escape.
03:19We'll need to make an adjustment.
03:20Let me make the column narrower and make column I wider.
03:24This time we will have to refer to a three column table, so if we were to
03:28click here, type "=" and press Ctrl+V to paste, of course we could have been
03:33typing all this too.
03:34Instead of columns K through L, we want to make sure that that's columns K
03:39through M. We want our answers out of the third column. This becomes a 3.
03:46Zero still means exact match.
03:48Remember it can be zero or false.
03:50As we complete this entry, it's in the Dining Category and Double-Clicking here
03:56will copy this down the column.
03:58It looks like we carried some formatting with it but we'll adjust that later.
04:01So VLOOKUP, we've seen two examples here of how we look up data in a table
04:06and as always with VLOOKUP tables, these tables might be elsewhere, although
04:11it's certainly handy and convenient and easy to check our results when the table is nearby.
04:16If ultimately you want to move this table, if you move the table, for example
04:20rightward a few columns or possibly hide this or even drag it on to a different
04:25worksheet, it functions as written, should automatically adjust and the answers
04:29will continue to be correct.
04:31There's no question that using VLOOKUP for an exact match is always required
04:35with text and it will be required if you're trying to look up ID type numbers.
04:40They've got to be exact as well.
Collapse this transcript
Using the COUNTIF family of functions
00:00A category of functions that's extremely valuable when working with large lists
00:05is the COUNTIF family of functions.
00:08There is a COUNTIF, a SUMIF and AVERAGEIF and three more sophisticated
00:12variations that allow you to use multiple criteria.
00:17In this particular list here we might want to tabulate how many Kitchen items we have.
00:21It's a large list, 300 rows or so and we don't necessarily want to sort the Data
00:26but we do want to know for example, how many of our products are in the Kitchen
00:31category, Kitchen Department, Bedroom Department, Dining Department, so on and
00:35we have various entries here.
00:37Now to make this easier to see I'm going to hide a few columns here, columns C,
00:42D, E as I drag across these into, let's just say those three columns we'll hide
00:47for the moment, Right-Click and Hide.
00:49We've got a list here of all the different Departments that's been set up ahead
00:53of time, so let's zoom in a bit on this list, we'll use the Zoom Slider bar on
00:58the lower right-hand corner to zoom in a bit.
01:00So let's imagine, we want to tabulate how many kitchen items do we have here?
01:04And the function to use is COUNTIF;
01:07make the column just a tad wider as we watch this.
01:10=countif, this function requires two arguments or parameters.
01:16Where are we looking for these entries here?
01:19We're looking in column B comma and what are we looking for? The word Kitchen.
01:26Now if we don't have this in a nearby cell, we'll type "Kitchen", but since it's
01:32right here to the left we'll just click that cell and press Ctrl+Enter since we
01:36don't want the active cell to move and we have an answer, it's 45.
01:40By Double-Clicking here, we'll copy this down the column.
01:43Out of all the items that we have here, some 300 items, we've got 41 Bath entries;
01:50we see the formula there, 12 Entryway items and so on.
01:54In all examples here we're looking in column B simply counting how often that text appears.
02:02A companion function called SUMIF allows us to tabulate data.
02:06Where is the revenue coming from in our list of sales over here?
02:10This time what we'd like to be able to do is to focus for example on the
02:14Kitchen items and then go into the Revenue column to figure out how much money we're making here.
02:19Here too I'll make it for the moment a bit wider.
02:22The function is called sumif.
02:25Where are we looking?
02:26We're looking in column B, so it starts off the same way, comma what are we looking for?
02:31All of the Kitchen entries, comma and when we find them where do we want to go? In the column H.
02:39Now if you are using this function where you have specific cell references for
02:43example, we could have highlighted cell B7 down to B310 or whatever, the length is here.
02:50Just make sure that in situations like that that the number of cells that you
02:54select here matches the number of cells that you get here.
02:57And if we use column references like in this example, we don't worry about that.
03:01But what we're saying in effect is, every time the entry in column B is Kitchen,
03:06then go into column H and grab that information and keep doing that over and
03:11over and tabulate the total, because it's a SUMIF.
03:15So there is the Revenue for Kitchen items, Double-Click to copy this down and we
03:20could see very quickly, Bedroom and Dining Room and also Living Room as three
03:24top items revenue-wise as we look at the data here.
03:27The SUMIF function, where are we looking, what are we looking for, and
03:33then having found that, which numerical field do we want to add, in this case Revenue.
03:39And as you might expect, AVERRAGEIF is going to work pretty much the same way,
03:42this time it's doing little bit differently though, because we want to look at
03:46the average cost of something.
03:48So to make this a little easier to see, I'm going to make one of the columns,
03:52let's say column A, a bit narrower so we can see this better.
03:55So Average Cost/Item is going to be averageif.
03:57Where are we looking?
04:01We're looking in column B again, comma what are we looking for, the entry in J7
04:08namely Kitchen and when we find this what are we trying to do?
04:12We're trying to average the price, that's in column F.
04:15What's the average price of our kitchen items that we're currently selling?
04:18$26.30, how about the others?
04:21Probably no surprise that Living Room is the highest.
04:25Bath is pretty low, isn't it, compared to the others.
04:28So all we're doing in this case is saying in effect we're looking column B and
04:33when the entry is equal to what we see in column J, then go into column F
04:37instead of adding them as we did in column L or simply averaging these entries
04:43this time from column F so these three functions;
04:46COUNTIF, SUMIF, AVERAGEIF give us great tabulating capability when working with
04:51database type lists.
Collapse this transcript
11. Security and Sharing
Unlocking cells and protecting worksheets
00:00In Excel there are any numbers of protection schemes and one of the ones that
00:04gives you quite a variety of options is called Worksheet Protection.
00:08The actual sheet we're using right now is called WorksheetProtection;
00:12it's in the file called 11-Security&Ensuring.
00:15Let's imagine you're an HR manager, you've got a trusted assistant and what you
00:19do periodically handing that personal sheet of paper is a list of changes that
00:24need to be made to this list.
00:26One of the changes for example might be to change this Hire Date here to be 1998.
00:30Now you could imagine someone who doesn't know Excel way saying, okay, I'm going
00:35to make that 98, I'm going to make the years here be 15, so I'll go change the
00:39years to 15 and come over here and make this be 98.
00:42That's an innocent thought.
00:43However, this is a formula here, an unusual formula but nevertheless if you type
00:47a 15 there you've wiped out the formula.
00:50And so one security concern for sure is I want to protect my formulas.
00:55I don't want them destroyed.
00:56Now you want also be saying at the same time, I want to allow this date to
01:00be changed and have my formula work, then that will happen if we set this up properly.
01:04There is another concern, should these job ratings be that available?
01:08Maybe this is a part-time employee and that's pretty confidential information
01:12and that shouldn't be thrown around so easily.
01:15So what might we do here?
01:16We might simply hide this column.
01:19I'm going to Right-Click on the column and hide it.
01:22Sometimes that alone does the job.
01:24But we want to be a little bit more careful than just that.
01:27What we ultimately want to do here is to make sure that information that we just
01:32hid is not available to certain people and we want to make sure that certain
01:36formulas are not destroyed.
01:38And here is another concern, let's say we need these salaries to be available
01:42for reference purposes, they help us to find which person is here, we certainly
01:46don't want them to be changed though, at least not by the person who is making
01:50these other changes.
01:51Now, the idea of protection starts off with a slightly different idea.
01:55In Excel all cells within a worksheet are initially locked.
01:59Now you might have unlocked them for one reason or another, let's say we haven't here.
02:04If you Right-Click any cell and go to Format Cells and this is one of many ways
02:09to get to the same feature, if you go to the Protection tab you'll the term
02:14Locked and probably a checkmark in front of it, nearly always.
02:18The description below, Locking cells has no effect until you protect the
02:24worksheet, now we're about to do that.
02:26So right now all of these cells are locked.
02:29If we turn on this feature called Worksheet Protection, we won't be able
02:34make changes anywhere.
02:35But let's say as a general rule in this worksheet we do want to allow changes in most locations.
02:41We don't want our formulas altered in column F, we don't want the salaries
02:45changed in column H and we don't want that hidden column revealed, so what do we do first?
02:50Click in the upper-left corner to select the entire worksheet and then
02:54Right-Clicking on any cell, we can go Format Cells, we could also get here by
03:00the way by pressing Ctrl+1.
03:02In both cases we're back at the Format Cells dialog box.
03:06Let's unlock all cells, at least for the moment.
03:10Sometimes when you come here, this box is gray and that means that some of the
03:14cells are locked, some are not so you might have to click it once or twice, make
03:18sure that it looks truly empty, the way it looks here, click OK.
03:22Now, we want to make sure that no changes are specifically made in column F, in
03:27other words nobody can type here, same thing in column H. So using the Ctrl key
03:31we'll select both of these and then Right-Clicking we want to go to Format Cells
03:38and now on the Protection tab we want to lock these cells.
03:42Still we haven't gotten to the stage, where this means anything yet;
03:47Locking cells has no effect until you protect the worksheet.
03:52Okay, we're about to use this feature it's on the Review tab, it's
03:57called Protect Sheet.
03:59Prevent unwanted changes from others by limiting their ability to edit, click the option.
04:05And then, a rather extensive list of things that we might allow while using this
04:11particular worksheet.
04:13Now at a minimum if you want to allow any changes to be made you must have the
04:17second box checked, it says Select unlocked cells.
04:21If you can't click on an unlocked cell then you can't make any changes to it.
04:25Now the box above it says Select lock cells.
04:29If we have a check box there it means that someone can click the box or tab into
04:35it but if it's locked, no one will be able to make changes there.
04:38So let's -- first time around here, we'll show it to you both ways, leave this unchecked.
04:42Now if you want to allow the other user to be able unhide columns;
04:47then you will allow formatting of columns, but let's say we don't want to that.
04:51So we'll leave most of these, in fact all of the others unchecked.
04:55We're ready to click OK here, but let's provide a Password as well, another
04:58level of security, put in a password.
05:00We'll click OK or press Enter and here is the password again and of course don't
05:06forget it, we click OK.
05:08Now when you're in this mode, one visual giveaway is if the HOME tab is
05:13active, look how most of these features are grayed out and that's not fool
05:17proof but usually that's the case when you see this, you've got worksheet
05:20protection in effect.
05:22But no other words or phrases on the screen that seem to suggest that.
05:26So here we are, imagine the other user is using this and sees that sheet of
05:29paper and this person is really hard 98, so what I'll do is I'll click over
05:33here, gee I can click there, can I use my right arrow key, well that jumps me over it.
05:39I can't even go there.
05:40So I'm not going to be able to make any changes in column F. Well I guess I'll
05:44just Double-Click here and change that to 98.
05:46And as I do, watch the years to the right change.
05:49So the formula does its job if you're not specifically allowed to click here
05:54and make changes to it.
05:56And this is my friend's salary, I think I'll change that, or raise that.
05:59Well, gee I can't click on, I can't tab into it, I can't arrow into it anyway,
06:03can't get there at all.
06:05And it looks to me like there's a hidden column between columns H and I. This
06:08I'll drag across here and can we somehow do that?
06:12Looks like I can't do that.
06:14Can I Right-Click and -- no, can't get there either.
06:17Can we somehow Double-Click here, nope, can't get there.
06:20Could we somehow go up to the commands Format, Unhide, Hide sheet maybe, what's
06:27this Row, can't get to any of this.
06:29So I mean depending upon the persons who are using this and the security levels,
06:33you can begin to see how this makes some sense here.
06:35When the worksheet is in this stage, changes can be made in most places, in our
06:40example here but not specifically in column F and not for the salaries.
06:45How do we turn off the feature?
06:47Review tab, Unprotect the Sheet.
06:50And of course you got to know the Password, I do.
06:53Okay, we're back in the stage.
06:55Now one variation on this, almost the same but slight difference, if we protect
06:59the sheet and this time allow all users to select the locked cells, and once
07:06again we'll provide a Password here.
07:11When the worksheet is in this stage you can click on the cell here, but as soon
07:16as you start to type something, immediately you get a pop-up message, The cell
07:20you're trying to change is on a protected sheet, same thing with salaries.
07:24Now we can click here, that hardly makes much difference if we can't do
07:27anything, can't make any changes there at all.
07:30So that's a slight difference in the settings, but in both cases we are not able
07:35to make changes here when it's in this state, unless we can Unprotect the sheet.
07:40So I think you can sense the value of this, it works only on the current worksheet;
07:44it gives us powerful ability here to control what's being changed within
07:49a worksheet.
Collapse this transcript
Protecting workbooks
00:00If this is your workbook, but others are allowed to see it and work with it, you
00:05might have some security concerns regarding the structure of the workbook and
00:08even the appearance of certain worksheets.
00:11In this workbook called Security&Sharing, the first sheet here is called
00:15WorksheetProtection.
00:17And there are some formulas in column J that relate to a table, it's actually on
00:22another worksheet called TaxTable, see at the bottom of the screen.
00:26Now, you don't want that table to be disrupted or altered in any way and you
00:30rather not even have others see it.
00:32So what can we do here?
00:33We can hide a sheet by Right-Clicking on TaxTable the second sheet from the
00:38right, we can choose Hide, and we no longer see it there.
00:42At a later time if we need to get this back we can Right-Click and Unhide.
00:47And by the way, if you have more than one unhidden sheets you're going to only
00:50bring back one at a time.
00:52So, we don't want that visible.
00:54Now our formula still works, this still refers to the hidden sheet.
00:58But, we want others as we said to get to it and furthermore, we don't want the
01:01order of the sheets here changed also, we want to keep the same scheme as we see it now.
01:06We do want to allow others to work with this and possibly make some changes.
01:10So we're not talking about worksheet protection here, but protecting the workbook.
01:14We go to the Review tab and choose Protect Workbook, keep others from
01:19making structural changes.
01:21And the box for Structure is already checked, we will provide a Password, we
01:25don't want others somehow changing this and getting to those hidden sheets
01:29possibly, we click OK.
01:32There is a password again, we'll put it in again of course and OK.
01:35While it's in this state the other person who might be using this or other
01:39people might say, gee!
01:41I wonder if there is a hidden sheet here.
01:43If we Right-Click any of the sheets here, we don't even have the possibility of
01:47seeing whether there's a hidden sheet.
01:49We can protect the sheet, that's totally different action but nothing about
01:52unhiding, so we can't get to that.
01:54And notice also how Insert and Delete and Rename and Move and Copy, all
01:58those are inhibited.
01:59And we say, yeah but I move sheet by dragging them, well I try dragging this one.
02:03You see that symbol, you know you can't do that and similarly with copy as well.
02:08And so if we need to get this back of course, we would know the Password,
02:12comeback to Protect Workbook and provide the Password to unlock it.
02:17So it's a completely different feature than protecting the worksheet and it's
02:20primarily about the structure of a workbook.
02:23Back in this state now we could Right-Click one of our sheet tabs and go to
02:28Unhide and unhide that particular sheet that we've hidden.
02:32So it's a great feature for controlling the structure of a workbook allowing
02:36only the sheets that you want to be seen to be seen.
Collapse this transcript
Assigning passwords to workbooks
00:00If you have multiple users of this workbook, you might want to think out a
00:04couple of schemes regarding who can access the workbook, in other words who can
00:08open it and also who can make changes to it.
00:10When you save a workbook you have options.
00:13For example, if we click the File tab in the Ribbon and choose Save As and
00:18recognize I am using Windows 8 you might not be but no matter what your using
00:23here, if you go to the appropriate location where you're about to save the
00:26current file, you're likely to see a dialog box and although perhaps a little
00:30different than this, it probably has the general characteristics.
00:32The term we're looking for here is going to be Tools, often in the lower
00:36right-hand corner and then General Options.
00:40You'll see a Password to open, Password to modify.
00:44The more you think about these possibilities you might realize that there are
00:47actually three possible scenarios, one of them might be the following.
00:51You've got an organization of say ten or fifteen people, eight or ten of these people
00:55might be allowed to open this file.
00:57You've decided to allow those people to open the file and so you provide a
01:01password for opening, provide a password.
01:04For all those people that can open it, they can all modify, so we don't have a
01:08password to modify maybe.
01:10So one option here is simply to provide a password to open this file, and only
01:15some people know that, we'll put it in again.
01:18And when we save our file that password is in effect, we're replacing it and
01:27it's open right now, so I'll close it, I'll just use Ctrl+W, that's a fast way.
01:31And the next time I want to open this, I can got to the File tab in the Ribbon
01:36and since it's a recently used file I'll just go to the bottom of the screen,
01:40down the left-hand side, choose Security&Sharing and there it is, it asked me
01:43for the password, okay.
01:44And now what can we do?
01:45We can make changes to it;
01:47we can do whatever we want.
01:48In other words, if you've got the password to open the file you can make changes
01:52to it, you've got free ring.
01:54Now, let's imagine we change our minds, a little more security conscious here.
01:57Now these eight or ten people that can open this file, only some of them are
02:01allowed to make changes, we've decided that.
02:04So let's go back to the File tab in the Ribbon, Save As, same location as
02:10before, this time the Tools button, General Options, we're going to provide
02:16a password to modify.
02:18Now in this scenario there is a password to open the file and let's say eight or
02:23ten people have that, but password to modify, only four people have this or
02:28three or whatever is necessary.
02:29So we click OK and we put in the Password again of course, and okay.
02:36And let's save this, already exists, we'll close it, once again Ctrl+W is a
02:41fast way to do that.
02:43At a later time we open it, I'll click File, it's down the left-hand side;
02:47there it is, Security&Sharing.
02:48There is our password to open because we didn't take it off, we put it in and we
02:53also get this prompt.
02:54This is reserved by me, Enter password for right access or Open read-only.
03:00So I might be another user here who hasn't been given the password, but I can
03:04still open this but in read-only format.
03:06If I am the person who's been given the password and I'm about to make
03:10some changes maybe, I'll put in the password and click OK, so that's a second scenario.
03:16A third scenario would be as follows.
03:19You allow anybody to open it, but only some can make changes to it.
03:23So in that scenario we do not provide a Password to open, but we do provide one to modify.
03:29So in thinking these out, you might want to sketch this out on a white board or
03:33a large sheet of paper or whatever and make sense to think these things out.
03:37Let's go back to File, Save As again, once again going to the appropriate
03:42location and this time under Tools>General Options we turn off the Password to
03:48open, but we leave the Password to modify.
03:51And so it's best to have thought out these possibilities and see which is going
03:55to work best for your environment.
03:57This time we'll do a Save.
03:58Again, just press Ctrl W to close this and what happens to the next time we open the file?
04:04Once again, clicking the File tab, choosing this file Security&Sharing, there it is...
04:10Nothing about really opening the file but we do see the prompt about the
04:14ability to change it.
04:15And if we want to make changes we'll provide the password, if not it will
04:19be open as read-only.
04:21But everybody can open it.
04:23So three different ideas behind applying passwords, both to open a file or to
04:28open and make changes to the file or simply to make changes, all by way of
04:33File>Save As and them using Tools under General Options.
Collapse this transcript
Sharing workbooks
00:00We're looking at the file called 11-Workbook before Sharing.
00:03It's got a single sheet in it called Vendor Sales and let's imagine that one
00:07person has been updating this from time to time and then others get involved too
00:11and they make changes to it.
00:13Eventually the need might arise that these different people who do the updating
00:17might need to have the file open at the same time.
00:20A file can be open by different users, but we also want to allow them to be able
00:25to make changes at the same time and that's a special status.
00:29Excel refers to this capability as sharing the file and that might sound as if
00:34we're just allowing others to open the file, but it's more than that, it means
00:38simultaneous sharing and making changes.
00:42So to put a worksheet in that kind of status we go to the REVIEW tab and Share Workbook.
00:50Share your workbook so that others can work on it at the same time.
00:54Note the information here, workbooks containing tables can't be shared and by
00:58the way, you should check the help system as well to see that there are quite a
01:02few other features that are inhibited by this capability.
01:05Share Workbook and this dialog box appears.
01:08The Editing tab has a box, Allow changes by more than one user at the same time,
01:14that's the key idea.
01:16It goes beyond the non-Excel meaning of what share really means.
01:20Who has this workbook open right now? I do.
01:23Now eventually there will be others.
01:25There is an Advanced tab here.
01:28When you share a workbook, it's going to be advantageous much of the time to
01:32keep track of the changes.
01:34Although that can be a separate feature, it comes with the capability of
01:38sharing, and we might want to keep changes for 30 days or for a long time, I'd
01:42strongly suggest to keep this checked, consider how long you want to keep it,
01:47don't check the other box for not keeping the change.
01:49Update changes, every time we save the file.
01:52Well maybe or maybe every 15 minutes or some other time setting.
01:56And ultimately by way of tracking you might even want to consider what happens
02:00if different users at approximately the same time are making changes?
02:04It doesn't have to be the exact time, one person might make a change to a cell;
02:09another person might come back.
02:11We'll talk about these in the next movie on tracking changes.
02:14But these are features that are allied with shared workbooks and we want to be
02:19thinking ahead of time about what's going to play out here.
02:22If we click OK, remember the key step here was on the Editing tab checking the box.
02:27When we click OK, we see the dialog box, This action will now save the workbook;
02:33do you want to continue?
02:34Now I've name the workbook, Workbook before Sharing but we're actually about to
02:39make it be a shared workbook.
02:41And as I click OK, watch the top of the screen.
02:44We still see that same file name which maybe now is a bit off, but in brackets
02:48we see the word shared.
02:51Now shared does not mean by itself that someone else has this open or even that
02:56someone else couldn't have it open.
02:58If this file is saved on my flash drive for example, no, nobody else can do it right now.
03:03Shared means we open the door for the possibility of allowing others to get to
03:09this file and open it and make changes at the same time.
03:13So it's ultimately a powerful feature but it's one where you really have to
03:17think out the possibilities.
03:18And what I would strongly suggest in exploring this capability is either think
03:23out how you on two separate computers might have the same file open, test some
03:29of the possibilities that might occur when you're making changes to the same
03:33cell at approximately at the same time.
03:35Another way to do this is to work with another user and probably in the same
03:39room on different computers and go back and forth for some of the changes that
03:43might occur to get a better sense of how this capability works.
03:47But there is no question that in certain kinds of files, say a file like this
03:50that is tracking transactions, you want to be able to allow different people
03:54make entries here and make changes.
03:56And so as we've seen on the Review tab you can share a workbook, meaning that we
04:02allow multiple users to get to this at the same time and make changes.
Collapse this transcript
Tracking changes
00:00We're looking at the worksheet called RecordedChanges and it's in the workbook
00:04called TrackingChanges.
00:06And we're about to setup a feature where we're going to keep track of all the
00:09changes we make in this workbook for an indefinite period.
00:13The feature begins on the REVIEW tab with the choice Track Changes, and in the
00:18description there it tells us that if you're working with others to make
00:22revisions or give feedback, it's particularly useful.
00:26But that's not saying that that's the only case where we might use this.
00:29What if you were the only user of this workbook and you simply want to keep
00:33track of the changes that you're going to make perhaps over the next few weeks,
00:38something like that.
00:39When we turn on Track Changes the only choice we have his Highlight Changes.
00:43This brings up the highlight changes dialog box, click the box for Track
00:49changes while editing.
00:50The sentence that follows this might be a little confusing;
00:53This also shares your workbook.
00:56Does that means that others are using this right now and this immediately
00:59gives them access to it? No, it doesn't.
01:02It simply puts it in the same status as if you were sharing the workbook and
01:07that's the situation where multiple users can make changes, simultaneous changes
01:12while they have the workbook open at the same time.
01:14And eventually when we click OK we will see the word Shared in the title bar at the top.
01:19So we want to highlight which changes, all changes, by everybody, even if it's
01:24only us, highlight the changes on the screen, just click OK.
01:29And immediately we see this prompt.
01:31Now if you're familiar with the concept of sharing, you know what it really
01:34means is that the workbook once we click OK will have the word shared in the title bar.
01:40Now once again that does not necessarily mean that others are using this file
01:45or can even get to it, all we're concerned about for the moment is tracking changes.
01:50So I'll make a few changes there.
01:52I'm going to change this Job Rating to a 5, good.
01:54This number here I'm going to adjust, I'm going to make that 75,000, good and
01:58you see what's happened as I complete the change with Enter, move away from it.
02:03If we slide over these, it looks somewhat like a comment, we see whose made the
02:07change, of course in this case it's only me and when.
02:11If this was shared and if others were using it, others might have this open at
02:15the same time, they wouldn't be seeing the changes that I've just made, but they
02:19would be sending a similar kind of display on their screens.
02:22So at some point we might want to revisit this, we might want to see all of these at ones.
02:28When we go back to Track Changes, we also have this option here and when you
02:32do have multiple users, that's a concern, we might want to Accept or Reject the changes.
02:38Let's go back to Highlight Changes, we've made a few changes, only two, but we
02:43might want to list the changes on a new sheet.
02:46And if we've been doing this for a while we might want to consider not
02:49necessarily listing all of them, but just the ones since we last saved or since
02:55a certain date something like that.
02:57So if we click OK and it says All, only changes which have been saved can be
03:01listed on the history sheet;
03:03we didn't save the workbook so I've got to do that first.
03:07So I'll simply click File>Save, I could have got the keystroke shortcut there too.
03:12Now let's go back to Track Changes>Highlight Changes, List these changes on the new sheet.
03:18And once again consider, if this were multiple users, we probably want to check
03:22everyone here but we might at certain point say everybody else, everybody but me or just me.
03:28So when we do have multiple simultaneous users we might want to consider that.
03:33If we click OK, we see the changes.
03:36Now it's only me, I've only made two changes but we see these here.
03:40If this is truly shared and multiple users have been making changes at the same
03:44time, we might want to review these and go back to Track Changes and consider
03:48Accept and Reject Changes, and all the ones we have not yet reviewed by
03:53everybody, OK and here is one change, I'll Accept that, okay.
03:58Here is the second one;
03:59maybe I will Reject that one.
04:01And if we have many, many of these we could Accept All or Reject All.
04:05So these are features that you really need to check out on your on, particularly
04:08if you are working with multiple users and truly is share where you've got
04:13different people changing this at the same time.
04:16But in this situation I'm the only user, but I'm finding it very useful to know
04:20and remember which changes I've made and where they are.
04:24So it's an extremely powerful features, it's an editing tool that helps us keep
04:28track of the changes that we've made to a workbook.
Collapse this transcript
12. Database Features
Sorting data
00:00If you work with large lists, sometimes you want to change the order of the list.
00:04This list which has over 700 names, it's on the sorting sheet in the 12
00:08Database Features file;
00:10it's organized by Employee Name alphabetically.
00:13We might want to rearrange this list based on what we see in the Department
00:17column, or possibly the Hire Date column.
00:20In fact almost any column in this list could be the basis for sorting.
00:24Sorting will proceed much more smoothly if you know for sure that the list you
00:29are working with has no empty rows, no empty columns.
00:33If I put an empty row in here and I'll do it on purpose here, Right-Click
00:37Insert, if I had ignored that or didn't know about it, and I'm going to change
00:43the zoom factor here to make it visible.
00:46If we were to click in one of the cells here and start the process of sorting
00:50by way of the DATA tab and choose Sort, you can see in the background that
00:55Excel will only pick up the data down to row 27 and that's certainly not what we would want.
01:00So make sure that the data you're working with doesn't have any empty rows within it.
01:04Sometimes people put those in for printing reasons or just for break reasons.
01:08Let's get rid of those we have them.
01:10Press Ctrl+Z here and we can get rid of those and zoom back and so on.
01:15So let's imagine we might want to rearrange the order of this list.
01:21We can do it on the basis of any of these fields.
01:23Sorting begins with the active cell within the data;
01:27you do not have to highlight all of the data provided you know it's in one solid cluster.
01:32Sorting is one of the most basic things you do with data.
01:35We frequently need to see this in a different order.
01:38So, the DATA tab has one option, also on the HOME tab you could be starting
01:42there, second button from right Sort & Filter, Custom Sort or DATA tab, Sort button.
01:49In either case we see the Sort dialog box and the data below is highlighted.
01:54Recognize also, Excel will pick up the fact that you've got a title row if you
02:00have one, sometimes it misses that, you want to check the box just to make sure.
02:04You don't want row to as in this example to be treated like the other data.
02:09In nearly all cases sorting means rearranging the order of rows, there's an
02:13option for sorting by column which is rarely used.
02:16We sort based on what's in different fields.
02:19Let's imagine we want to rearrange this list based on Department.
02:23So let's add a level here Column Sort by, click the drop arrow, we want to
02:29sort by Department.
02:30Some of our departments here are quite large;
02:32might have over a hundred names.
02:34So for looking at a department with lots of entries we might want to sort that
02:38list by Status, so we can add level, sometimes called the secondary level.
02:43Let's sort by Status within each Department.
02:46And we might have a lot of Full Time people within certain departments so let's
02:50add another level, perhaps by years.
02:53Now the other two fields that we saw were alphabetical and it's quite likely
02:57you'd want to sort them in A to Z alphabetical order.
03:00Smallest to Largest, this is a numeric field.
03:03While we might want to have those people who have been here the longest to
03:07appear at the top of the list within each Status and Department, how about
03:10largest to smallest?
03:12In Excel 2003 in older versions you could only sort on three fields at once.
03:17As of Excel 2007 they've up that to believe it or not 64, so we could sort on a
03:23fourth level as well.
03:24We still might have a lot of people having the same number of years, same
03:28Status, same Department, so how are we going to order those?
03:31May be by Employee Name, A to Z. Click OK;
03:35we're expecting to see this in order by;
03:37Department, Status, Years, Employee Name.
03:39And as we scroll up and down here in this Account Management Department we've
03:44got a lot of people the same Contract Status, Full Time.
03:47Here is a group of people here with the same number of years, 14 years within
03:52the Full Time Status, within Account Management group, so what order are these in?
03:58Alphabetically by their last names.
04:01Now there will be times when you simply want to sort on one column.
04:05For example, you have sorted this, maybe you've printed it or you've copied
04:09it for others to use.
04:10Now you want to sort the list by Employee Name.
04:13If you simply click in column A, you can click in A2 or here, there, it doesn't
04:17make any difference, don't select the column simply click one of the cells here.
04:22And if we click the AZ button located just next to the Sort button, this will
04:26sort the entire list, it won't just rearrange the data in column A, it will sort
04:32the entire list based on what's in column A. So now I've got an alphabetized list,
04:36maybe we print that.
04:39What if then we need to sort it again by Department, if we simply click
04:42somewhere in the Department column, click AZ, now the list is in order by Department.
04:48But recognize here, we have sorted by Department but what order are these people
04:53who are in the same department?
04:55Alphabetically by name.
04:57So even though you weren't necessarily thinking of successive sorts, when you
05:02use the AZ and ZA buttons, the last use of this automatically overrides the
05:07previous orders but it does remember them.
05:10And so for example if we now sort by Status, we're going to see all of the
05:15Contract people together, but they will be in order by their Department and
05:18within Department by Employee Name.
05:21As you get familiar with that concept and you get comfortable with sorting, you
05:25might find using the AZ and the ZA buttons faster than using the command.
05:30So once again if we click in column D here and do an AZ sort, we're sorting by Status.
05:35All of our Contract people here are in order by Department and all of these
05:40Account Management people who are Contract are in order alphabetically, because
05:43that's the sort we did before Department which is before Status.
05:48So working with those buttons could be faster.
05:50There is no question that sorting is critical;
05:52it's one of the things we often do as we manage lists.
05:56If you only sort occasionally use the Sort button, the command take your time,
06:01consider some of the options that you might want to use here.
06:04There is an option for sorting by column, but most people don't need that
06:07very often.
Collapse this transcript
Inserting subtotals in a sorted list
00:00In this worksheet called Subtotals, we've got a list of data here;
00:03it's sorted by Department and Status.
00:05And what we'd like to do here is insert subtotals every time there's a change in the Department.
00:11In fact we might even want to do that within each Department, do it by Status.
00:15So we've got a lot of Account Management people here and whenever there is a
00:19breakpoint, in other words whenever we see a change here, we'd like to insert a
00:23new row that tabulates the data from above.
00:26Now not all of our columns have data that we could tabulate.
00:29However, it might make sense to show totals for Salary, well not total for Job
00:33Rating, maybe an average.
00:34And so we can create subtotals, insert them automatically not by painstakingly
00:40doing it manually, by using a feature available on the DATA tab.
00:45In order for this feature to work sensibly, the data must be in some kind of coherent order.
00:50For example;
00:51if we want totals by Building, we're going to get totals all over the place
00:54right now because practically every other cell here changes, location of the Building.
00:59It's not sorted by Building.
01:01We do want totals let's say by Department and possibly within that by Status.
01:07So the data is sorted already.
01:09Then because we have no empty rows within the data, no empty columns, we don't
01:14have to select all of the data.
01:16We can simply make sure the active cell is within our list, then go to the DATA
01:20tab in the Ribbon and choose Subtotal;
01:23it's in the Outline group.
01:25Quickly calculate rows of related data by inserting totals and subtotals.
01:30In the Subtotal dialog box we want to indicate which change in a field will
01:35trigger the insertion of these subtotals.
01:38At each change in Department, there it is.
01:43We don't want to total all the fields;
01:45by the way Sum is certainly common, probably the most common but we could
01:49choose Average instead.
01:51Unfortunately you can't mix these within the same row, let's choose Sum here and
01:56which fields do we want to Sum?
01:58Excel will make suggestions but not necessarily all the ones you want.
02:02I think both of our Salary columns;
02:04we want to have a total.
02:05We wouldn't want a total Job Rating, that wouldn't be very helpful, total years
02:09of service possibly, let's just click OK.
02:10The first thing you might notice is the entire list has been shifted to the
02:16right, we see outlining symbols along the left side of our screen.
02:19As we scroll down here and we come to the end of Account Management;
02:23we'll see a Total row right here.
02:25We're not seeing our headings for the moment, that's Years of service and
02:30we've got our two salary fields, many times you want to readjust these columns
02:33right here because we will see pound signs if the column isn't wide enough, so we'll do that.
02:38But recognize the ADC Department is substantially smaller, we see the totals here too.
02:42And so every time there's a break in the data here, that is every time there's a
02:46change in column C, we see subtotals.
02:50Now those outlining symbols on the left-hand side of the screen allow us to
02:54collapse this view of the data.
02:56You see a 1, 2, and 3, currently 3 is active so no change there, let's click
03:022 and suddenly we've collapsed the data to show only the Subtotals and the Grand Total.
03:09There it is a handy bit of analysis there.
03:12Choosing 1 is not that valuable;
03:14it simply shows us the Grand Total.
03:16Click 2, we're back to here.
03:18And Click 3, we're seeing the detail and the Totals.
03:22Now possibly, you could be thinking, can we work with our data like this all the
03:26time, what if we just leave these here?
03:28Well when it comes time to sort the data or to work with filtering, these
03:32might get in the way.
03:34So there is a general tendency to use this feature, print it, collapse it, copy
03:38it, that sort of thing and then when you're finished;
03:41simply remove the Totals.
03:42Now recognize here that we also have the possibility because the data was
03:47sorted ahead of time of inserting an additional level of Subtotals by Status,
03:52that's column D. So let's go back to the command, making sure the active cells within the data.
03:59On the DATA tab, Subtotal and now at each change in Status let's
04:06insert Subtotals as well.
04:07Be sure if you're using multi-levels, as we're about to do here that you do not
04:11replace the current Subtotals, uncheck that box then click OK.
04:17And now we're about to see two levels of Subtotals.
04:20Recognize we've got four Outlining symbols and as we scroll down here, for
04:24example in the Account Management Department, we've got some Contract people and
04:28there is the Contract Total, we've got some Full Time people, Full Time Total,
04:32Half-Time, Hourly and so on.
04:34ADC, pretty short list there but we see that break out too.
04:38If we click number 3 in our outlining symbols here, we've collapsed the list to
04:43show both levels of Subtotals and the Grand Total.
04:46Let's see this here.
04:49Clicking 2 we'll see just the main level of Subtotals like we had seen before.
04:54In both cases here you might want to print this list or possibly copy it
04:58to another worksheet.
04:59Let's imagine I want to copy this to another worksheet.
05:02I'm going to create a new worksheet by simply clicking the plus to the right,
05:06down at the bottom of the screen here, this will add a new sheet to the right of Subtotals.
05:11So going back to Subtotals what if I want to copy this data here?
05:15So I'll select it, I want to copy it just as I see it.
05:19So I'll copy the list there, there it is, press Ctrl+C or maybe Right-Click and Copy.
05:25Go to the other sheet, the empty sheet, Right-Click and Paste and that's
05:30probably not what you were expecting.
05:34We get all the data;
05:35surely there must be a way.
05:37Not an obvious way, but there is a way if we only want to copy the visible data.
05:41If you work with Filtering you may have gotten used to the idea that when you
05:45select data out of a filter, you can Copy-Paste it and it only shows you the
05:49data that's visible.
05:50But in other situations including this one, if you want to copy this data here
05:55and not include all that hidden data, you can use a keystroke shortcut of
06:00Alt+Semicolon and when you do that, it selects only the visible data.
06:06If we now Right-Click and Copy, watch the screen difference, you can probably
06:10sense what's happening.
06:11We are about to pick up the data in chunks or in pieces.
06:15Then if we go to the other sheet, Sheet1 and I'll Paste this just to the right
06:19of the other data, right here in J1, Right-Click and Paste, now we're getting
06:24only the visible data, that's what would make some sense.
06:28Now let's go back to the original data.
06:31If you didn't know about the keystroke shortcut or if you had forgotten
06:34about it, if you were selecting the data, it's buried pretty deeply in the
06:37Excel command structure.
06:38So imagine we're highlighting the data, somehow we know or we think there is a
06:43way to copy just the visible data, where do we go;
06:46HOME tab, extreme right button Find & Select, Go To Special, Visible cells only.
06:55Remember the keystroke shortcut for all of this is Alt+Semicolon.
06:59Click OK, that selects the visible cells, then Right-Click Copy or Ctrl+C
07:05and then we can go to the other location, I won't do it again but we could Paste over here.
07:10So there certainly will be times when you're working with Subtotals that you
07:13would want to copy the collapsed list, in some way if we'd collapsed the list this far too.
07:19Recognize also that if you are working with data and maybe you're using this
07:23for presentation purposes, if you were making a presentation of this data or
07:27maybe for printing reasons, if the question comes up about for example, how
07:31many Hourly people do we have here in Account Management here or who are these people.
07:36If we click the plus over here just to the left of Hourly Total, we will see
07:41the detail for that particular group for the moment, for as long as you want to keep it there.
07:47If we no longer want to see that detail, we'll click the minus.
07:50So we have this ability for presentation purposes to quickly expand and collapse
07:55our Subtotal list here.
07:57If at some point after doing the printing, the copying and the display, if
08:01you no longer want to see the Subtotals or have this feature in effect,
08:05simply go back to the DATA tab, choose Subtotal and Remove All, sounds
08:11drastic but all we're doing is removing the Subtotals and returning the data
08:16to its starting position.
08:17So the Subtotal capability, a quick way to insert subtotals based on a
08:23sorted list.
Collapse this transcript
Using filters
00:00When you're working with large amounts of data as in the list here which has
00:04over 700 rows, you don't always want to see all of the data, we might want to
00:08see just the Full Time people, or just the people in certain departments, or
00:12just those who have been here so many years or have a certain Job Rating.
00:16The filtering capability of Excel works smoothly and easily.
00:19We're on the Filter worksheet in the workbook called 12-DatabaseFeatures.
00:25You can start filtering from the HOME tab by choosing the second button from
00:29the right and then choosing Filter or on the DATA tab in the Ribbon, simply click Filter.
00:36And that gives us Filter arrows in the top row of our list.
00:40If we want to see just the Full Time people, we'll click the arrow for Status
00:44and this gives us a complete list of all possible entries within the column.
00:48And we can begin here by un-selecting all of them and simply choosing Full Time and then OK.
00:55We are only viewing the Full Time people.
00:57In the Status bar on the lower left-hand corner, it reminds us how many records
01:01we're seeing, 393 of 741 records found.
01:06Recognize that when a field is being used for filtering purposes, the icon there
01:11is not simply an arrow but an arrow with a filter.
01:14And while we're looking at this list, if we only want to see the Full Time
01:17people who have a Job Rating of 5, our highest level, we'll go to the Job
01:22Rating column, click the arrow here,un-select all the entries and then simply click on 5.
01:30And now we're seeing a much smaller list, it's 102 out of 741 records.
01:36We're only seeing the people who have a Job Rating of 5 and the Status Full Time.
01:40And if we want to narrow this further, we could, maybe we want to see people in
01:44certain Departments and it can be more than one.
01:47We'll un-select them all, maybe we want to see those people who have a Full
01:51Time status and Job Rating of 5, but only those in certain Departments, maybe
01:57the Environmental Health & Safety, Human Resources and possibly a couple of others here.
02:02It's your call, it's your choice; you click OK.
02:06And now instead of 102 records we're down to 14 records.
02:09And once again, recognize that the icon changes when that particular field is
02:14being used as the source of filtering.
02:17If we want to bring back all the records, we could either click Filter twice or
02:21perhaps more directly, simply click the Clear button, the Filter arrows stay
02:26there but we are no longer using any column for filtering purposes.
02:30Sometimes you want to simply look for data.
02:33If we click in column A and we're looking for somebody named Sam, you might
02:37start by just clicking in the panel right here typing s. Now, although it's not
02:43obvious, all the entries below contain the letter s. Now they contain s-a;
02:47now s-a-m and there are no matches there. How about James?
02:52We know there is at least one there, we can see it down below and it's not case sensitive.
02:58And each time as I add a letter here, the list below, although we can't see it
03:01all, is getting shorter and shorter.
03:03So if we were to click OK now, we would only see the word James as it appears
03:07there multiple times.
03:08Let's click Clear and bring back all of our data.
03:11Excel does recognize what kind of field you're dealing with.
03:14If we click the drop arrow for Department, recognize that we see the term Text Filters.
03:20So for example, we could be looking here for only those Departments that
03:24contain a certain word.
03:26The options that we see here are related to Text Types Entries.
03:30Column H has salaries;
03:31we might want to see the salaries in a certain range.
03:34Because this is a numeric field, we see the term Number Filters and a different
03:39set of choices out here.
03:41So we could look at all of the salaries between a certain range, for example
03:45all of those that are greater than or equal to 40,000 and less than 50,000,
03:53example here less than or equal to or maybe just less than, we've got some variation there.
03:58So now we're about to see just the salaries within that range.
04:02How many people are within that range;
04:04134 out of our 741 records and here too we could be looking at other fields at the same time.
04:12To bring that back again, simply click here, we could also simply remove the
04:17Filter here this way and how about a Date Field here, drop arrow, Date Filters,
04:23this gives us some amazing capability.
04:26I think for hire dates some of these wouldn't be very obvious choices, but if
04:29these were sales dates think of how handy this would be if we were dealing with
04:34transaction data to just see the data from Last Month or Yesterday or Last Year
04:39and furthermore, if we looked farther down All Dates in the Period.
04:43We could isolate the dates by month, no matter what the year is, let's get
04:47all the February entries here and we see all the people hired in February in different years.
04:51May be we'll use this to create the anniversary list.
04:54Drop arrow again, Date Filters and also don't overlook All Dates in the Period
05:00where we see it by Quarters as well.
05:02And so there are some very strong capabilities here in Date Type columns.
05:06Once again we could Clear Filter from Hire Date.
05:08Filtering is fast and easy.
05:10Recognize too that when you do have a filtered list, let's create another one
05:14maybe this time we'll choose just the Hourly people who have a good Job Rating.
05:18We'll choose Hourly only by Unselecting all, then choosing Hourly, click OK,
05:2554 of those, Job Rating 5, Unselect all, choose 5, click OK and now we're down
05:34to just 11 of these.
05:35If we copy this list, if we simply highlight and copy, Right-Click and Copy,
05:41automatically we are only getting this visible data.
05:45If I click plus at the bottom to create a new sheet and I paste this list out
05:49here, Right-Click Paste or possibly Ctrl+V, we've got just the visible data.
05:56In a filtered list you never worry about that, we can of course print this too.
06:00Keep in mind too that whenever you're using filtering you'll see blue rows to
06:04indicate that we're not seeing all the rows.
06:06So this is a feature that allows us to quickly view just the data we want and to
06:11easily get back all the data simply by choosing Clear.
Collapse this transcript
Splitting data into multiple columns
00:00In this worksheet SplittingData, we've got our customer list, it's over 200
00:04names and we'd like to be able to sort this list by the last name.
00:08But because the names are in first name-last name order in column A, we can't do that.
00:12This is a common problem, by the way.
00:14Also, if we want to sort our list by State, we cannot do that.
00:18Look at the entries in column D;
00:21City, State, Zipcode all together in one column.
00:24There are two methods for adjusting data here.
00:26One has been around for a while, it's a Text to Columns feature on the Data
00:30tab and a new one in Excel 2013 called Flash Fill will quickly allow us to
00:36readjust data as well.
00:37Let's focus on column D first, click column D. Before actually splitting this
00:43data into separate columns, make sure we've got some empty columns to the
00:47right and we do here.
00:48The command on the DATA tab is Text to Columns;
00:52Split a single column of text into multiple columns.
00:55Note how they do make reference here of separating a column of full names into
00:59separate first and last name columns.
01:01We're going to be doing that in column A using Flash Fill.
01:04We could use this feature as well;
01:06but we're going to use it here.
01:07We want to split this data into different columns.
01:10The Convert Text to Columns Wizard begins with a choice Delimited or Fixed Width.
01:16If we look at the data in column D, it's not every six characters or every
01:20eight characters in each case where we see a city name ending, in other words
01:25it's not a Fixed width.
01:26Delimited means characters such as commas in our case or tabs separate each field.
01:31So we want to choose Delimited, then Next and a Delimiter and these might not be
01:37checked, they could be checked based on the last time you've used this, so these
01:42might or might not be checked.
01:43We don't need to see Space there, in fact that would be wrong to choose Space,
01:47because we see spaces between for example, San and Diego, Dana and Point and so on.
01:53It's just Comma that we care about.
01:55The Preview below this, going to keep an eye on it, scroll a little bit.
01:59If we're using Space I think you'd see we'd have a problem there, just use
02:02Comma and then Finish.
02:05And we've taken care of the Cities, we've isolated them based on the commas and
02:09we don't see the commas anymore.
02:11Now let's tackle column E. Looks like we might have a leading space but that
02:15shouldn't be a big problem.
02:16We'll go right back into Text to Columns, this time Delimited then Next and it
02:22is Space that we want to choose now.
02:24It doesn't hurt to leave Comma checked;
02:26we don't have them there anyway and we see what's about to happen here based on
02:30this Preview, Finish, good.
02:32Column E is empty, we'll just Right-Click and Delete it, re-adjust these column
02:37widths and we are all set.
02:40We will be able to sort this list now by State or by Zipcode.
02:43Take a look at column A though, we still have a problem here, we cannot sort
02:47the list alphabetically by last name, we need to split these names into separate columns.
02:52And although we could use Text to Columns, let's put in some new columns
02:56here, I'm going to drag across columns B and C and use the feature new in
03:01Excel 2013 called Flash Fill.
03:05So, in cell B7 here I'm going to type Jim.
03:08Now I'm going to type Lawrence and as I type the letter L, look what happens.
03:14Excel senses that I'm going to type only the first name and it fills in all the
03:19other first names below, they're kind of gray, you might not see them so easily,
03:23I'll simply press Enter and we've got all of our first names in place.
03:26And then in C7, right here I'm going to type Duffy, Enter and as I type, T
03:32that's Lawrence Tibbett there, that T for the last name.
03:35As I type the letter T, we see what's happening;
03:38once again we'll press Enter.
03:39So ultimately what we're going to do here is get rid of column A, we'll get to that.
03:44Meanwhile we will re-adjust these columns, put in our appropriate headings for
03:47First Name, Last Name and we'll be able to sort by last name now.
03:51Now although we don't really need to put the name together we can do that
03:55also with this feature.
03:56I'm going to Right-Click column D and insert another new column and suppose
04:01what we might have, because it will be more efficient space-wise, to contain
04:05the names Duffy, Jim;
04:07Tibbett, Lawrence and so on.
04:09So I'm going to type Duffy, Jim Enter and now as I type T, immediately Excel
04:17senses what I'm about to do, I'll press Enter and we're all set there.
04:21And so what I might do ultimately, I'll just move the Name over here and then
04:26delete columns A, B, C, Right-Click and Delete.
04:30So now we've got a list where we can sort by last name, in fact the column
04:35doesn't even have to be that wide anymore.
04:37We can sort it by the last name, we can sort by City;
04:40we can sort by State.
04:41So the Text to Columns feature does by the way include some additional
04:44options that you might want to explore particularly in some of the other
04:48steps here regarding dates.
04:49But, if it's simply a question of splitting data in the columns, we can use
04:53either this feature or as we also saw the ability called Flash Fill that
04:57allows us to quickly do a little bit of typing and have Excel fill in the
05:01columns for us automatically.
Collapse this transcript
Removing duplicate records
00:00In this worksheet called Remove Duplicates, we've got duplicate records.
00:04Row six, row seven, that's Michael Adkins, same Building, same Department,
00:08everything is the same, that's a duplicate.
00:11We've got two Thomas Allens, but they're in different Departments, so
00:14different people there.
00:15We need to get rid of duplicates.
00:17A list like this doesn't have to be sorted but maybe that's how you've found a few.
00:21There might be another one down here somewhere else here;
00:24there is another one yeah, 47 and 48, Tim Beasley.
00:26But think of how painstakingly boring it's going to be if we start scrolling
00:31through this list looking for duplicates.
00:33And the list might be large.
00:35And by the way, you can get a quick read on the list if you simply click one of
00:39the column entries here.
00:40I'm clicking column C. What do we see in the Status Bar?
00:43Count 763 simply means we got 763 cells that have data in column C. We're also
00:50counting this, so we've got 762 rows below this.
00:54The list that we're about to use here does not have to be sorted.
00:58Maybe that's how we saw these duplicates, but that's not a prerequisite for
01:02using the feature of Removing Duplicates.
01:04It's found on the DATA tab.
01:06And as is typical with a lot of database commands in Excel, if we have no empty
01:10rows or columns in our list, simply click within the data and then on the DATA
01:16tab in the Ribbon use the choice Remove Duplicates.
01:21In the Remove Duplicates dialog box we'll see a list of all the columns that had been selected.
01:26Now, possibly in some list you don't want to include all columns.
01:30I think in this case, we would.
01:32We want to say in effect if in every single column here all the way across, the
01:36entries are identical then we want to get rid of one of those or in some cases
01:41maybe if we've got the record in triplicate, get rid of the duplicates so we
01:45have only one of those left.
01:46But do check that out at different times, sometimes you need only to check a few columns.
01:51Let's get rid of the duplicate records here, click OK.
01:5421 duplicate values found and removed.
01:57That really means duplicate rows and we see only one Michael Adkins, we do
02:02however see two Thomas Allens because it's not a duplicate record all the way across.
02:08Seven hundred and forty one unique values remain, think of rows.
02:12Click OK and our list is all cleaned up.
02:15What the feature didn't do and sometimes you might want this but it doesn't
02:18happen with this feature, it didn't show us which records were duplicated, it
02:23simply got rid of them.
02:24So that's what the feature really is all about, get rid of those duplicate records.
02:28It's a common database management problem and this command, Remove Duplicates on
02:33the DATA tab simply gets rid of the duplicate records in a list.
Collapse this transcript
13. PivotTables
Creating PivotTables
00:00One of Excel's most powerful and creative tools is a PivotTable.
00:04It's the ideal feature for making sense out of a large amount of data.
00:09In this worksheet called Creating, in the Workbook 13-PivotTables, we've got
00:14over 900 rows of transactional data here representing sales, usually multiple
00:20sales on a given sale.
00:21We've got our Salesperson, Product, our Customers are major retailers and they
00:26are located in four different regions in the United States and we'd like to be
00:30able to get a good quick summary read on what's happening here.
00:33The data currently isn't sorted, it doesn't need to be.
00:36Think of a PivotTable as a separate entity, we're about to create one that will
00:40quickly give us summary information about this list.
00:44If you look at this list for a little bit, one of the things you might want to
00:48see would be a list of our Salesperson's names down the left-hand side and
00:52across the top maybe the products that they've sold and then how many at the
00:57intersection or possibly the dollar amount.
00:59I've done this manually off to the right, it's in column J. I'll just make
01:02column I narrower and scroll over there a little bit.
01:06Here is the kind of list I'm thinking of:
01:08Customer names down the left-hand side, Products across the top and we can see
01:14how many Items have been sold 7997, almost 8000 items had been sold and we
01:19quickly see who the top Salesperson, we see which item is selling better than
01:23another one, this is good information.
01:25Take a look at some of the formulas required to get this though.
01:28This formula, not exactly easy, SUMIFS uses a function that's rather
01:33sophisticated and setting this up is going to take some time.
01:37Furthermore after doing this, could we easily change this display so that we
01:42showed for example the customers across the top, which customers are buying
01:47from which salespersons?
01:49And as we look at the different fields there, we might want to compare, for
01:53example, Region and Product, or Product and Salesperson, Customer and Product,
01:59a variety of different interrelationships, somewhat like we're seeing over here in column J.
02:04With the PivotTable, we can create a list like this in under 10 seconds without formulas.
02:10It's going to be that simple, and furthermore we won't have to worry about
02:14formulas like this one, we can easily change the PivotTable to include other
02:19fields across the top here.
02:21The PivotTable actually is a separate creation, typically placed on another
02:25worksheet, although we could place it on this very same worksheet.
02:29Although the feature is database-like in many respects, it's found on the
02:33INSERT tab in the Ribbon.
02:35A PivotTable not only gives us this quick ability to summarize information, it
02:40also allows us to sort the data, it allows us to filter it, it does consist of a
02:46number of database technics that you might already be familiar with.
02:49We begin the process by simply clicking within the data.
02:53Now you just can't take any collection of data and say, well I'll use a
02:56PivotTable and analyze what's going on.
02:59The data you're working with has to be list-like in nature and that means you
03:03want your titles in a single row.
03:05If you other information above it, that's fine but it's best to keep the row
03:09above it empty if you do have other information up there and make sure that
03:13within the data that you don't have any empty rows or empty columns and that
03:17does facilitate the creation of a PivotTable because we need only click
03:21within this data here.
03:23If you do have other data to the right as I do here, make sure you've got at
03:27least one empty column isolating that data from the data that you want to work with.
03:31So the active cells within here, let's create a PivotTable rather quickly.
03:36INSERT tab, left button, PivotTable.
03:39The Create PivotTable dialog box tells us the data that it thinks we want to use
03:45and it nearly always gets this right so a quick look here.
03:48This goes down to row 213 out to column H, looks good.
03:51The default location for PivotTable, new Worksheet.
03:55Let's go just with it.
03:56Recognize you could put it on the Existing Worksheet right here.
03:59We could do that if we wanted to.
04:01Let's just click OK.
04:03We're now on a new worksheet.
04:04Off to the left, we see a PivotTable placeholder and off to the right a
04:09PivotTable Fields list.
04:12We can move this over if we wish, you don't have to do this;
04:15you can make it a bit bigger as well.
04:17As we make it bigger here, recognize we are seeing the field names right here
04:21that we saw in the previous sheet and possibly you can move this down to see
04:25them all, sometimes you'll do that but that's not critical but that could be
04:28helpful at times too.
04:29Here are the fields that we're interested in.
04:31I'm going to click the box for Salesperson.
04:33Two things will change on the screen.
04:36Off to the left and alphabetized list of our salespeople and in the
04:40lower portion of the PivotTable Fields list, we see in the area called Rows, Salesperson.
04:46Let's now click the box for Items, let's say we want to track the number of items sold.
04:51That's a numeric field.
04:53If we check the box, it automatically goes into the Values area that may be just
04:58as important over in column B, we see the sum of items for each salesperson and
05:04there is that 7997 total that we saw on the previous worksheet.
05:09Now something you wouldn't expect at first, if we do want to show the product
05:14here, we're going to drag the word Product into the Columns area and there's our
05:19PivotTable, we can move this to the right.
05:22The same total that we saw before and if we were to compare the numbers with
05:25that manually created table, the same numbers in every single case, nowhere here
05:30do you see a formula, click here, click there, look in the Formula bar just the
05:35numbers are here, pretty fast.
05:37As you look at this you might say, what's this Row Labels, Column Labels?
05:42If it's only you working with the data, don't worry about those.
05:45The focus is on the numbers and what they mean, but this does reinforce the idea
05:50that this portion of the PivotTable has a name, it's the Row area or the Row
05:55Labels area, you could use either term.
05:57We also see this term off to the right, in the lower portion of the PivotTable
06:01Fields list, we see the term Rows here.
06:04Salesperson is in the Row Labels area or the Row area.
06:08Column Labels, that's the term we see across the top, we see that also reflected
06:13in the PivotTable Fields list to the right.
06:15Now if you are making a presentation of this data, you might not want to see
06:19these terms here, you might have noticed already that when the active cell is
06:23within the PivotTable anywhere here we've got a PivotTable tools Ribbon in our
06:29menu system with an ANALYZE tab and a DESIGN tab.
06:33Also whenever the active cell is within the PivotTable, we do see the
06:38PivotTable's Field list to the right.
06:40I'm about to click on cell E1, watch what changes.
06:44That field list to the right is gone and the menu that we had seen is gone as well.
06:49As I click back into the PivotTable, both of those features return.
06:54If we don't want to see these terms here, Column Labels and Row Labels we can go
06:59to the ANALYZE tab and simply not show Field Headers.
07:03In some cases that might be appropriate, surely those are products we sell;
07:07these are our salespersons so we don't necessarily need labels there.
07:11But I think a better choice will be, let's return those Field Headers and then
07:15let's change these cells so that they actually reflect the names of the fields.
07:20And the way we do that is to go to the DESIGN tab and choose Report Layout.
07:25Now you wouldn't instinctively know that we have been viewing Compact Form.
07:31The other two variations Outline and Tabular do show the field names.
07:35The difference in these two is that Tabular shows gridlines, let's just choose
07:39this one and now we see Salesperson instead of Row Labels and Product instead of Column Labels.
07:46We also see those two terms in our PivotTable Fields list to the right, down here.
07:51The more you work with PivotTables, the more you appreciate the PivotTable
07:54Fields list and the fact that the lower portion of it serves as kind of a map of
07:59the PivotTable itself.
08:01A couple of other quick changes you might want to make here, you might click in
08:05the upper left-hand corner, Double-Click a column boundary to readjust the
08:08column widths, now it's not critical but any other feature that you might be
08:11familiar with formatting, you can certainly use it too.
08:14So it certainly didn't take us very long to get here.
08:17We have no formulas in sight and we will as you'll see in an upcoming movie the
08:21ability to quickly change the layout of a PivotTable.
08:24It's very fast to create a PivotTable as you've seen and you will have the
08:28choice at any time to put the PivotTable on a separate sheet as we see it here
08:32or on the same sheet as the source data.
Collapse this transcript
Manipulating PivotTable data
00:00One of the best features of a Pivot Table is the ease with which you can
00:04manipulate the fields.
00:05We're looking at a worksheet called Manipulating, it's in the Workbook 13-PivotTables
00:10and we're looking at a Pivot Table that was created earlier and
00:13we're thinking of changing the layout of the fields as we see them here.
00:17The Pivot Table fields list is off to the right.
00:19Sometimes this is anchored, you can click and drag its title and place it above
00:24the data if you wish or closer to the data and also make it larger this way.
00:27Again, as we look at the Pivot Table field list Product, Items, Salesperson,
00:33that's the layout we see to the left.
00:35Imagine if you're making a presentation and the discussion about what we're
00:39seeing here has pretty much run it's course and the question that has come up,
00:42could we see this breakout by customer, possibly customer and region or
00:46customer and salesperson.
00:48So sometimes we want to make a change.
00:50What if I like to see Product down the left-hand side?
00:53I'm not interested in Salesperson for the moment, so I'll take Salesperson out
00:57of the Row Labels area.
00:59You can do it one of two ways.
01:00You can click and drag and remove it this way, another way is simply to
01:04uncheck the box above.
01:06For the moment we've got a pretty small Pivot Table, not very valuable.
01:09But let's place Product in the Row Labels area and then let's see who are the
01:14buyers of this product, perhaps we'll bring in Customer and put that in the
01:18Column Labels area and now we see this layout.
01:22We have the same total that we saw before, 7997 but a different layout.
01:27We don't have to worry about formulas, we still don't see any formulas here but
01:31we can easily change the appearance of this and another thought might have
01:34occurred to you, what if a few years ago you created a list like this, perhaps
01:38it was done manually and you like to recreate that list and in that list the
01:43customer's names were down the left-hand side, in that portion that we refer to
01:47as the Row Labels area and the Product was across the top, in that area we refer
01:53to here as the Column Labels area.
01:55So if you were to think of the data this way and you'd like to flip the data, so
01:59to speak, or transpose it, the term pivot comes to mind.
02:03We're going to pivot the data from the upper left-hand corner and actually
02:07that's not a single action, it's two actions.
02:10We're simply going to reverse the order of Customer and Product and that means
02:14dragging these two fields to their opposite location and in no particular order.
02:19So I'm going to drag Customer from the Column Labels area into the Row Labels
02:24area and we see an interim view there that occasionally might be okay.
02:27Let's drag Product to the Column Labels area and there is that layout.
02:32And as we do this at different times we might want to click in the upper
02:36left-hand corner and Double-Click our boundary to adjust the column widths.
02:40Based on what we've seen so far, you might imagine that a Pivot Table is mostly
02:44about comparing two fields.
02:46Well it often is, but certainly it isn't limited to that.
02:50If we want to show this breakout here also by Salesperson, we could bring that
02:54field back into list.
02:56Because that's a text field, if we'd click the box for Salesperson, it will
03:01automatically appear in the Row Labels area.
03:03If we want to go to Column Labels area we have to drag it there.
03:07So I'm just going to check the box for Salesperson and we see the list here.
03:12Now that's not very compact, that doesn't mean it's bad.
03:14But if we were to print this list, we can see that it's certainly lengthier than
03:18one we've been seeing but 70 rows is not outrageous, that's a reasonable amount
03:22of information and a lot of detail too.
03:25If we change the order of Customer and Salesperson, not exactly an instinctive
03:28idea, but let's do it anyway, watch what happens to our list.
03:32Currently as we view the Pivot Table, Customer is to the left of Salesperson.
03:37As we look at the Pivot Table field list, we see Customer above Salesperson, so
03:42let's drag Customer downward and now we see the display this way.
03:47A different way of viewing the data and it's up to you to decide which you like best;
03:51you can change your mind at different times too.
03:53You might also be seeing as we do this, for example subtotals.
03:57You may or may not want those.
03:59If you don't, go to the DESIGN tab, Subtotals, Do Not Show Subtotals, we see the list this way.
04:06And once again we might want to switch back and forth the order of Salesperson
04:10and Customer just to see how it's looking.
04:12And at different times you want to see a list a certain way, you can see it another way.
04:17All the while we're manipulating a Pivot Table;
04:19there is no possibility in any way of altering the original data.
04:24Think of the Pivot Table as a separate entity and we can change the layout any
04:29number of different ways.
04:30There might even be times when we say, you know I don't want to see this
04:34salesperson here but I want it nearby so I can get to it quickly.
04:38We can drag Salesperson into what's called a Filters area, right there.
04:41Recognize that in the Pivot Table now, we have an upper portion here, this
04:46is the Filters area.
04:47The advantage here might be we only want to see data about one person or
04:51maybe two of our salespersons, click the drop arrow there and maybe we just
04:55want to see how well Emily has been doing, there is Emily only, her sales,
04:59632 items sold altogether.
05:02And you've got other options up here as well, there is a choice for selecting
05:06multiple items, let's say we also want to see in our list here John Lucas and
05:12now we are seeing jus the data for those two people.
05:14So the Filters area has a role to play as well.
05:17If we no longer need to see this differentiation, we could just possibly
05:21remove Salesperson from the list completely or possibly bring it back into the Row Labels area.
05:27Now there's another aspect of Pivot Tables that does surprise people.
05:30It's almost as if we have created a chart here in the sense that we've created
05:35something different, it's a different view of the data, it's certainly based
05:38on data in a different worksheet in this example, but what happens if the
05:43source data changes?
05:45So as we look at this list here, remember the total is 7997, let's suppose our
05:51list here is showing the Salesperson and the Product.
05:54So I'm going to remove Customer, this time dragging it off, click the box for
05:59Salesperson, we see our salespersons here and I don't know if you remember but a
06:05few minutes ago when I actually removed it from here, we were using a filter and
06:09now that filter is still there.
06:10So if we look at Salesperson over on left-hand side and click the filter arrow
06:15there, there we might want to now Select All of the names there, click OK.
06:21In this list our total 7997, our top seller here is Harlan Vaughn 1068.
06:26I want to show you what happens here and this might be a surprise if you haven't
06:30worked with Pivot Tables very much.
06:32I'm going back to the source data.
06:34It's on the sheet called Creating.
06:36I'm going to make a change to one of the records.
06:39We've got an update here and actually 12 items were sold here.
06:44Again, remember our original list is 7997.
06:47If this is going to be 12 that list is going to go to 8000.
06:51So I'm going to change this to 12, that will have the impact in the cell to the
06:55right which is calculating a total, you would expect that to change and surely
06:59our Pivot Table will have changed, right?
07:01If we go to Manipulating, it still says 1068;
07:05we still have the same total as before.
07:08So what's happening here?
07:09In Pivot Tables, even though they are based on source data on another
07:13worksheet possibly or maybe on this worksheet, Pivot Tables don't change when
07:18the source data changes.
07:20You have to make that happen.
07:21And so with the active cell within the Pivot Table, go to the ANALYZE tab in the
07:26Ribbon and choose Refresh.
07:29Also there is a keystroke shortcut, Alt+F5.
07:32And what has happened, it's now 8000 and this number here which had been 1068 is now 1071.
07:39So refreshing your data is something you need to do as you work with Pivot Table data.
07:45And there is another aspect to this as well as you work with Pivot Tables.
07:49Suppose you're having a meeting here and you're looking at the numbers and for
07:52whatever reason, one number jumps out at this person to that person, somebody
07:56wants to see the detail behind one of these.
07:59Who are the 19 customers here who purchased the bamboo coffee table or Icelita
08:04Kelly was the Salesperson?
08:05Double-Click, what's happened here, we're in a brand new worksheet and we're
08:10seeing here a list, these items here do total, 19 there they are.
08:15This represents the source of that number, in other words what we're seeing here
08:20and let's adjust the column to make it a little bit more readable.
08:23This is data gathered from the source list and placed on a new worksheet in
08:28table format and so this represents the 19 that I Double-Clicked on.
08:33Here are the 19 items that were sold.
08:35And so as we go back to the Pivot Table right here, when I Double-Clicked 19,
08:40suddenly it's as if we go back to the original data we find these 19 items and
08:46we see them on a new worksheet, that's called drill down and we can
08:51Double-Click on any of the numbers in this list here and get the same effect if
08:56we're interested in that.
08:57Now, if we make changes to our source data and then update this Pivot Table,
09:03this sheet isn't getting updated and so it could be incorrect.
09:07So when you do create these lists, keep in mind that you might want to get rid
09:11of them pretty quickly.
09:12But if you're not changing the data that much, they're going to be accurate
09:15until you make changes.
09:16If you no longer need the sheet, simply Right-Click and delete it.
09:20But it is a great feature called drill down and sometimes you'll want to do that.
09:24So we can see as we work with Pivot Tables we change our minds sometimes about
09:28the appearance of it, what it is we're looking at, we have the ability to move
09:33these fields back and forth.
09:34Sometimes we're just looking for a better display;
09:37sometimes we're really looking to analyze the numbers in greater depth.
09:40The capability to manipulate and change the appearance of a Pivot Table is one
09:45of its greatest strengths.
Collapse this transcript
Grouping by date and time
00:00In this worksheet called DateGrouping, we see a Pivot Table with the date field
00:05in the Row Labels area and this is not a very compact Pivot Table.
00:09There are no restrictions on how big a Pivot Table might be, but this is not
00:14much of a summary hare.
00:15We're seeing the breakout day by day over a two-year period on any day
00:20where there was any sale.
00:21Let's compact this.
00:23If we have date entries and all of our date entries are valid, we can simply
00:27Right-Click on one of these date entries and choose Group.
00:32Excel recognizes the data as date typed data.
00:36It suggests possible months.
00:37Let's go with that and see what happens, click OK.
00:41And immediately, we're seeing a summary by months.
00:43Now, remember this is a two-year period, so this might not be quite what
00:47we're aiming for and yet you can see pretty quickly how this summary is
00:51practically instantaneous.
00:52We've got totals by month covering a two-year period across the
00:56different regions here.
00:58Let's Right-Click on one of the months here, chose Group again.
01:02Earlier when we saw this list we could have grouped by quarter and years as well.
01:06You simply click on the additional fields you might need.
01:08So, we might choose any two of these or all three of them or just one of them.
01:13Recognize also that if we were looking at time data, we might want to group it
01:17by hours of the day.
01:18But let's take a look at Months, Quarters, Years as we click OK.
01:22Now, we see a nice breakout here by Year, and Quarters, and Month.
01:27Now, the word Date here is a little bit off.
01:29These are months so let's change that and you can do this within Pivot Tables.
01:34Let's just call that Month, much better.
01:38And you might or might not have noticed that in the Pivot Table field list
01:41we see the word month.
01:43Now, the source data still does not contain a column with the word month, but we
01:47see that here as we work with the Pivot Table.
01:51Now, scrolling up and down a little bit, this list is not that large.
01:54It's relatively compact.
01:55It goes down to row 29 here, but as we look at this list here and click back
02:00within the Pivot Table and see our Pivot Table field list, recognize that in the
02:04Row Labels area, we've got Years, Quarters and Month.
02:08Now, what might we do here if we want our list to be a bit more compact?
02:13Maybe we're going to try looking at this just by Years and Quarters.
02:17So, let's take Month and to keep it handy and nearby, let's put it in the
02:22Filters area and now look at our Pivot Table.
02:25We see totals by Years and Quarters.
02:28Now, let's try something that you might not instinctively try.
02:31Flip the order of Years and Quarters within the Row Labels area.
02:36So, I'm going to drag Years downward, watch the display now.
02:40That's probably not as common as the previous view, but it does allow us to show
02:44for example, our two quarter ones next to each other for 2010 and 2011.
02:48Here we see our two quarter twos and so on.
02:52So, that kind of a grouping not exactly obvious at first also emerges from this
02:56capability, let's put it back again.
02:58Let's bring in Month, take out Quarters for the moment.
03:04Now, we're seeing Years and Month, and here too might we flip the order of Years and Month?
03:09It doesn't seem like the most obvious thing to do.
03:11Here we're seeing our two January's next to one another.
03:14Now, when you manipulate date at different times, sometimes you will see
03:18subtotals, sometimes not.
03:20If you don't want to see them, on the Design tab in the Ribbon, Subtotals,
03:25Do Not Show Subtotals.
03:26If the view that you have here is by way of the Design tab, Report Layout if
03:32you choose Outline or Tabular, sometimes the capabilities of these two are a
03:35little bit different.
03:37Let's go to Tabular form.
03:38You might have seen a choice there under Subtotals, Show All Subtotals at Bottom
03:44of Group or at Top of Group.
03:45Now, on the example here, I chose top and yet they appear at the bottom.
03:50That's because on Report Layout and you wouldn't know this until you tried it.
03:54Tabular form doesn't recognize that choice, Outline does.
03:59So, I made the choice to put the Subtotals above and they stayed below.
04:02How about show in Outline form now?
04:05Now, we see our subtotals above.
04:07In other words, here are the totals for two Januarys.
04:11So, that's a bit of a change that you might not pick up on at first.
04:15If we don't want to see them again, let's just jump back to Subtotals,
04:17Do Not Show Subtotals.
04:19And now it's a simpler view.
04:21Experiment with these two choices too though and see the differences.
04:24Tabular will show gridlines as well and show the display this way.
04:28Now, there are a lot of possibilities for changing the way we group Month,
04:32Years and Quarters and so although we're not counting the number of
04:35possibilities here, just by simply moving these fields back and forth and in
04:39different ways, we can get a good quick view of what's happening based on time
04:44criteria here over Years, Months and Quarters by using this grouping capability as we see it here.
04:50One other option that wouldn't be so obvious either, if we were for example
04:55here, to simply Right-Click one of the year entries and choose Group again and
05:00this time turn off these three groupings but instead group these by days.
05:06Now, that doesn't sound like it's what we want at first, particularly if we
05:09see number of days one.
05:12But what if we change that to be 14?
05:13What we're now going to get is a two-week grouping and maybe it so happens
05:18that in your organization, you group your sales or you tabulate your sales on a two-week basis.
05:23Let's see how this date looks grouped every two weeks.
05:27Now, a little bit of fine tuning touch here, you might want to go to your
05:31calendar and you probably would want this to start on a Monday or possibly a
05:35Sunday so you might want to revisit that and start these on a different date,
05:38but you could quickly see we're talking about 14-day periods here.
05:41If this covers two years we're about to see 50 rows or so here.
05:45So, that's another kind of grouping.
05:47If the data had been hours, we could group these by hours of the day to see
05:50which hours of the day provided the most sales as well.
05:53So, the ability to group information by date and time is a powerful tool
05:58when using Pivot Tables.
Collapse this transcript
Grouping by other factors
00:00In addition to grouping data by date and time factors, Pivot Tables also gives
00:05us the possibility to pretty much create grouping on our own, sort of an ad hoc way.
00:10We're looking at the worksheet called OtherGrouping in our file 13-PivotTables.
00:13Imagine if somebody asks us to group data by the east region.
00:19Now, we don't really have an east region, we've got a northeast, we've got a southeast.
00:23You can move fields.
00:24For example, if we want to move southeast next to northeast, just click that
00:28cell, drag its bottom edge.
00:31Those two fields are now adjacent, northeast and southeast.
00:34The date is together.
00:35Suppose we want to create a grouping called East.
00:38Select just the two labels, Right-Click Group.
00:42Suddenly, we see a new row in the term GROUP 1.
00:46That's not very meaningful, so let's just call it East.
00:50Recognize there's a minus in front of it.
00:52Let's click the minus and before doing that, look at the total.
00:55We got a northeast and a southeast.
00:56This total here is going to be about 4000 or so.
00:59Let's just click the minus, what happens?
01:01There is the total.
01:03What we're seeing here is the total of the northeast and the southeast with no detail.
01:08If we group the east that way we probably want to group the west similarly.
01:12So, drag across northwest and southwest and here too, Right-Click and Group and
01:17we'll simply change that word group to West.
01:20We're going to type right over.
01:23Now, we can collapse the west as well.
01:25So, for the moment we're seeing East and West, new grouping that didn't really
01:29exist in our original data.
01:31In the Pivot Table field list to the right, recognize that we now have a
01:34field called Region2.
01:36You might leave that there or click on it, give it a different name, maybe
01:41east-west or something like that to differentiate a bit.
01:44So, we now have the ability to view this list whenever we wish in the East, West
01:49breakout or in the four breakout region the way we saw it earlier.
01:53So, we can create our groupings in an ad hoc kind of way.
01:57We can also do this with data in the Row Labels area.
02:00So, if we simply want to group these two, maybe these are the two bamboo items,
02:04we're going to bring out that idea.
02:06So highlight those two, Right-Click>Group.
02:09You see the term Group1 again, let me just type in Bamboo.
02:15There we are, and we could collapse that.
02:17So, we got our Bamboo total and then the other ones we haven't grouped just yet,
02:21maybe we won't but we have that capability.
02:23So, grouping sort of on the fly or in kind of an ad hoc way, we can do this
02:27easily in a Pivot Table simply by selecting the two, Right-Clicking and
02:32choosing Group.
Collapse this transcript
Using slicers to clarify and manipulate fields
00:00If you want greater control over a Pivot Table when you're making a presentation
00:04or when you're simply analyzing data, you need to know about Slicers.
00:08This is a relatively new feature in Pivot Tables introduced in Excel 2010.
00:14In this particular Pivot Table we're seeing Salespersons in the row labels area,
00:18Product in the column labels area.
00:21Now, suppose we want to see just some of the products.
00:24A standard way to make this choice is to click the drop arrow for Product and
00:28unselect the items we don't want to see.
00:29So maybe we don't want to see the two tables here and we're not seeing them and
00:35the totals are adjusted.
00:36Now, do we know which fields were not seeing?
00:39Well, if we just made the change, yes.
00:42But, we might be looking at the Pivot Table in later time.
00:44Do we know our product list that well?
00:46Do we know what's not being seen?
00:48So, one aspect of using these arrows is that we might at different times want to
00:54know not just what we are seeing but what we're not seeing.
00:57And maybe we want to focus on just some of our salespersons.
01:00And so similarly, we could go to the drop arrow for Salesperson and not
01:05select all of the names.
01:06I'm not doing that but let's say, that we certainly could do that as well.
01:10Now, Slicers which is available on the ANALYZE tab in the ribbon when we're
01:15using the Pivot Tables is found in the Filter group.
01:18Insert Slicer what we're about to see here is all of the field names.
01:23Now, we're not using all the fields right now.
01:25We're not using for example Region, we're not using Customer but we still might
01:29want to see Slicers for our various fields here.
01:33Perhaps not all of them and you want to experiment with this;
01:36but I'm going to use Salesperson, Product, Region and Customers, a small problem
01:39here it can be, our screen is going to be a bit crowded.
01:43Let's click OK and see what we'll see here.
01:45We've got slicers now for Customer, Region, Product and Salesperson.
01:50We can make these a bit smaller something like that, take a bit of time to do it
01:54for all of these, you don't have to do this but just a reminder, you can
01:58redesign this as you wish.
01:59As you're manipulating these two, recognize that there is a SLICER TOOLS ribbon
02:03in the menu system also with an OPTIONS tab;
02:06we can change colors, heights and so on.
02:07Products, same idea.
02:09Now, the advantage of these is two fold.
02:13One, is we can see which entries are not being shown.
02:17So, for example, right away we can see here on Product the two items that are not showing.
02:22If we only want to look at two of our customers, say Ellington Designs and Home Emporium.
02:27We'll click Ellington Designs and we're only seeing that customer and
02:31now holding down Ctrl if we click Home Emporium and we see the two of those together.
02:36And so, as we're looking at the Pivot Table, even though customer isn't even
02:40visible anywhere we're only looking at two of our customers.
02:44And so ultimately this could be better than what we're seeing with the standard
02:49Pivot Table field list.
02:50And the more we move these, the more you manipulate them and you'll decide
02:54what's best in terms of how many of these you want to see but that gives us a
02:59clear picture of what this Pivot Table is all about in terms of what is showing
03:03and what isn't showing.
03:04You can make the Salesperson slicer by the way, be two columns.
03:06It might be a good choice, and then possibly make it wider and that way we can
03:11see the names that way too.
03:13So at any given time when we're working with this Pivot Table, we don't
03:16necessarily need our Pivot Table field list although it's certainly is helpful
03:20to remind us of the layout.
03:22But let's say we move that aside a little bit by dragging its title at the top.
03:26Let's drag it over here for example, and focus more on the slicers.
03:29The red X within the slicers looks like it's a way to get rid of the slicer but
03:34what it really means is clear the filter.
03:36In order words, select all of the fields.
03:38So click the red X to select all of the fields, and in effect we're not using
03:42Product now because all of the products are being shown.
03:45Once again, if we only want to look at two of these, click that one then use the Ctrl key.
03:50If there's a consecutive cluster we want to use, if we want to use the first three;
03:54click Bamboo Coffee Table and then with the Shift key click Captain Recliner,
03:58so we see those three.
04:00So, at any given time with these slicers here you know what's showing in the
04:04Pivot Table and what's not showing.
Collapse this transcript
Using PivotCharts
00:00When you're working with Pivot Table data, invariably it's about the numbers.
00:04And as we work with numbers in Excel sometimes it makes sense to have a chart as well.
00:08You can create a Pivot Chart along with a Pivot Table.
00:12Also at any time when working with an existing Pivot Table, you can
00:16instantly create a chart.
00:17For example, if we go to the Slicers sheet in this workbook, Pivot Tables.
00:22If we want a Pivot Chart based on the Pivot Tables that's visible simply click
00:26within the Pivot Table and press Alt+F1 and there's a chart.
00:31One suggestion with Pivot Charts, make them be stacked column.
00:35Not always the best solution, but many, many times even when a Pivot Table
00:39doesn't seem to have that much data and a Pivot Chart looks fairly crowded as this one does.
00:44Let's go to the Design tab in the ribbon when the Pivot Chart is selected
00:49and the second button from the right, Change Chart Type, Stacked Column,
00:53possibly stacked the bar, Double-Click tends to create a cleaner looking
00:58chart, not so crowded.
01:00If you have created a Pivot Chart it is in sync with the Pivot Table at all
01:04times, so if for example, if we go into the Pivot Chart fields to the right and
01:08change the location of Product and Salesperson.
01:11I'm going to drag product down here.
01:14Notice the look of the chart right now, fairly crowded and the labels look
01:17terrible across the bottom and put Salesperson here.
01:21Also note that the wording looks different than it does typically here.
01:25Instead of seeing column here, we see the Legend (Series) and instead of row we
01:30see Axis (Category), but I think you can see here the chart will at times
01:34compliment the data to give us that quick visual read that we want.
01:38Let's go back to the worksheet called PivotChart and show how when we're
01:42creating a Pivot Table we might want to create a Pivot Chart as well.
01:47INSERT tab, we do see the choice Pivot Table off to the left but off to the
01:52right in the Charts group we see PivotChart, click it.
01:57And we're on our way to be creating a Pivot Chart.
01:59Now, although we don't see the term Pivot Table at the top, we will be creating
02:04a Pivot Table as well.
02:06Suppose we want both of these on this worksheet.
02:09Choose where you want the Pivot Chart to be placed;
02:12Existing Worksheet, Location, how about J1?
02:16That's the upper left hand corner, click OK and we're about to see a Pivot Chart.
02:23These screens tend to be a bit busy so let's scroll rightward, and chart fields,
02:29let's say, we want to see Salesperson, down the left hand side.
02:33Product, now I'm dragging this into and area called Legend.
02:36This is analogous to column and let's say, we're tabulating;
02:40this time maybe Total Cost, drag that to the VALUES area and we got a Pivot
02:45Table as well as a Pivot Chart.
02:48As you would expect changes to the Pivot Table immediately occur within the
02:53Pivot Chart as well.
02:54If the Pivot Chart is selected, the terms we see here as I pointed out earlier
02:58are bit different but the concept is the same.
03:01If we click within the Pivot Table as I'm doing now, we see the term Columns and Rows.
03:07Again, we can change the order this way, Product, Salesperson, drag product into
03:12the row labels area maybe, drag Salesperson in the Columns.
03:15When we are looking at data like these two, particularly with the large, large
03:19numbers, one of their feature here that you want to have control over is when
03:22the numbers are looking like this, a bit difficult to read.
03:25First of all do we really need the decimals here?
03:28Perhaps not, Right-Click anyone of these, chose Number Format and from there
03:33choose an option that doesn't show decimals and yet does show commas as a
03:38thousands separator.
03:39And so that cleans up the list a bit, and now we've got our Pivot Chart and
03:44Pivot Table together.
03:45Remember, they're always in sync.
03:46You can create a Pivot Chart instantly by simply clicking in a Pivot Table
03:51and pressing Alt+F1 or you can create a Pivot Chart and Pivot Table together
03:57from your source data.
Collapse this transcript
14. Data Analysis Tools
Using Goal Seek
00:00Excel has a number of analytical tools and they fall under the heading What-If Analysis.
00:05You'll see these on the Data tab in the ribbon.
00:08One of them is GoalSeek.
00:10And the description we see on the screen doesn't really do it justice.
00:13Find the right input for the value you want.
00:16In this worksheet called GoalSeek, there's a function in cell M5.
00:21You may have seen it; it's called PMT.
00:24What we're trying to do in this particular cell is calculate the monthly payment
00:29for a loan of $24,000 based on a 60 month term.
00:34Interest rate is 3.5%.
00:36The answer that we get here is 437.
00:40So, if you borrow $24,000, pay it off over five years at 3.5% interest then,
00:46monthly payment is $437.
00:47Imagine a situation where you want a different answer.
00:51Maybe it's based on a real life wish that you want this to be lower or maybe
00:56you're saying, I know I was planning all along on spending 500 month, let's just
00:59make this answer to be 500 or 400 as the case may be.
01:03GoalSeek feature in a certain sense let's us work backwards.
01:07It doesn't use sophisticated math, it uses brute force.
01:11We're going to say, we want this to be a different answer.
01:14Click this cell on the Data tab, choose What-If Analysis, choose GoalSeek.
01:20Here's the Goal Seek dialogue box.
01:23We want to set this cell M5 to be the value 500.
01:28By changing which cell, Goal Seek only allows us to change one cell.
01:32The function in cell M5 is based on data from M2, M3 and M4.
01:38We can only change one of these.
01:40Suppose it's the principal at cell M4.
01:42If we're going to be spending 500 a month, we will be able to borrow more but how much?
01:49Click OK, and we see that amount 27,485.
01:53If we click OK, we keep the result.
01:56If we click Cancel we return to the original values.
02:00You might want to try this feature changing just the principal as I did or
02:03possibly change in the rate.
02:05You might not have control over that.
02:07If the borrowing institution allows you to change the term but keep the same
02:11amount, you might want to cancel, try this again, What-If Analysis, GoalSeek.
02:17This time let's set the cell to be equal to the value 500, based on the term changing.
02:26Click OK.
02:28So, we could pay $500 instead of 437 and then pay off our loan in 52
02:34months instead of 60.
02:36So, there are certainly different ways to use this.
02:38Let's take another case, scrolling down in the same worksheet.
02:41We're taking a course somewhere and here are the scores we've got on various tests.
02:46At the bottom here, in cell M14 is a formula that's averaging the cells, and
02:51recognize that it's averaging the empty cell as well;
02:54and the way this function works, if you work with it, you know that Excel adds
02:58up the data that it sees but it divides by the number of cells that have data.
03:03So currently it's adding up the numbers and dividing by 6, but as soon as we
03:07put a number in this cell M13, the average will add up those numbers and divide by 7.
03:14So we want this average to be 90, so it can get an A. We'll go to What-If
03:19Analysis, GoalSeek, set this cell M14 to be equal to 90 by changing which cell,
03:26the cell that's currently empty, M13.
03:30Click OK, and oddly enough it seems to take a while to get there.
03:34And finally when it does get there we get our answer and it's not too
03:38satisfactory, we got to get 102, well we can't do that.
03:40So, let's cancel this.
03:42Maybe if we get 89.51 we'll get our A, so let's try this again.
03:46What-If Analysis, GoalSeek, set this cell M14 to be equal to 89.5, by changing
03:54which cell, this empty cell again M13, click OK.
04:00So, if we ace this final test and get a 99, looks like we got to get that then
04:04we'll get our 89.5 average.
04:06Maybe we'll get the A after all.
04:08Now, let's take more business like situation here.
04:10Column H has a bunch of salaries, over 700 of them.
04:13New salaries that have been calculated based on the old salary and a
04:17percent increase of 2.7%.
04:20So, every one of these salary calculations is based at least partially on
04:24this 2.7% in cell J2.
04:27A total in J1 of all those entries in column H is 38,889,000.
04:33Let's imagine you are the chief financial officer of this organization and
04:38you say, well, in our prior planning we were planning on 39 million
04:42expenditure on salaries.
04:44Let's make this be 39 million.
04:46In other words, let's recalculate all 700 or so of these formulas so that our
04:51total is now 39 million.
04:53So when you use GoalSeek here, What-If Analysis, GoalSeek, and we want that
04:59cell J1 to be equal to 39 million 39,000,000 you don't to put in the comas but you can.
05:09By changing which cell, the cell that's got the percent in it.
05:13Now you saw how long it took with our example of those test scores, how long
05:17is this going to take?
05:18Click OK, it's done.
05:19There it is, if we want to keep it we'll click OK.
05:23Looks like 3% is what we need here.
05:25Now, when you use GoalSeek, don't assume these answers are exactly what you see.
05:30If I click the cell, this is the one that change from 2.7%, I click this cell,
05:35look in the formula bar.
05:36It's really 2.99175 et cetera;
05:38it's a big long number up there.
05:40Now, someone has to make an exacted decision and decide what to do, so you
05:44might just Double-Click and change that to 2. 99 and it's probably going to be close enough.
05:49There we go, but as I press Enter our total will change.
05:53It'll be a bit lower, not a whole lot lower.
05:55So, you can see how this feature works.
05:57It's ideal for working backwards so to speak.
06:00We want a different answer for our formula and we can do this by using GoalSeek
06:04to change one of the cells, that's a component of that formula.
Collapse this transcript
Using Solver
00:00If you'd like to get a different answer for a formula or a function in Excel,
00:04and you would like to be able to control the variation of a number of other
00:08cells that control that formula, you want to be considering the feature called, Solver.
00:12We're looking at the Solver worksheet.
00:15This feature is actually an extension of or an optimization of the
00:19GoalSeek capability.
00:21We want a different answer here.
00:22We want this to be 265,000 in cell E14.
00:26The formulas in this worksheet and they're in columns C and D as well as E
00:32essentially build off of what's happening in column B. To activate "Solver", you
00:37need to first make sure that this feature is added in to your Excel capability.
00:42If you go to the Data Tab, if your version of Excel has already added this
00:47feature in, you'll see the word Solver in the Analysis group, just to the right
00:52of the Outline group.
00:53If you're not seeing this group or not seeing Solver, you'll need to take
00:57the following step.
00:58It only takes a few seconds and you need only to do it once.
01:02Go to the File tab in the ribbon, choose Options and in the list of choices here
01:08in the Excel Options dialog box, down the left-hand side, choose Add-Ins.
01:13And then in the list of Add-Ins choose Solver Add-in and then, at the bottom of
01:19the screen here, Manage Excel Add-ins, click Go.
01:24And here we see a list of Add-ins, Solver on my screen is already checked since
01:28I already have it installed.
01:29In your case, if it's not there, you will want to check the box for Solver and then click OK.
01:35And within a few seconds you will have activated the Add-in.
01:39And then on the Data Tab you will see Solver.
01:42The pop-up description says, What-if analysis tool that find the optimal value
01:47of a target cell by changing values in cells used to calculate the target cell.
01:52So lets imagine that this cell E14 is one that we want to change.
01:57We want a different answer.
01:58Now it's a formula that simply is subtracting two other cells, but those cells
02:03are getting their data from a lot of other cells.
02:05And ultimately, the cells that trigger big reactions in this particular
02:10worksheet are the once we see in column B.
02:13So unlike GoalSeek which does allow us to get a different answer, based on one
02:17other cell changing, Solver allows us to come up with a different answer based
02:22on multiple cells changing.
02:24Let's go to the feature called, Solver on the Data Tab in the Analysis group.
02:29Here's the Solver dialog box.
02:31Set Objective, we want to change the cell E14, Click or type, E14, set our
02:39objective to the Value of 265000.
02:46By changing which cells, now we could change the Sales entry for January, the
02:50Shipping entry, the Goods, the Freight, the Miscellaneous, maybe all of them.
02:54Lets just change a few of them.
02:56I'm dragging across cells B5 and B6, and also I'm going to select B10.
03:03Now we want to allow these cells to change.
03:06But we do want to be realistic about it.
03:09So, let's choose Add;
03:11this means Add constraints.
03:13The first constrain is that we want this cell B5, lets click on it, to be less
03:20than or equal to a certain amount.
03:22So let's imagine that we want to allow that January sales number to grow
03:27somewhat but not too far. How about 139000?
03:31Now that might not be enough, we don't know that yet.
03:33Let's add another constraint.
03:35Let's allow our income from shipping, that's in B6 to grow a bit but certainly
03:40no more than 28,000.
03:44Let's add another constraint.
03:46And again, being somewhat optimistic, this time let's focus on Goods, the
03:50cost of goods in B10.
03:52This time we want to allow that value to drop, but not too much but we want to
03:58reverse the arrow here to say that that must be greater than or equal to 75,000.
04:05That's all the constraints we want, we'll Click OK.
04:08Here we see the three constraints listed, two of those can grow but within a
04:13certain limits, one constraint but within a certain limit.
04:16We want this cell E14 to be equal to 265000 lets Click Solve and we get a pop-up
04:24box, Solver found a solution.
04:26There certainly will be times where the message will say, Solver did not find the solution.
04:31And sometimes you'll see a number in the appropriate cell that's very close.
04:35The example here, we've got a total, and we've got a new number for Sales, it's
04:40137,687 a new number for Shipping and a new number for Cost of Goods.
04:46And we've got our total here
04:48So we've got a couple of options, we could restore the original values;
04:52we could keep these and Return to Solver Parameters Dialog.
04:56If you're working with this and you decide to go back to original values, if
05:01you do want to experiment, you might want to make a copy of this worksheet before going here.
05:06But if you're fairly confident about what this feature can do or you've been
05:09told that it's a good one, you might just want to Click OK, possibly keeping the results here.
05:14What I'm going to do for the moment is Restore the original values and return to
05:19Solver Parameters Dialogue box by Clicking OK.
05:22So our numbers are back to what they were.
05:25What I didn't point out earlier and something you might want to look into, and
05:28this may involve some knowledge about Solver that I'm not familiar with.
05:32This is a very sophisticated feature and we didn't talk about the Solving Method.
05:38You might not be familiar with the terms GRG Nonlinear, Simplex LP.
05:44Each of these has a description here and possibly as you'd make these choices,
05:49you might also want to explore Options.
05:52And there are different choices here, different choices for Nonlinear, different
05:56choices for Evolutionary, Mutation Rate, Population Size, Random Seed.
06:02And so, familiarity with those terms will help you make different kinds of
06:06decisions about how to make this feature work for you.
06:09And if you want more advice I'm simply going to close this here, it should have
06:13to go to the site www.solver.com.
06:16You'll get more information on this.
06:17This is a classic Excel Add-in.
06:19it's been in Excel for any number of years, but this website gives you a lot of
06:24detail on how to make this work most efficiently.
06:26I think you can see from the small example.
06:28This is a sophisticated tool that allows us to do a considerable amount
06:32of financial analysis.
Collapse this transcript
Using Scenario Manager
00:00In this worksheet called, Scenario, we're looking at a 2014 Budget Projection.
00:05As I scroll to the right, we had monthly totals, quarterly totals, and a grand
00:08total in column R. And scrolling left toward and then downward, we see the
00:13items being tracked here.
00:14Sources of Revenue, Cost of Goods, our Expenses, and at the bottom in row 35 and Net Profit.
00:21And the lower right-hand corner cell R35, the Gross Profit for the entire
00:2612-month period projected.
00:28That same number is reflected in the upper left-hand corner, as I press
00:31Ctrl+Home at 450,000.
00:34We also see it here.
00:35A brief look at the formulas here, the February formulas for the entries we see
00:39here are based on the January entries with a 1% change.
00:44March at 1% change on February.
00:47Second quarter, our numbers are based on 3% changes.
00:50Ultimately, we might have a percent change in every cell here, but all the
00:54entries for example in the May column involve using the April numbers on a 3% change.
01:00April is based on March;
01:02March on February and so on.
01:04Let's imagine that we might want to show these numbers with different results.
01:08And one option surely can be and relatively straightforward, we can make
01:12multiple copies of this sheet.
01:14A simple Ctrl+Drag, we could create a new sheet that's identical and then
01:17change the numbers.
01:19But it might be easier to work with if we had a quick, easy method of showing
01:24different scenarios within the same worksheet.
01:28So let's imagine that this is our first look at the numbers and we want to hold
01:32on to this, this 450,000 number.
01:35But we're also thinking of showing different scenarios with lower sales or
01:40higher sales, maybe both or maybe a combination of what happens if we have a
01:45higher cost of goods, lower cost of goods.
01:48So we might have five or six different scenarios in mind.
01:51Let's create a couple.
01:52But let's first begin by storing or holding on to this scenario.
01:57And the feature that we're about to use is on the DATA tab, What-if
02:00Analysis, Scenario Manager.
02:04There are No Scenarios defined.
02:05Now let's add a Scenario and let's just call this normal or typical or Normal is good enough.
02:13And we really don't want to change any cells here right now.
02:16But let's say looking ahead to our other scenarios, we might be changing cell B5
02:22and also cell B10, put a comma we're going to change those two cells.
02:27And just those two although we certainly could change more, in fact we can
02:31change up to 31 different cells. Let's Click OK.
02:35Now, right now we wanted to keep these settings 137,000;
02:3876,000 for the two cells in question.
02:41We'll simply Click OK, simply to define the so called, Normal Scenario.
02:47Now, let's add a new scenario, and we'll call this one LowSales, or maybe
02:52LowSales-HighCost of Goods.
02:56Type it anyway you want.
03:00Changing cells, let's keep the same ones we had before although we didn't change
03:04them before, now we will, Click OK.
03:06So the LowSales-HighCost of Goods model is going to project not 137,000 as our
03:13Sales, but let's say 130,000.
03:14And let's say our Cost of Goods have gone up to 80,000 under this scenario,
03:20probably the worst of all scenarios, these two numbers.
03:23We Click OK and we've just defined this.
03:26Now we're not seeing it yet, and we still see the 450,000 total, so let's
03:31show this scenario.
03:33Show and there it is 308,000.
03:37We can show the Normal again, if we wish go back here;
03:40show that as we can bounce back and forth.
03:42There are other ways to do this too.
03:44Let's add a third scenario.
03:46This is going to go on the opposite direction, and we'll call this
03:48HighSales-LowCostofGoods.
03:56Perhaps the best of all possible worlds, Click OK.
04:00And this time, instead of 137,000, earlier we had 130,000 for the other direction;
04:05let's go up to 145,000.
04:08And for the cost of goods, let them drop to 70,000. Click OK;
04:14we've just defined this scenario.
04:16Do you want to view it, of course, Click Show and there it is.
04:20Under this scenario we'll make $646,000.
04:24Now, we can always get to these scenarios, remember they are all on the same
04:28sheet, simply by going to the DATA tab and choosing What-if Analysis, go to
04:32Scenario Manager and pick the one we want to see and then Show it.
04:37But at any given time it could get a little slow, and what if we've got five or six of these?
04:43Having to keep this dialog box open or getting to it.
04:45There might be a better way to do this. Oh, there is.
04:48If you Right-Click anywhere within the Quick Access Toolbar, typically this is
04:53located above the ribbon although it could be below, Right-Click anywhere there
04:57and go to Customize Quick Access Toolbar.
05:01And in the list here, you might see popular commands.
05:04Scrolling up and down, you don't see Scenario but there are other choices here.
05:08We also see commands not in the ribbon, of course they're alphabetized.
05:12And in this list here, you might see Scenario.
05:15There it is right there, Click this.
05:17Because it has an arrow to the right that implies it's going to have a
05:21drop-arrow and it will.
05:22Then add this to the Quick Access Toolbar and then Click OK.
05:27So now without activating that command that we just saw, anytime we're on this
05:32worksheet, we've got this button here, we can Click the drop arrow.
05:35Let's view the HighSales-LowCostofGoods Scenario, there it is.
05:39Or at a different time, perhaps during a presentation, let's view the so called,
05:43Normal or Starting Point Scenario, there it is.
05:45Or of course the other one is there too.
05:48And in some situations maybe we'll have five or ten a few more even.
05:52So this capability allows us to essentially store different scenarios within
05:57the same worksheet.
05:59So we don't need multiple worksheets here.
06:01And so in the example as we've just seen here, we've created three different
06:04scenarios easily accessible by a way of that button, or by a way of the
06:09command on the DATA tab.
Collapse this transcript
Using Data Tables
00:00In this worksheet called DataTable row 3 contains different interest amounts and
00:06they're incremented by an eight of a percent.
00:08The formulas in all of these cells except for cell C3, and in column B we've got amounts.
00:13Maybe we're considering borrowing money, and these are incremented by 25,000.
00:18And what we'd like to create here is ultimately a grid containing the monthly
00:22payments with these different interest rates and amounts being borrowed.
00:27In cells B1 and B2, we have got 3% and 200,000.
00:31Let's put in a formula here in B3.
00:34We're going to be using the Data Table feature.
00:36It's found on the Data tab under What-if Analysis.
00:40Let's first set up a formula in cell B3.
00:43Using the function PMT, this allows us to calculate the monthly payment based on
00:49an interest rate, in this case 3%.
00:52We want to divide this by 12 since we're paying our interest monthly, the
00:58term here 360 months.
01:00We'll show you later how we might want to change that.
01:03We're setting up here what might be called a master formula, and we
01:07want to borrow 200,000.
01:09If we do press ENTER now, the amount that we see will be expressed negatively.
01:13So let's put a minus in front of the B2 here, so what we are about to see
01:18will be the monthly payment on a loan of 200,000 at 3% over 360 months and
01:26there is that amount.
01:27Now, think of this as a master formula.
01:29The Data Table feature is going to ask us what we need to use for a percent change.
01:36We will be referring to this 3% cell, but as we select these cells, Data Table
01:42is going to fill all these in rapidly.
01:45Data tab, What-If Analysis, Data Table.
01:48It asks us for a Row Input cell.
01:52Which row entries, meaning the percents here are we referring to?
01:56We refer to cell B1.
01:59The column input cell, that's cell B2, okay, and there's our list.
02:07Now, although we have a formula here, we really don't need these input cells
02:11anymore, they can be empty.
02:13We could just highlight these and press Delete.
02:15It's not going to change our results at all, we could get rid of the color if we
02:20wanted too, and as we look at the results we might say, well, what are these
02:24numbers going to be if it's 15-year loan?
02:26Let's put in the number 180 in cell A1, and as we put in the 180 and press
02:30Enter, we've got a new set of numbers.
02:32And so each of these cells here is reacting to the cells out of row 3 for the
02:38percent change, the cells out of the column B for the amount being borrowed.
02:43And so, we can change these results rapidly.
02:46And furthermore, since we earlier had set up some formulas here, now I did this
02:50ahead of time, and this isn't always a requirement, and isn't always a
02:53characteristic of a Data Table.
02:55But if we want to show these numbers starting at 2.5%, I'm
03:00going to type in 2.5%.
03:01I've already got formulas in place there that take into account that we want
03:06each of these to be an eight of a percent higher.
03:08So now we range from 2.5% all the way up to 4%, and we could do the
03:13same thing down the left hand side, each of these cells has formulas.
03:16And again, this is not necessarily the characteristic of a Data Table.
03:20You might want to set this up yourself this way.
03:22So what we can also do here to make this look more interesting is select these
03:27cells, and then as we do the quick analysis in the lower right hand corner
03:32invites us to make some changes. Click it.
03:35How about Data Bars, how would they look here?
03:37Maybe not so good, how about Color Scales, well that could be interesting.
03:42How about Icon Sets?
03:43Maybe that could be interesting as well.
03:45It divides the data into thirds;
03:47we may or may not want to use that.
03:49If we do make this choice, we will have to make the columns wider, we could do that.
03:53So I'm able to decide on Color Scale.
03:55And if you are familiar with Conditional Formatting you might want to jump over
03:58to the HOME tab and then go to Conditional Formatting, and get a preview as to
04:03how other Color Scale options might appear.
04:06Maybe we'll choose this one.
04:08But even though we could have done this with formulas and in a different way,
04:12the Data Table concept here facilitates the idea that we created a Data Table.
04:18We can make changes to row 3 here to change the percents, or the column B
04:22entries to change the amount, or go back to cell A1, maybe change that to 360
04:26that way it was earlier.
04:27I've got flexibility here by way of Data Table, found on the Data tab, in the
04:33What-If Analysis group, Data Table.
Collapse this transcript
15. Introduction to Macros
Definition and examples
00:00When you find yourself repeating certain command sequences in Excel, sometimes
00:05the thought is, here I go again, same thing all over.
00:07Do I have to go through those same six steps, those same eight steps?
00:11Ultimately the answer is no.
00:13There is a feature in Excel called a Macro.
00:16A Macro is simply the ability to take a single step that encompasses many, many steps.
00:22Let's start with just a small idea.
00:24You're the manager of an HR group, and what you do occasionally is you review
00:28this data like what we're seeing here.
00:30And when you flag a cell because you think it's incorrect or needs adjustment,
00:34what you do, and admittedly this might be overkill.
00:38You go to the Home tab;
00:39you provide a color background, let's say yellow here.
00:42You might make the font red;
00:44make it bold and going overboard a bit, maybe even going into Borders, Thick Box Border.
00:50It's just to illustrate the idea that we've taken four or five actions here
00:54and we like that look.
00:55And we like to use it elsewhere too.
00:57Now if it's nearby, we could copy the format, that might not take too long, but
01:02we might be a few hundred rows away at one time or another.
01:05Wouldn't it be great if we could simply hit a keystroke shortcut, or how about a
01:09button up in the Quick Access toolbar at the top of the screen that would
01:12achieve that same objective.
01:14Well, we could create what's called a Macro to achieve that effect.
01:19Let's take some other just small examples at least at first.
01:22When someone leaves this organization, what you usually do is not delete the
01:26record, because you want to hold onto it for while but maybe you do like to
01:30indicate that someone has left simply by applying strikethrough.
01:33And you can get to strikethrough a number of ways, but invariably what it means
01:36is after selecting the data, you can go to the Font tab and click the dialog box
01:40launcher, or you might press Ctrl+1.
01:43In either case, you'll end at Format Cells, probably on the Font tab and there's
01:48a choice called Strikethrough, you click OK, there it is.
01:53Now a bit later, you might discover there's actually keystroke shortcut
01:57for that, its Ctrl+5.
01:58Now we don't call that a Macro, but in a certain sense it is.
02:03It's a single action.
02:04And in this case, it applies strikethrough or removes it.
02:08In a certain sense we can also make the case for saying that nearly every button
02:13in the ribbon menu system is like a little macro.
02:16If you didn't know how to make a cell bold, you might have to go, by way of the
02:21dialog box launcher or by Right-Clicking on the cell possibly.
02:24Going to Format Cells, Font tab if it's not already selected and there's Bold.
02:30Probably almost nobody does this, most people learn on day one of Excel,
02:34there's a button up there, B, that too is like a macro, we just don't call those
02:39macros but they represent the concept of a single action that the takes the
02:45place of many actions.
02:46And let's think a little bit larger here, what if this list of some 700 rows or
02:51so is within a dynamic organization and there's a lot of growth here, a lot of
02:55change, people come and go.
02:56What if it's up to you, two or three times a week to provide updated lists for
03:01a number of people?
03:02And one of the things you might do is sort this by department and then,
03:06print three copies.
03:08And then maybe you sort it by employee name and print a few more copies.
03:12And another thing you do in that same sequence is apply a filter to show
03:17only the hourly people, and you print that list and send it off to the interested people.
03:21And you might imagine a few other sequences like that.
03:25Maybe sorted in different way and printed, or maybe you apply subtotals and
03:30collapse that list and copy it and paste it;
03:33and you can imagine any number of different things that you might be doing
03:36with a list like this.
03:37Now you probably didn't really time how long that would have taken, but maybe it
03:41takes you ten or twelve minutes and you do that two or three times a week.
03:45If you remember the steps or if you've written them down, if it's pretty clear
03:49to you what those steps are, you could then activate or turn on what's called a macro recorder.
03:54And in the process go through all the steps that you've gone through manually.
03:58And thereafter, since the macro will be saved, you can simply start the process
04:03by clicking a keystroke shortcut and maybe that ten or 15-minute process takes a half a minute.
04:09Printing might take a little bit of time but otherwise it's extremely fast.
04:14And the more you know about the macro concept, the more you're tuned into the
04:17idea that automating certain aspects of repetitious work is going to be helpful to you.
04:24Here's another example.
04:25There's a PricingSheet in this workbook.
04:27It would be handy if we knew where the formulas are, and there are couple
04:31shortcuts for that already.
04:33If you click on a single cell anywhere in this worksheet, on the Home tab you
04:38could go to the Find & Select button on the right and choose Formulas, and all
04:43the formula cells are highlighted.
04:45Now if you always want to apply color when you do that will involve a few more
04:50steps, maybe you'll click this drop-arrow here and you got a particular color
04:54you like use there, fine.
04:55That's only a few steps, but that too could be automated.
04:58Imagine in any worksheet at any time if you said, I'd like to know which
05:03cells have formulas.
05:04Hit a keystroke shortcut and suddenly we'd see these cells highlighted.
05:08Now admittedly, the steps here aren't that many and you got to go to the Home
05:12tab, you got to go to Find & Select, you've got to select Formulas, and then you
05:16got click here and so on.
05:18We're not really counting the steps, but it's interesting how we do find even
05:22four and five step sequences sometimes just a little annoying.
05:25A keystroke shortcut would be great here.
05:27A companion to this would take substantially longer.
05:30Suppose you say, I'd like to highlight just the cells that have pure numbers,
05:34not the ones with formulas, but the one with numbers.
05:37Process here as you might guess starts in that same location, Find & Select and
05:43then, this time Go To Special, not quite so obvious.
05:48And here, we can choose Constants, but then we would want to uncheck the box for
05:53Text, Logical, Errors, and click OK.
05:58And here too, maybe apply a different color.
06:00Now, in no way am I saying this is a shortcut that everybody needs.
06:04In other words you have to identify what repetitious actions that you use
06:09frequently are the ones that you found annoying or the ones that you'd
06:12really like to speed up.
06:13I think for some people, these would be really helpful.
06:16If you're a worksheet troubleshooting kind of person, if you find yourself often
06:20doing that sort of thing, these steps here if turned into macros could really
06:24save you a lot of time.
06:25So the idea of a macro will vary widely depending upon whose thinking about what
06:31those shortcuts are, what potential shortcuts are really needed.
06:34There's so many different ways to use Excel, but the idea of setting up a
06:38process to record our actions, so that we can then get to them quickly in the
06:42future is called a macro and it's an incredibly powerful tool for Excel users.
Collapse this transcript
Creating a simple macro
00:00After you have identified a certain sequence of actions that you would like
00:03to automate in the form of a Macro, it's time to learn how to actually record a Macro.
00:09The process has begun already because you've either written down or you know
00:13those steps you want to take.
00:15For example, we've decided that it's really handy to be able to click on a cell
00:19here and when it's questionable, we want to apply a special format.
00:23A format that might include using some of the features on the HOME tab like a
00:27background of yellow, a red font and a few other features as well, we don't want
00:32to go through those steps manually each time.
00:34So, the process of recording a macro also begins with this thought.
00:38Is the macro we are about to record, designed only for this workbook or might we
00:43want to use it elsewhere?
00:45Let's imagine for the moment that we're only going to use this macro in
00:48the current workbook.
00:50A bit later we might change our minds about that.
00:53It is something we need to think about though because certain macros could be
00:56used in any workbook.
00:59Let's start by going to the VIEW tab in the ribbon.
01:01The right most button, Macros has a drop arrow, let's click it, and we see the
01:07choice Record Macro.
01:10And here's a dialog box.
01:12We need to give our Macro a name.
01:14Ideally it should be a meaningful name, the name cannot begin with a number, it
01:19cannot contain spaces, some special characters work some don't.
01:23It's best to stay away from them.
01:25The naming of this macro ideally would be something like Apply Format or
01:29Highlight Cells, something like that.
01:31How about Highlight Cells, that's an easy one.
01:33Now I cannot put a space in but I can use either underscore or maybe I'll simply
01:38switch case, either way.
01:39So underscore is okay, that's fine, Highlight_Cells.
01:43We can give it a longer name if we wanted too.
01:46Macros often have keystroke shortcuts and that's a favorite way, particularly
01:51when you're just getting started with this feature.
01:53Long term, sometimes you say, well I've got so many macros, I forget which one is which.
01:58I don't remember the keystroke shortcut and so on.
02:00So at times you might grow weary of this concept.
02:03But what can we choose for a shortcut key?
02:06We have only 52 choices, any of the lowercase letters, any of the uppercase letters.
02:12Now if I think C here for cells sounds like a good idea maybe, but a lot of
02:17you now that Ctrl+C, one of the most widely used keystrokes of all in Excel is for Copy.
02:22If we use Ctrl+C for this Macro, we will no longer be able to use Ctrl+C for
02:27Copy, so that isn't a good choice.
02:29Do you use Ctrl+H, that means Replace, well you might, but if you don't, well
02:33you could possibly use that one.
02:35There might be a tendency here to use uppercase letters.
02:37And all I need to do is hold down the Shift key.
02:41So I'm about to use Ctrl+Shift+H. I'm holding down Shift key right now, pressing
02:46the letter H. The word Shift pops in automatically.
02:49Now earlier, I'd mentioned this idea of using the macro in this workbook only.
02:55If that's the choice we will click the arrow here and choose This Workbook.
02:59If you do want a Macro to be available for all workbooks at all times, you store
03:05it in a location called Personal Macro Workbook and we'll get to that in a bit.
03:10This time we're saying the macro we're writing, at least for awhile, it maybe
03:14always will be stored in this workbook.
03:17Now there's a description panel here and for small macros, typically we don't
03:22say anything, but longer macros, it's really helpful to provide a description.
03:27And you will find it useful yourself when you look a Macro that you wrote last
03:31year or a while ago, and certainly others if they happen to be using this macro
03:35will want to know what the Macro does.
03:37Sometimes the name doesn't do it enough justice.
03:40So you can certainly provide a description here.
03:42So in this case, the macro is short enough.
03:45The macro name itself does a pretty good job of describing it.
03:48We're about to click Okay, but before we do, let's talk about what is about to happen.
03:52When we click OK, we will be in a mode of recording a series of actions.
03:57And so the idea is we want to stay focused.
04:00We should know exactly, what it is we want to do, perhaps we've written down the steps.
04:04In a lower left corner of the screen, in the status bar, we see the word READY,
04:09but we're about to see something else there as we click OK.
04:12Now in the lower left corner, there's a little box next to the word READY.
04:16If we slide over it, the pop-up reads A macro is currently recording, click to stop recording.
04:22And we can certainly stop the process right there.
04:25We can also go back by way of the VIEW tab in the ribbon to the Macros arrow and
04:30choose Stop Recording up there as well, but we're in recording mode right now.
04:34So if I'm scrolling up and down here, that's going to be in the macro.
04:38It's practically meaningless, we won't see it, but the idea is we don't want to
04:42be taking actions here that will be in the macro.
04:45Behind-the-scenes, what we don't really need to get into is the fact that every
04:49action we take is actually translated into the programming language VBA,
04:54Visual Basic for Applications, and learning about that feature takes a good deal of
04:59time and requires a different course.
05:01In this course, all we need to focus on is the idea that when you turn on the
05:05macro recorder, the steps that you are recording can be used later instantly
05:10with a keystroke shortcut.
05:12And ultimately maybe even a new button in the Quick Access toolbar.
05:16So we're in this recording mode right now, let's apply those features that we
05:20want to have happen every time we use this macro in the future.
05:24So we go to the HOME tab and we've used this recently, so the yellow is still
05:28there, we want to use the fill color yellow, fine.
05:31We want to use red font, that's good;
05:33we want to make it bold, it's good and let's say we apply the Border feature as
05:38well here, the Thick Box Border.
05:40Remember we want that to happen every time we run this macro in the future.
05:45And those are all the steps that we need.
05:47The question might have entered your mind;
05:49will this work if we highlight multiple cells? Well, it will.
05:52You don't necessarily know that ahead of time, but it will, and we can use this
05:56on one cell or different cells even.
05:58So we've essentially recorded all there is to record, and we're done.
06:02So we can end this by either going to the box in the lower left corner, that's
06:06certainly straightforward.
06:08Less straightforward but just to show that it's there, VIEW tab, the arrow for
06:12Macros, Stop Recording either way.
06:16So we've recorded this.
06:18Let's go to a different location, let's try this Ctrl+Shift+H, it works.
06:23Can we try it on a few cells?
06:25Again, recognizing the reason we set this up is because we recognize that some
06:29of these cells need to be looked into.
06:31I think both of those are incorrect.
06:33Maybe Ctrl+Shift+H, looks like the feature works on multiple cells as well.
06:37So I've seen an example here of how recording a series of actions can easily be
06:44executed by pressing that keystroke shortcut.
06:47And you will hear the term Playback, Execute, Run;
06:51they all mean the same thing.
06:53The idea of making the macro, do what it needs to do with just a single action.
Collapse this transcript
Running a macro
00:00When you want to use a Macro, you will hear the term Playback the Macro, Execute
00:05it, Run it, Activate it.
00:07The whole idea is you've created a macro and you want to make it work;
00:11make it do what it's supposed to do.
00:13And when you're getting started with Macros, the preferred method tends to be a
00:16keystroke shortcut, but there are other ways as well.
00:19Let's create a new macro here and also consider the idea that sometimes the
00:24macro you want to create and then Run is stored in such a way that it will
00:28always be available regardless of which workbook is open.
00:32In this worksheet called PricingSheet, there are a lot of cells with formulas, a
00:36lot of cells with just pure numbers.
00:39And let's imagine that we want to highlight just the cells with numbers.
00:42So let's create a macro here, VIEW tab, drop-arrow or for Macros, choose Record Macro.
00:50And we're going to call it something along the lines of HighlightValueCells.
00:55Macro names cannot have spaces, this time it will just use upper and lower case value cells.
01:02Keystroke shortcut, V is the key letter perhaps, we're thinking of value, how
01:07about Ctrl+Shift, I'm holding down the Shift key as I type the letter V.
01:12If we want our macro to be available in any workbook, in other words if we
01:16create this macro and then close the current workbook, we still want to be
01:20able to use this macro.
01:22So we don't want to store it in this workbook.
01:24The other term that might surprise you, Personal Macro Workbook.
01:28If it were called Global Macro Workbook, perhaps it might be a little more
01:32pertinent in terms of what it means.
01:34If you store a macro in this location, it means that in the future, regardless
01:39of which workbook is open, you will be able to use Run, Activate, Execute,
01:44whatever the term you're using this particular macro.
01:48Personal Macro Workbook might not even exist right now.
01:51Ultimately simply by clicking OK and recording this macro, you are in effect
01:57creating this if you haven't already created it.
02:00And the name of that will be Personal.XLSB, its complete name of file extension.
02:06That's perhaps a little bit of trivia but at the same time;
02:09I want to emphasize the idea that the Personal Macro Workbook is a separate workbook.
02:14And once you create it and we can simply do as we're about to do it here by a
02:18recording a macro and placing it there, this workbook is always available in the
02:23future regardless of which file is open.
02:27It is stored on the current computer you're using.
02:30And so what happens sometimes is you will want to copy certain macros elsewhere,
02:34but we simply want to record this macro so that it's available to all workbooks.
02:39And all we want to do in this macro is to highlight the cells that have
02:43values, so we'll click OK.
02:46And the process begins for this command sequence;
02:49go to the HOME tab in the ribbon and the extreme right button, Find & Select.
02:54This is a feature that many people might use, not everybody, so we always want
02:58to be reminded that macros although we might think of them as being ideal for
03:02us, aren't necessarily for everybody.
03:04Go To Special, choose the Constants button and if we're only concerned with
03:09numbers here or values, let's uncheck the box for Text, and Logical, and Errors.
03:15And as we click OK, we see the cells that are highlighted.
03:20If we want to make sure that they stay highlighted by a way of a color, then
03:24we'll go to the HOME Tab, the Fill Color Font, the arrow to the right and choose
03:29the color that we think will work best in this particular example.
03:32And we like the light green, maybe a little bit lighter, something like that.
03:37Recognize now that all these cells are selected and they have color, a slight
03:42difference and is not critical.
03:43If I click in cell A1, it will no longer be highlighted, but the color will be there.
03:48So that's all we want our macro to do.
03:51Every time we execute this macro, we want to select all the cells that have
03:56numbers and apply a light green background, and then go to cell A1, although we
04:00could go to any cell.
04:02So we finished recording the macro.
04:04We can stop by pointing to the box just to the left to the word READY in the
04:09lower left corner of the screen in the status bar, Stop Recording.
04:13Let's try this in a different worksheet.
04:15We got the active cell anywhere here;
04:18we want to highlight those value cells and the keystroke shortcut I used,
04:23Ctrl+Shift+V. It works great.
04:25What happens if we start to record a few more macros and a few more and a few more?
04:30We probably run out of meaningful keystroke shortcuts, if the letters were
04:33that meaningful, but we might want to be able to get to our macros in a different way.
04:37So I'll also confront this idea.
04:39What if we didn't want the macro to run?
04:41We ran it by mistake, maybe I did that here.
04:44Can we undo a macro?
04:46No we can't.Now the Undo arrow might look active, and you might click the drop
04:50arrow here, and if you've just recorded the action here, you might say, oh, I'll just undo it.
04:55Well that takes us back to here.
04:58And we can't really undo what happened here.
05:01What we did here ultimately was just to apply color, so we certainly
05:04manually could do that.
05:06But the idea that you can't undo a macro is a critical thought.
05:09What if your macro deleted data?
05:12And I would strongly suggest that at least for a while, you don't write
05:15macros that delete data.
05:17You can't just casually say, well I'll come back and undo it.
05:20What you might need to do is close the file and not save it.
05:23What if you've done a lot of other good things in the meantime?
05:26Well you're going to loose all those too.
05:28So you want to be really careful with the idea that you can't undo what a macro does.
05:32In other words, you can't reverse the steps
05:34Now in this case, lets imagine that I don't want the color there, we'll just
05:38get rid of the color.
05:39So I'll highlight the cells and easily by way of the HOME tab, go to the Fill
05:44Color bucket, choose No Fill.
05:46Now after doing some other things and coming back here, now I do want to run my macro.
05:50The one that highlights the number cells, maybe I forgot the
05:54keystroke shortcuts.
05:55So what do we do, if we forget a keystroke shortcut?
05:58Go to the VIEW tab, choose the drop arrow for Macros, go to View Macros.
06:04I have only one macro here; there it is.
06:07I'll click it and we have the option to the right Run.
06:10It certainly isn't fast, but it's our fallback method.
06:14If it's one of those longer macros that manipulates a lot of data and takes two
06:18or three minutes, well we've saved a good deal of time, no question about it.
06:22Here's another thought.
06:23What if we want to change the keystroke shortcut?
06:25Once again go back to the same location on the VIEW tab click the drop arrow for
06:30Macros, View macros, here's the macro we're working with.
06:34We go to Options and change the keystroke shortcut.
06:37And this is also where we go, if we didn't initially have a keystroke shortcut,
06:43we can assign it now, or if we want to delete the keystroke shortcut.
06:47Maybe we want to create another macro that's going to use this shortcut key.
06:51And so we see, we can easily change the keystroke shortcut or add it or delete it.
06:56In this case, we don't want to do any of those things.
06:59For certain macros, perhaps like this one that we think we might want to use
07:03often, we can also get to this in a different way.
07:06We can add a button to the Quick Access toolbar.
07:09This is the set of buttons typically above the ribbon in the upper left-hand
07:13corner of your screen.
07:14It possibly is below the ribbon.
07:16No matter, where it is, if you Right-Click it, you can then choose Customize
07:21Quick Access Toolbar.
07:23And then in this dialog box called Excel Options, Choose commands from, click
07:29the drop arrow and choose Macros.
07:32Now you might or might not be seeing what I'm seeing here on the screen.
07:36Those are system type macros, but somewhere in here, you should see if you have
07:41created a macro, the name of the macro that you created.
07:44There's the one I just created, let's add this to the Quick Access Toolbar.
07:49Maybe you're a little picky and you say, I don't like that icon.
07:52Well, you can come down here and modify, you've got 181 choices and I don't
07:55think anyone of them suggest exactly what we're trying to do here but I'll
07:59just choose a green box. There we go, OK.
08:03And as I click OK, look in the upper left corner of the screen, we now have that icon.
08:08We might leave it here for a long, long time, maybe forever if we use this often.
08:13It's going to be there no matter which workbook is open, provided the next exit
08:17from Excel is a normal one, so it will be there all the time.
08:20And whether this workbook is open, it won't make any difference whatsoever.
08:24So we might go over to this worksheet right here and click this button, it
08:28highlights the cells that have numbers.
08:31It works easily and dates by the way are considered values, that's why
08:34they're highlighted here.
08:35Once again, can I undo?
08:37We'll not really to do.
08:38I can certainly remove the colors in other ways here;
08:41I can highlight all this data here, I'll go across here and get rid of
08:45the colors that way.
08:46It's like I also got rid of the colors up here, we won't worry about that.
08:50But again, it brings back the idea that you can't really undo what a macro has done.
08:55You can certainly take manual steps to undo the effect.
08:57Now there's another possibility here for running macros.
09:00Even though this macro that we just saw is ideally designed to work in this
09:04workbook, that workbook, there could be situations where you want a macro to run
09:09right here by way of a button.
09:11And so we could create a button and there are any number of different ways to do this.
09:15One way can be, we can go to the INSERT tab and go to the Shapes icon for
09:19example and I'll just pick one of these at random, how about a rounded rectangle
09:23and I'm just going to draw this on the screen here;
09:26and type in Highlight Number Cells.
09:28It doesn't have to match the wordings exactly of the macro, so Highlight Number Cells.
09:35And do all the formatting things that you might want to do with this.
09:38You can make it bold, bigger, all that sort of thing, not too critical there,
09:42but just to show we can do that too.
09:44But the key step next would be to Right-Click here and Assign Macro.
09:50So we're going to assign a macro to this button.
09:53For the moment we have only one, there it is right there. We'll click OK.
09:58Now we're still in edit mode, we might want to shrink this, do other things with it, whatever.
10:02As we click away from it, in the future, anytime we slide the mouse over it, we
10:07see the pointer finger.
10:08This will activate the macro and what's it going to do here?
10:11It highlights the value cells and makes them green.
10:15And so we see one more way to activate a macro.
10:18We can also do this with icons and pictures too;
10:21this is just a simple example with a shape.
10:23So the way we make a macro work, and again the terms Playback, Run, Execute are
10:28all used synonymously is simply to use a keystroke shortcut, probably the most
10:33common way when you're getting started.
10:34But ultimately by way of a button in the Quick Access Toolbar as we saw, and
10:39most recently by way of an icon or a shape on the worksheet.
Collapse this transcript
Conclusion
Next steps
00:00After viewing this course, you might be saying, what's up next?
00:03What else do I need to learn about Excel?
00:06If you go to lynda.com, you'll find many courses on this software.
00:12Not only setting up a database, cleaning up Excel data, working with charts;
00:16many of these courses although identified as Excel 2010 or Excel 2007, most of
00:21these features will work the same in Excel 2013.
00:25I hope this course had been beneficial to you.
00:27Thank you for watching.
Collapse this transcript


Suggested courses to watch next:

Managing and Analyzing Data in Excel (1h 32m)
Dennis Taylor

Word 2013 Essential Training (5h 9m)
David Rivers


Office 2013 New Features (2h 31m)
David Rivers


Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,069 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,025 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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

   
submit Lightbox submit clicked