Excel 2000 Advance Notes
Excel 2000 Advance Notes
Excel 2000 Advance Notes
Ltd
TABLE OF CONTENTS
Getting Started.................................................................................1 Starting Excel...............................................................................1 Understanding the Workbook Window..........................................1 Getting Around in Excel................................................................2 Managing Worksheets..................................................................2 Moving Around the Worksheet using Scroll Bars...........................4 Moving to a Specific Cell...............................................................4 Moving Around the Worksheet using Keyboard Shortcuts ............4 File Management in Excel..................................................................6 Creating, Saving and Opening Files..............................................6 Closing a Workbook.....................................................................8 Entering Text...............................................................................8 Entering Numbers........................................................................8 Entering Dates.............................................................................8 Automatically Entering a Series of Data........................................9 Editing a Cell..............................................................................11 Selection Techniques in Excel.....................................................12 Clearing Data in a Worksheet.....................................................13 Moving Data (Cut and Paste)......................................................14 Copying Data (Copy and Paste)..................................................15 Multiple Undo/Redo....................................................................15 Copying Data to Another Document............................................16 Moving Between Multiple Workbooks .........................................16 Inserting and Deleting Rows or Columns....................................16 Working with Formulas...................................................................18 Creating Basic Formulas in Excel................................................18 Using Worksheet Functions .......................................................20 Using the Paste Function Wizard................................................22 Copying Formulas.......................................................................23 Improving the Presentation of your Worksheets..............................24 Format Text...............................................................................24 Format Painter...........................................................................25 Formatting Numbers..................................................................26 Formatting Dates.......................................................................27 Drawing Borders Around Cells ...................................................27 Filling Cells with Colour..............................................................28 Changing the Width of Columns.................................................29 Changing the Row Height...........................................................31 Sorting............................................................................................33 Sort Using the Data Menu..........................................................33 Filtering Information.......................................................................34 AutoFilter...................................................................................34 Custom AutoFilter.......................................................................34 Using Filtered Data.....................................................................35
http://www.sutracomputers.com
Table of Contents
Page i
Removing Filters........................................................................35 Advance Filters...........................................................................35 Pivot Tables....................................................................................37 Pivot Table Jargon......................................................................37 What Makes A Data List Suitable For Pivot Table Analysis?.........37 Creating a Pivot Table................................................................37 Recalculate Pivot Table...............................................................40 Creating PivotChart Reports.......................................................40 Creating Charts using the Chart Wizard...........................................43 Chart Elements..........................................................................45 Moving and Resizing a Chart......................................................46 Editing Chart Options.................................................................46 Formatting and Editing Charts.........................................................47 The Chart Toolbar......................................................................47 Changing the Font of all Text in the Chart..................................48 Formatting Elements of a Chart..................................................48 Coloured Fill Effects....................................................................49 Creating Pictographs..................................................................50 The Different Types of Charts.........................................................51 Changing the Chart Type...........................................................51 Choosing an Appropriate Chart Type..........................................51 Area Chart.................................................................................51 Line Chart..................................................................................51 Bar Chart...................................................................................51 Column Chart.............................................................................52 Pie Chart....................................................................................52 Doughnut...................................................................................52 Manipulating Chart Data..................................................................53 Understanding the links between the Chart and Data.................53 Adding New Data.......................................................................53 Printing...........................................................................................54 Printing the Chart Alone.............................................................54 Printing the Chart and Data........................................................54 Page Break Preview....................................................................54 Changing the Page Setup...........................................................54 Printing Worksheets...................................................................57 Print a Range of Cells.................................................................57 Freezing a Title Area..................................................................57 Comments................................................................................58 Worksheet Functions IRR............................................................................................59 NPV...........................................................................................59 FV..............................................................................................60 VLOOKUP...................................................................................61 Goal Seek...................................................................................62 Scenario.....................................................................................62 Set up a shared workbook..........................................................63 Creating Macros.........................................................................64
http://www.sutracomputers.com
Table of Contents
Page ii
Record a macro..........................................................................64 Run a macro .............................................................................65 Edit a macro...............................................................................65 Macro Example : - .....................................................................66 lets edit the macro Gridshow.....................................................67 Run a macro from a toolbar button............................................68
http://www.sutracomputers.com
Table of Contents
Page iii
Getting Started
Excel is a powerful electronic data organiser and calculator that makes day to day business tasks easier to manage. It looks like a grid divided into cells and each cell has its own unique reference. Data is entered into these cells and can then be used to create charts, databases and perform calculations.
Starting Excel
Point and click on the Sta rt button, move your mouse pointer up the menu to Progra ms and across to sel ect Microsof t Excel
Menu bar Standard toolbar Formatting toolbar Name Box Active Cell Columns Cells Formula bar
Rows
Drawing toolbar
Sheet Names
Scroll bars
http://www.sutracomputers.com
Page 1
A worksheet is made up of the following: Rows: Along the left hand side of the worksheet running down from 1 to 65536 Columns: Along the top of the worksheet running from A to IV. A total of 256 columns Cells: The worksheet is made up of cells. You can enter values (numeric, date, etc.), text, graphic objects, formulas or links to data stored in other locations
Active Cell Refe re n ce The active cell reference appears in the Name Box and refers to the cell by the column letter and the row number, e.g. A1 or B6. The column and row headings appear in 3D.
Managing Worksheets
Navigati n g Work sh ee t s in your Work book
Move to first sheet Move to last sheet
At the bottom of the window, there are sheet tabs for the worksheets that make up the workbook. There are sheet navigation buttons located here. The white sheet tab indicates the active worksheet. Click on a sheet tab to select that sheet Use the sheet tab navig atio n buttons to move between the sheets in a workbook. The middle two buttons move one sheet left and right. The outer two buttons move to the first sheet and the last sheet Click on the sheet tab to select and display that worksheet
http://www.sutracomputers.com
Page 2
Delet in g a Work s he et Click on the sheet tab to select the sheet you want to delete Click on the Edit menu and select Del ete Sheet or Click on the sheet tab with the right mouse button Select Del ete Click on OK to confirm deletion
Rena mi n g a Work sh ee t Double click on the sheet tab you want to rename Type in the new name and press Enter
Moving a Work sh ee t Click on the sheet tab you want to move Click on the Edit menu and select Move or Copy Sheet Click on the new location for the selected worksheet in the Move or Copy dialog box that opens, and press OK
NOTE: You can also point on the sheet tab that you wish to move and drag it to its new location Copyi ng a Work sh ee t Click on the sheet tab you want to copy Click on the Edit menu and select Move or Copy Sheet Click on the new location for the copied worksheet in the Move or Copy dialog box that opens Tick in the checkbox Create a copy , and then press OK
NOTE: You can also point on the sheet tab you wish to copy, hold down the Ctrl key and drag it to its new location. A copy of the sheet will be made Ins er t i n g a New Work sh ee t Click on the Ins er t menu and select Work s he et
http://www.sutracomputers.com
Page 3
A new worksheet will be inserted immediately before the selected worksheet, and will take the next free number, e.g. Sheet4
Click to scroll up
Click to Point and click on scrol l bar arrows pointing scrollandadown in up up screen the scroll bar Drag scroll box up or down
Scree n by Scree n Point and click in the shaded area in the scroll bar, above or below the scroll box
Click to scroll down a screen
Drag the scrol l box in the scroll bar up or to scroll down down Click
If you cannot see the target cell in the window, then click on the Edit menu and select Go To Type in the target cel l refer e nc e and press OK
Tak es you to Cell A1 End of current data block Beginning of row End of row Beginning of column block End of column block Up one screen
Page 4
Page Down
http://www.sutracomputers.com
Page 5
Savi ng a New Work book A new workbook will have Microsoft Excel - Book1 on the title bar Click on the Fil e menu and select Save As Use the Pl aces Bar to quickly navigate to the location where you would like to store your Workbook. The preferred area is My Docu me n t s . You can navigate to another area on your computer using the Save In list box. Type a significant name for your file in the Fil e name box and press Save Select the Drive and Folder
Places Bar
File Name
http://www.sutracomputers.com
Page 6
Open i ng an Exist i ng Work book Click on the Fil e menu and choose Open Use the Pl aces Bar to quickly navigate to the location where Workbook is stored. You can navigate to another area on your computer using the Look In list box. When you find the desired Workbook in the Open dialog box, click on it to select it and then Press Open
Note: You can have multiple Workbooks open at one time, but you will only see one Microsoft Excel button on your Taskbar. Save an Existi n g Work book A workbook that has already been saved will have its filename on the title bar. Click on the Fil e menu and choose Save
The previous version of the Workbook will be replaced with the version that you are working on now. Save a Copy of an existi n g Work book Save an existing workbook with a new name to make a copy of it. Choose Save As from the Fil e menu Type a new name in the Fil e Name box Click on the Save button
http://www.sutracomputers.com
Page 7
Closing a Workbook
Click on the Fil e menu and select Close . Note: If you have multiple Workbooks open, this will only close the active one. Entering and Editing Data There are three different ways to enter data of any type into a worksheet. The difference is where the active cell is after the data has been entered. Click on the Enter button (green tick) on the formula bar. The active cell remains in the same place Press Enter on your keyboard. The active cell moves down the row one cell. Press TAB on your keyboard. The active cell moves right one column.
Entering Text
Click in the cell and type the text Enter the data using one of the methods as above
Entering Numbers
Click in the cell and type the numbers Enter the data using one of the methods as above Do not enter cur re n cy symbol s (Rs.,) or comma s when entering numbers. Excel will automatically do this for you. (Refer to the section, Formatting Numbers later in this manual). Do not enter spaces between numbers Use a ful l stop (.) for a decimal point
Entering Dates
If you wish Excel to recognise a date, it needs to be entered in a particular way: With a sl ash or dash (but not full stops) separating the day, month, year, e.g. 14/7/01 or 14-7-01. You can use four-digit date format, e.g. 2001 instead of 01 Excel assumes you mean the cur re n t year when it is not specified. Click into the cell and look at the date on the formula bar to check
http://www.sutracomputers.com
Page 8
Type the first entry, but do not press Enter Point to the fil l handl e at the bottom right of the active cell. Your mouse should turn into a thin black cross +
http://www.sutracomputers.com
Page 9
Fill Handle
Drag the fill handle up, down, left or right across the cells that you want to automatically fill
Creat i ng a Seri es of Numbe r s Type at least the fir st two entr ie s for the series, (more if mathematically required)
http://www.sutracomputers.com
Page 10
Sel ect the cells, then drag the fill handle up, down, left or right across the cells that you want to fill
Click to accept changes Click to cancel changes Click in the Formula Bar to edit text
Editing a Cell
Click into the cell to be edited
http://www.sutracomputers.com
Page 11
Click into the for mu l a bar at the position where you wish to make the change Edit and Ente r the corrected data
The selection is highlighted but you will be able to see through the highlight to the data behind. This is called see-through view. Sel ect a Col u mn Click on the col u mn lette r
Sel ect Sever al Col u mn s Cl ick and drag across the letter s of the columns you want to select
Sel ect Sever al Rows Cl ick and drag across the nu mb e r s of the rows you want to select
Sel ect a Range of Cell s Next to Each Othe r Using a standard Windows method, you can select any items that are next to each other (contiguous). In this case it would be a range of cells. Click into the fir st cel l in the range you want to select
http://www.sutracomputers.com
Page 12
Hold down the Sh if t key on your keyboard and click into the last cell in the range
Sel ect a Range of Cell s Not Next to Each Othe r Using a standard Windows method, you can select any items that are not next to each other (non-contiguous). In this case it would ranges of cells. Select the first column, row, cell or range of cell s Hold down the Ctrl key and select the next cel l s Keep the Ctrl key pressed down and sel ect any further cell s
Sel ect the Whol e Work sh ee t Click on the Work s he et button just above Row 1 in the Worksheet.
Cl ea r the Format of a Cel l but Leave the Conten ts Select the range of cell s Click on the Edit menu, point to Cl ea r , and then select Format s
http://www.sutracomputers.com
Page 13
Cl ea r the Conte nt s, Format s and Comme n t s in a Cel l Select the range of cell s Click on the Edit menu, point to Clear , and then select Al l
Note: The selected cells are still highlighted in their original location, and have a flashing black outline. Click into the cell at the top left of the range where you want the cut cells to move to Click on the Edit menu and select Paste
http://www.sutracomputers.com
Page 14
Multiple Undo/Redo
If you have deleted something in error, you can use the Undo/Redo option to reverse your last action. Select a cell and Press the Delete key From the Edit menu select Undo Cl ea r and whatever you have deleted will be restored
From the Edit menu select Redo Clear to reverse the last action.
NOTE: If you were undoing a copy action, the menu would read Undo Copy , therefore the commands you are using are context sensitive.
http://www.sutracomputers.com
Page 15
The tick indicates the document currently displayed Click on another Workbook you wish to work on and it will be presented on the screen
Columns are inserted to the left of the selected column. In the example below a column would be inserted after column B and before column C. Select a colu mn letter From the Ins er t menu choose Col u mn s Or Righ t Mouse click on selected column letter. Choose Ins er t from the shortcut menu
http://www.sutracomputers.com
Page 16
Ins er t a Row Rows are inserted above the selected row. In the example below a new row would be inserted above row 5 (Steve Tricksy) and after row 4 (Sue Driller).
Select a row nu mb e r From the Ins er t menu choose Rows Or Righ t Mouse click on selected row number. Choose Inse rt from the shortcut menu
Delete a Col u mn Click anywhere in the col u mn you want to delete Choose Delete from the Edit menu
Choose Enti re Col u mn and then press OK Or Righ t Mouse click on the column letter that you wish to delete. Choose Del ete from the shortcut menu
Delete a Row Click anywhere in the row you want to delete Choose Delete from the Edit menu Choose Enti re Row and then press OK Or Righ t Mouse click on the Row number that you wish to delete. Choose Delete from the pop up menu
http://www.sutracomputers.com
Page 17
If you change any values in cells B4 or B5 the result in the cell containing the formula (B6) will automatically re-calculate
http://www.sutracomputers.com
Page 18
Calcul ati n g a Percen tage =B2*10% tells Excel to take Cost figure of Rs.14,000.00 in cell B2 and multiply it by 10% Tax
=B2+C2 tells Excel to Add Cost of Rs.14,000.00 and Tax of Rs.1,400.00 to give a Total
Order of Cal cul a tio n Where a formula includes more than one mathematical operator, there is a strict order of precedence that Excel adheres to. Excel will perform calculations in the following order: Operato r % ^ * / + -
Orde r 1 2 3 4 5 6
Na me Percentage Exponentiation (to the power of) Multiplication Division Addition Subtraction
Res ul t 9 16 6 25 20 7
Brackets ( ) are used to force a change to the order of calculation. Anything in brackets is calculated first. There must be an equal number of open brackets ( and close brackets ) in each formula. All formulae are read from left to right.
http://www.sutracomputers.com
Page 19
Exampl es For mu l a =2*10+1 =1+2*10 =(1+2)*10 =2*10+5*10 =(2*10+5)*10 Resu l t 21 21 30 70 250 Multiplication performed before addition Values in brackets calculated first Both multiplications performed before the addition Values in brackets calculated first Expl an at ion
Using AutoSum you can calculate the sum of a range of cells both across the rows and down the columns, as in the example below. Select the range you want to calculate totals for, (including a blank row and a blank column for the results
http://www.sutracomputers.com
Page 20
Click on the AutoSu m button All the results are calculated at once and displayed.
AVERA GE Funct ion Click in the cell where you want the result of the calculation to appear Type =ave ra ge ( Select the range of cell s you wish to calculate the average for When the range appears in the result cell, type ) and then press Enter
Tabl e of Work s he et Fu nctio ns The sample Worksheet above gives the following results: Fu nctio n =SUM =AVERAGE =MAX Descr ip tio n Adds a range of cells Finds the average value Finds the highest value Exa mp l e =sum(B4:B7) =average(B4:B7) =max(B4:B7) Resu l t 240 60 90
http://www.sutracomputers.com
Page 21
=MIN
Finds the lowest value Counts how many cells contain numeric values
=min(B4:B7)
35
=COUNT
=count(B4:B7)
The Formula Palette then opens with boxes where the values or cell references should be entered, for all of the arguments in the calculation. The result of the calculation is displayed in the Formula Palette.
http://www.sutracomputers.com
Page 22
Excel assumes the range of cells you want to calculate. If the range is incorrect, click in the Numb er 1 box and delete the incor rect range . Then sel ect the correct range on the Worksheet and click on OK
The formula Palette collapses while you are highlighting the range, but reappears automatically.
Copying Formulas
If you want the same formula all the way down a column or across a row, type the formula into one cell and copy it to the remaining cells. The cell references in the formula will automatically adjust for the new locations. Type the for mu l a but do not press Enter Drag the Fil l Handl e across (or down) over the cells you want to copy the formula to
The formula will adjust to the relative column as in the table below when it is copied:
http://www.sutracomputers.com
Page 23
Change Font
Change Alignment
Format Text
Cha ngi n g the Font High l i g ht the cel l s you want to format Choose the Font , styl e , size , under l i n e , colour and effect s on the Font tab in the For ma t Cel l s dialog box
Font Style List Box Font List Box Font Size List Box Colour Dropdown Palette
Effects
http://www.sutracomputers.com
Page 24
Cha ngi n g the Al ig n me n t , Wrappi n g Text and Merg in g Cell s High l i g ht the cel l s you want to align, wrap or merge Select the required hori zo nt al and vertica l alignment, inden t , orien tat ion , and text control on the Al ign me n t tab in the Format Cel l s dialog box
Horizontal alignment including left, center, right and justify Vertical alignment including top, center, bottom and justify Text Control
Top
Centre
Bottom
Format Painter
Use the Format Pai nt er to copy the formatting of selected text or an object and apply the formatting to the text or object you click on. Sel ect the text or object that contains the formatting that you want to copy From the Formatting Toolbar, click once on the Format Pai nte r
http://www.sutracomputers.com
Page 25
The mouse pointer will now display a paint brush Posit io n mouse over the object or text that you want to apply the copied format and click To apply the copied format to a group of words, cl ick and drag the mouse over the text
NOTE: Doubl e- cl ick on the Format Pai nt er to copy and apply the formatting to more than one item. When finished, turn off the Format Painter by pressing ESC or clicking again on the Format Painter button in the toolbar.
Formatting Numbers
Numbe r Format Tool s in the Format t i n g Tool bar
Tool
Name
Display Dollar, Pound Sterling or Euro sign, 2 decimal places, comma separating thousands Displays number as a percentage (multiplies by 100 and adds % sign) 2 decimal places, comma separating thousands Increases or Decreases the number of decimal places - one place at a time
Example Rs.20,000.0 0
Currency
Percentage
50%
20,000.00
20,000.0 20,000.000
When you need to format the number more precisely than you can using the Formatting toolbar buttons, high l i g ht the cell s
http://www.sutracomputers.com
Page 26
you want to format, then click on the For ma t menu and choose Cell s
Formatting Dates
Sel ect the cel l s containing the dates you wish to format. Note: you need to use a format that Excel recognises as dates, i.e. 12/12/2001 or 12-12-2001 Click on the Format menu and then select Cel l s , then choose the Numbe r tab
Click on Date in the category list and choose the required format
Page 27
Click on the Format menu and then select Cel l s , then choose the Borde r tab
Pattern Palette
http://www.sutracomputers.com
Page 28
Or, choose AutoFit Sel ect ion . Excel will calculate how wide the column needs to be to show the widest cell
Cl ick and Drag Position the mouse pointer on the line to the right of column heading you wish to adjust The mouse pointer will change to a double-arrow
http://www.sutracomputers.com
Page 29
Drag to resize
Click and drag the mouse right or left to the required width
http://www.sutracomputers.com
Page 30
Or, choose AutoFit . Excel will calculate how high the column needs to be to show the tallest cell
Cl ick and Drag Position the mouse pointer on the line below the row number you wish to adjust The mouse pointer will change to a double-arrow
http://www.sutracomputers.com
Page 31
Drag to resize
http://www.sutracomputers.com
Page 32
Sorting
Click anywhere in the column by which you wish to sort Click on the Sort Ascendi n g tool or the Sort Desce ndi n g
tool
Note: If you wish to cancel the sort, immediately choose Undo Sort from the Edit menu or click on the Undo button
http://www.sutracomputers.com
Page 33
Filtering Information
AutoFilter
Filtering is a quick way to find a sub-set of data in a data list eg to find all employees in the Sales department Click on a cell in your list Choose Fil ter - AutoFi l te r from the Data menu
Notice the down arrow next to each of your field names. Use the down arrow to display a list of unique entries in that field. (The example above shows Dept with the down arrow displaying unique entries) Select one of the unique entries. The other records are filtered out (note the row numbers, where filtered items are hidden)
Note: you can set additional filters on the other fields too
Custom AutoFilter
The custom AutoFilter allows the following logical operations instead of specifying a particular value eg Salary is greater than 20000 Click on the down arrow on the field to be filtered Select Custom
http://www.sutracomputers.com
Page 34
Click the down arrow to select an operator
The Custom AutoFilter dialog box is displayed Choose an operator from the drop down list Enter your crite ri a , either from the drop down list or directly by typing it in Click OK
Enter criteria
Removing Filters
Displ ay Al l Records To display all records again, choose Fil te r , Show All from the Data menu
Tu r n i n g off AutoFi l te r When you have finished, choose, Fil te r and then AutoFil t er from the Data menu to switch the filters off
Advance Filters
To find specific values in rows in a list by using one or two comparison criteria for the same column, point to Fil ter on the Data menu, click AutoFi l te r , click the arrow in the column that contains the data you want to compare, and then click Custo m . To match one criterion, click the comparison operator you want to use in the first box under Show rows whe re , and then enter the value you want to match in the box immediately to the right of the comparison operator. To display rows that meet two conditions, enter the comparison operator and value you want, and then click the And button. In the second comparison operator and value boxes, enter the operator and value you want.
http://www.sutracomputers.com
Page 35
To display rows that meet either one condition or another condition, enter the comparison operator and value you want, and then click the Or button. In the second comparison operator and value boxes, enter the operator and value you want.
http://www.sutracomputers.com
Page 36
Pivot Tables
Pivot tables can be used to summarise and analyse a data list. They can provide a useful way of preparing complex data for charting. The Pivot table Wizard feature guides you through the stages of creating a pivot table.
http://www.sutracomputers.com
Page 37
Step 1 Click in the Data List Choose PivotTabl e and PivotCh a rt Report from the Data menu, this will open the Pivot Table Report Wizard Choose PivotTabl e and click on Next .
Step 2 Confirm the selected range is correct. If the range is incorrect use the mouse to re-select the range to be used Click on Next
Step 3
Choose to put the Pivot Table into a New Worksheet Click Finish Note: At the 3rd step, click on the Options button to choose specific format and data options that you wish to apply to your PivotTable
http://www.sutracomputers.com
Page 38
Step 4 The New Worksheet is inserted and the PivotTable toolbar will appear on your screen.
Point to the fiel d na me s in the toolbar you wish to use as headings in your report and drag them onto the blue outlined field areas on the left and top of the table Note: The fields can be re-arranged at any time by clicking and dragging them to a new location or removing them completely.
End Res ul t
Note: In the example above The DEPT field is dragged onto Row The SEX field is dragged onto Column The SALARY field is dragged onto Data Click on the arrows beside the field names and tick or untick the boxes to display a filtered version of the data
http://www.sutracomputers.com
Page 39
Choose PivotTabl e and PivotCha r t Report from the Data menu, this will open the Pivot Table Report Wizard Choose PivotCh ar t (wit h PivotTabl e ) and click on Next
Step 2 Confirm the selected range is correct. If the range is incorrect use the mouse to re-select the range to be used Click on Next
http://www.sutracomputers.com
Page 40
Step 3
Choose to put the Pivot Chart into a New Work s he et Click Fini s h Note: At the 3rd step, click on the Options button to choose specific format and data options that you wish to apply to your PivotChart
Step 4 The New Worksheet is inserted and the Pivot Tab l e toolbar will appear on your screen.
Point to the fiel d na me s in the toolbar you wish to use as categories in your chart and drag them onto the blue outlined field areas to the area you want the data placed in Note: The fields can be re-arranged at any time by clicking and dragging them to a new location or removing them completely.
http://www.sutracomputers.com
Page 41
End Res ul t
Note: In the example above The DEPT field is dragged onto the Category The SEX field is dragged onto the Series field The SALARY field is dragged on the Data The arrows beside the field names can be clicked on, and the data you wish to view chosen by ticking or un-ticking the boxes
In all other aspects the PivotChart can be formatted as any other chart
http://www.sutracomputers.com
Page 42
Use the Cha rt Wi za r d Click on the Cha rt Wi za r d button on the Sta ndar d toolbar
Step 1 Choose the Chart Type Cl ick on required the Char t type from the Chart Type list Sel ect the type of Cha rt sub- type if required Press Next
http://www.sutracomputers.com
Page 43
Step 2 Check the Char t Source Data If the Data range is incor rect , click on the Coll apse button so that you can see the data, then high l i g ht the correct range on the Worksheet Press Next
Preview of chart
http://www.sutracomputers.com
Page 44
Step 3 shows a dialog box you can choose precisely how the chart will display the data. Tab Name Titles Axes Gridlines Legend Data Labels Data Table Cha nge s Add a chart title and labels for your axis Display/hide the X or Y axis Display/hide gridlines Display/hide or reposition legend Choose to display labels, such as value percent, above the data point Display/hide a table displaying the data
Step 4 Cha rt Location Choose to create your chart either: As new sheet a new sheet is automatically created for you As object in choose where in the Workbook the chart will be located
Press Fini s h
Chart Elements
Data Point (one point in a series) Chart Title
Data Series
Chart Area
Plot Area
Gridline
Resi zi n g a Cha rt Drag the chart sel ection handl es to make a chart bigger or smaller
The first four items under this menu are Steps 1-4 of the Chart Wizard
Cha rt Type This is Step 1 of the Chart Wizard where you can choose a different type of chart
Sou rce Data This is Step 2 of the Chart Wizard where you can select a different range of data
Cha rt Options This is Step 3 of the Chart Wizard where you can add Titl e s , set gridl i ne s , and add data label s
Location This is Step 4 of the Chart Wizard where you can choose another locatio n for your chart
http://www.sutracomputers.com
Page 46
Format selected element Select a chart Sel ect A Chart Eleme nt element
Hide/Display Legend
Select an element in the chart by clicking on it once eg. the Legend or Click the down arrow on the select chart element button to Hide/Display select it by name Data Table
Chart Type Angle Text
http://www.sutracomputers.com
Page 47
The Format box will be displayed In this example the Legend was the element selected
Note: To open the Format box you can also either double click on the element of the chart or click the right mouse button on the element of the chart and choose format
http://www.sutracomputers.com
Page 48
Gradients are available in Single, Double or multiple Preset colour schemes. They can have different shading styles Note: Make further choices from the Texture and Pattern Tabs
http://www.sutracomputers.com
Page 49
Creating Pictographs
Pictures can be used to fill bars or columns Select the graphic you wish to use (this could be from PowerPoint) Choose Copy from the Edit menu Click on the chart to make it active Click on the ser ie s you wish to represent with the graphic (i.e. bar or column) Choose Paste from the Edit menu A stretched version of the picture will replace the bar or column.
Stack i n g the Pictur e s in the Col u mn Select the data series with the stretched picture Click on the for ma t el eme nt button on the Chart toolbar Click on the Patte rn s tab then click on the Fil l Effects button Click on the Pictur e tab Select the option Stack Click OK
http://www.sutracomputers.com
Page 50
or Choose Cha rt Type from the Cha rt me n u to display all chart choices
Area Chart
This will indicate the amount of change as well as show the relationship of each part to the whole:
Line Chart
The Line Chart displays trends over time. The emphasis is on time and the rate of change rather than on the amount of change.
Bar Chart
http://www.sutracomputers.com
Page 51
The Bar Chart is used to display individual values that can be compared. The values are displayed on the Horizontal axis.
Column Chart
The Column Chart is similar to the Bar Chart except that the values are displayed along the Vertical axis.
Pie Chart
The Pie Chart is used to display one series of data. Each part of the series represents a percentage of the whole.
Doughnut
The Doughnut Chart is similar to the Pie Chart but it displays more than one data series at a time - each part representing a percentage of the whole amount.
http://www.sutracomputers.com
Page 52
Delet in g a Data Ser ie s Select the series, within the chart, that you wish to delete Press the Delete key on the keyboard
Re- Sel ect in g the Data Sou rce Select the Chart Choose Sou rce Data from the Cha rt menu Use your mouse to select all the data to create your chart Click OK
http://www.sutracomputers.com
Page 53
Printing
Printing the Chart Alone
To print the chart landscape on A4 paper: Click on the chart to make it active Choose Prin t from the Fil e Menu
You can enter and edit data in Page Break Preview. Solid and dotted lines indicate Page Breaks. Pages Break s and Prin t Areas can be changed by pointing to the Page Break lines and draggin g them into a new position Click on the View menu and choose Normal to switch back to normal view
http://www.sutracomputers.com
Page 54
You can change the way your page is set up so that it looks better when it is printed. All the options you can choose from are in one place, the Page Set up dialog box. Click on the Fil e menu and choose Page Set up
Scal in g the Work sh ee t to Fit Select the Page tab in the Page Setup dialog box In the Scal i ng section, choose a percentage in the Adjus t to box
If you need to be more precise, you can click in the Fit to box and enter the nu mb e r of pages you want your Worksheet to fit onto
Prin t i n g Titl e s, Gr idl i n e s , Headi ng s and Page Orde r Click on the Sheet tab in the Page Setup dialog box Select what should be pri nted , and then press OK
http://www.sutracomputers.com
Page 55
When the printout is more than one page, choose the page order
Addi ng Header s and Footers A Header is the text that prints at the top of every page. A Footer is the text that prints at the bottom of every page. Click on the Heade r/Foote r tab in the Page Setup dialog box Choose from the list of predefined Heade rs and Footer s , then press OK
If you want to, you can click on the Custom Heade r or Custo m Footer buttons and type your own text in either the left, center or right sections, then press OK
http://www.sutracomputers.com
Page 56
Printing Worksheets
Click on the Fil e menu and choose Prin t When you have made your selections, press OK
Choose the printer
Page 57
Row 1 to 3 will still be displayed as you scroll down Column A will still be displayed screen as you scroll to the right Un f r ee z i n g Panes Click on the Wi ndow menu and choose Unf r e e ze Pane s
Comments
You can add comments to give more information about the data in the cell, for yourself or for other users who may share the Workbook. Comments are displayed when pointing to the cell where there is a red triangle at the top right-hand corner of the cell.
Ins er t i n g A Comme n t Select the cell where you want to add a comment Click on the Ins er t menu and choose Comme n t Type your comment, then cl ick away from the cell to enter
Editin g a Comme n t Select the cell containing the comment that you want to edit Click on the Ins er t menu and choose Edit Comme n t Edit the text and click away when finished to enter
Delet in g a Comme n t Select the cell containing the comment that you want to delete Click on the Ins er t menu and choose Edit Comme n t Click on the border of the comme n t box to select the whole comment, then press Delete .
http://www.sutracomputers.com
Page 58
Example Suppose you want to start a restaurant business. You estimate it will cost Rs.70,000 to start the business and expect to net the following income in the first five years: Rs.12,000, Rs.15,000, Rs.18,000, Rs.21,000, and Rs.26,000. B1:B6 contain the following values: Rs.-70,000, Rs.12,000, Rs.15,000, Rs.18,000, Rs.21,000 and Rs.26,000, respectively. To calculate the investment's internal rate of return after four years: IRR(B1:B5) equals -2.12 percent To calculate the internal rate of return after five years: IRR(B1:B6) equals 8.66 percent.
NPV
Calculates the net present value of an investment by using a discount rate and a series of future payments (negative values) and income (positive values).
Examples Suppose you're considering an investment in which you pay Rs.10,000 one year from today and receive an annual income of Rs.3,000, Rs.4,200, and Rs.6,800 in the three years that follow. Assuming an annual discount rate of 10 percent, the net present value of this investment is: NPV(10%, -10000, 3000, 4200, 6800) equals Rs.1,188.44
http://www.sutracomputers.com
Page 59
FV
Returns the future value of an investment based on periodic, constant payments and a constant interest rate.
Examples Suppose you want to save money for a special project occurring a year from now. You deposit Rs.1,000 into a savings account that earns 6 percent annual interest compounded monthly (monthly interest of 6%/12, or 0.5%). You plan to deposit Rs.100 at the beginning of every month for the next 12 months. How much money will be in the account at the end of 12 months? FV(0.5%, 12, -100, -1000, 1) equals Rs.2301.40.
RATE
Returns the interest rate per period of an annuity. RATE is calculated by iteration and can have zero or more solutions. If the successive results of RATE do not converge to within 0.0000001 after 20 iterations, RATE returns the #NUM! error value.
Examples To calculate the rate of a four-year Rs.8,000 loan with monthly payments of Rs.200: RATE(48, -200, 8000) equals 0.77 percent This is the monthly rate, because the period is monthly. The annual rate is 0.77%*12, which equals 9.24 percent.
http://www.sutracomputers.com
Page 60
VLOOKUP
Searches for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify in the table. Use VLOOKUP instead of HLOOKUP when your comparison values are located in a column to the left of the data you want to find.
Examples Create a sheet named Vlookup and enter the data in the following style.
for table array reference, use Empdata sheet as reference. Position the cell in b5 and use the VLOOKUP function and enter the following references.
http://www.sutracomputers.com
Page 61
Copy the formula in the remaining columns and edit the remaining columns by only changing the col_index_num box in the vlookup formula.(as 2 for column 2 reference and so on).
As you are editing the cells containing vlookup functions the corresponding reference values are displayed.
Goal Seek
When you know the desired result of a single formula but not the input value the formula needs to determine the result, you can use the Goal Seek feature. When goal seeking, Microsoft Excel varies the value in one specific cell until a formula that's dependent on that cell returns the result you want.
For example, use Goal Seek to change the interest rate incrementally until the payment value equals 900.
Scenario
A scenario is a set of values that Microsoft Excel saves and can substitute automatically in your worksheet. You can use scenarios to forecast the outcome of a worksheet model. You can create and save different groups of values on a worksheet and then switch to any of these new scenarios to view different results.
Creat i ng scenar io s For example, if you want to create a budget but are uncertain of your revenue, you can define different values for the revenue and then switch between the scenarios to perform what-if analyses.
http://www.sutracomputers.com
Page 62
In the example above, you could name the scenario Worst Case, set the value in cell B1 to Rs.50,000, and set the value in cell B2 to Rs.13,200.
You could name the second scenario Best Case and change the values in B1 to Rs.150,000 and B2 to Rs.26,000.
http://www.sutracomputers.com
Page 63
http://www.sutracomputers.com
Page 64
Run a macro
To interrupt a macro before it completes its actions, press ESC. Open the workbook that contains the macro. On the Tool s menu, point to Macro , and then click Macros . In the Macro na me box, enter the name of the macro you want to run. Click Run .
Edit a macro
Before you edit a macro, you should be familiar with the Visual Basic Editor. The Visual Basic Editor can be used to write and edit macros attached to Microsoft Excel workbooks. On the Tool s menu, point to Macro , and then click Macros . In the Macro na me box, enter the name of the macro. Click Edit .
http://www.sutracomputers.com
Page 65
Macro Example : Create a macro Lets Create a macro which toggles between show and hide gridlines. First Record a Macro. First goto to Tools menu, point to options, view tab and deselect the gridlines checkbox.
On the Tool s menu, point to Macro , and then click Record New Macro .
In the Macro na me box, enter Gridshow. Assign a shortcut key . Select Personal Macro Workbook in store macro in.(this will make the macro run in each and every workbook on excel)
http://www.sutracomputers.com
Page 66
Now start recording the steps for the macro Gridshow. Goto to Tools menu, point to Options , View tab and select the gridlines checkbox, then click ok. Stop the macro recording by clicking stop icon on the macro recording toolbar.
Now we have just created the macro to show the gridlines. Note to run this macro check whether the gridlines are off.
click Edit. When you click edit, it will switch to visual basic editor for Ms Excel displaying the window below.
Now, make the following changes in the macro window Remove the line ActiveWindow.DisplayGridlines = True And enter the following VBA statements : -
Page 67
Then click on Fil e and select Close And Retu r n To Microso ft Excel ,Now the Gridshow macro has been edited to toggle to show / hide the gridlines. To check whether the macro is working you can press the following key combinations which you assigned while creating the macro eg. Ctrl + Shift + G.
http://www.sutracomputers.com
Page 68
http://www.sutracomputers.com
Page 69