Docsity

Enhancing your skill, Study notes of Computer Programming

Partial preview of the text

Download Enhancing your skill and more Study notes Computer Programming in PDF only on Docsity!

Microsoft Excel

Handbook

How to use this Hand Book

This Handbook on Microsoft Excel is primarily aimed for officials in

Government Departments who are required to work on spread sheet

applications, who need to analyse, calculate or present numbers in a

particular format.

This is a compendium of information on various spread sheet utility

features. This book will come handy when one has to work on Excel and

would like know the right way of working on particular feature to arrive at

the desired output. This book will helpful to the readers from both IT and

non -IT background as quick reference guide on various concepts, covered

during the training programme.

This Hand book is organised into sections. Each section presents

information to the readers with different levels of technical expertise and

different needs. At the start of each section is a brief introduction about the

topic and subsequently the methods of working on the specific features and

their usage with practical examples where ever possible.

Excel is a very popular and widely used tool. It helps in day to day

functioning and also helpful for core technical/professional calculation and

data analysis. Mastering this tool will help in playing with data to arrive at

analytical reports. We hope that this Handbook provides concise,

informative and easily used companion for those who work on spread sheet

as they can use the information from this book during training and use it as

reference guide throughout.

Page 7 of 87

1. Microsoft Excel – An Introduction

What is Microsoft Excel?

Microsoft Excel is a spread sheet program that is used to record and analyse

numerical data.

Spreadsheet programme is a software application capable of organizing, storing

and analyzing data in tabular form. The application can provide digital simulation of paper accounting worksheets. They can also have multiple

interacting sheets with data represented in text, numeric or in graphic form.

With these capabilities, spreadsheet software has replaced many paper-based systems, especially in the business world. Originally developed as an aid for

accounting and bookkeeping tasks, spreadsheets are now widely used in other contexts where tabular lists can be used, modified and collaborated.

Spreadsheet software provides a distinct advantage when working with numbers. Calculation and functionalities are easier to represent in

spreadsheets than in word processors, and thus effective data handling is possible. Spreadsheet software also provides flexible presentation of data. This

software is capable of interacting with databases, can populate fields and can also help in automation of data creation and modification. Spreadsheet software

can be shared both online and offline and allows for easy collaboration. There are many spread sheet applications available in the market or in open source

(free), for the purpose of this training Microsoft Excel is used.

Data in spread sheet is represented by cells , organized as rows and columns

that form a table and can be text or numeric. Alphabetical letters are assigned to columns and numbers are assigned to rows. The point where a column and a

row meet is called a cell. The address of a cell is given by the letter representing

the column and the number representing a row.

Page 8 of 87

Why Microsoft Excel

We all deal with numbers in one way or the other. Microsoft Excel comes in

handy when we want to record, analyze and store such numeric data and it

becomes easy to handle data.

2. Getting Started with Excel 2010

What’s New in Excel 2010

With the introduction of Excel 2010, Microsoft is putting the focus on

analysing data, visualising trends, and sharing the results. Along with

enhancements to existing functionality made across the board, Excel 2010

comes with a few new features too.

New Features of Excel 2010

Slicer – a filter enhancement for PivotTables that helps us to quickly and intuitively drill down and analyse data in our spread sheet.

Sparklines – tiny charts designed to fit in a cell that helps us to visualise trends in the underlying data.

Share - publish to a SharePoint compatible server. You and your

colleagues can then work on the same worksheet simultaneously.

Conditional formatting – conditional formatting is much improved. It gives you more control over styles and icons, there are improved data bars, and you have the ability to highlight specific items in a few clicks. You also can display data bars for negative values to more accurately illustrate your data visuals.

Protected View for downloaded items – Excel 2010 prevents you from editing downloaded content without your consent.

64 - bit support – in fact, all of the Office 2010 apps offer 64 - bit support giving you greater processing power.

Page 10 of 87

  1. Quick Access Toolbar:

This is a place where all the important tools can be placed. When you start Excel for the very first time, it has only 3 icons (Save, Undo, and Redo). But you can add any feature of Excel to to Quick Access Toolbar so that you can easily access it from anywhere (hence the name).

  1. Ribbon:

Ribbon is like an expanded menu. It depicts all the features of Excel in easy to understand form. Since Excel has 1000s of features, they are grouped in to several ribbons. The most important ribbons are – Home, Insert, Formulas, and Page Layout & Data.

  1. Formula Bar:

This is where any calculations or formulas you write will appear. You will understand the relevance of it once you start building formulas.

  1. Spreadsheet Grid:

This is where all your numbers, data, charts & drawings will go. Each Excel file can contain several sheets. But the spreadsheet grid shows few rows & columns of active spreadsheet. To see more rows or columns you can use the scroll bars to the left or at bottom. If you want to access other sheets, just click on the sheet name (or use the shortcut CTRL+Page Up or CTRL+Page Down).

  1. Status bar:

This tells us what is going on with Excel at any time. You can tell if Excel is busy calculating a formula, creating a pivot report or recording a macro by just looking at the status bar. The status bar also shows quick summaries of selected cells (count, sum, average, minimum or maximum values). You can change this by right clicking on it and choosing which summaries to show.

The Ribbon

Understanding the Ribbon is a great way to help understand the changes between Microsoft 2003 to Microsoft 2007/2010. The ribbon holds all of the information in previous versions of Microsoft Office in a more visual stream line manner through a series of tabs that include an immense variety of program features.

Home Tab

This is the most used tab; it incorporates all text and cell formatting features such as font and paragraph changes. The Home Tab also includes basic

spreadsheet formatting elements such as text wrap, merging cells and cell style.

Insert Tab

This tab allows you to insert a variety of items into a document from pictures, clip art, and headers and footers.

Page 11 of 87

Page Layout Tab This tab has commands to adjust page such as margins, orientation and themes.

Formulas Tab

This tab has commands to use when creating Formulas. This tab holds an immense function library which can assist when creating any formula or function in your spreadsheet.

Data Tab

This tab allows you to modifying worksheets with large amounts of data by sorting and filtering as well as analyzing and grouping data.

Review Tab

This tab allows you to correct spelling and grammar issues as well as set up security protections. It also provides the track changes and notes feature providing the ability to make notes and changes someone’s document.

View Tab

This tab allows you to change the view of your document including freezing or splitting panes, viewing gridlines and hide cells.

Page 13 of 87

The arrow keys can be used to move left, right, up, and down from the current cell. Press the Enter key to move to the cell immediately below the current cell, and press the Tab key to move one cell to the right.

Selecting Cells or Range In order to complete more advanced processes in Excel you need to be able to highlight or select cells, rows and columns. There are a variety of way to do this, see the table below to understand the options.

Propagating Cell Contents

There are multiple ways to propagate or fill data from one cell to adjacent cells. Let's begin with two popular keyboard shortcuts that allow us to fill down, or fill to the right:

 To fill adjacent cells with the contents of the cell above, select the cell

with the data and the cells to be filled and press Ctrl + D (the Ctrl key and the D key) to fill down.

 To fill adjacent cells with the contents of the cell to the left, select the cell

with the data and cells to be filled and press Ctrl + R (the Ctrl key and the R key) to fill to the right.

Page 14 of 87

To propagate in any direction, use the Fill Handle. Click in a cell with data to be copied, hover the cursor over the cell's lower right corner until the cursor changes to a thin plus sign (+) or a dark square, and drag up, down, left, or right to fill the cells. Excel's Fill Handle is powerful; see our Fill Handle tutorial.

If the data to be copied is a date, number, time period, or a custom-made series, the data will be incremented by one instead of just copied when the Fill Handle is used. For example, to display the months of the year in column A, type January in cell A1, drag the Fill Handle down to cell A12, and the months will display, in order, in column A!

3. Modifying Spreadsheets

In order to create an understandable and professional document you will need to make adjustments to the cells, rows, columns and text. Use the following processes to assist when creating a spreadsheet.

Cut, Copy, and Paste Data

You can use the Cut, Copy, and Paste commands in Microsoft Office Excel to move or copy entire cells or their contents. NOTE: Excel displays an animated moving border around cells that have been cut or copied. To cancel a moving border, press ESC.

Move/Copy Cells

When you move or copy a cell, Excel moves or copies the entire cell, including formulas and their resulting values, cell formats, and comments.

  1. Select the cells that you want to move or copy.
  2. On the Home tab, in the Clipboard group, do one of the following:

a. To move cells, click Cut. b. To copy cells, click Copy.

  1. Click in the center of the cell you would like to Paste the information too.
  2. On the Home tab, in the Clipboard group, click Paste.

NOTES: Excel replaces existing data in the paste area when you cut and

paste cells to move them. When you copy cells, cell references are automatically adjusted. If the selected copy or paste area includes hidden cells, Excel also copies the hidden cells. You may need to temporarily

unhide cells that you don't want to include when you copy information.

Moving and Copying Cells To move cell contents, right-click in the selected cell and click Cut; then right-click in the new location and click Paste. Similarly, to copy cell

Page 16 of 87

  1. Under Cell Size , click Column Width or Row Height.
  2. A Column Width or Row Height box will appear.
  3. In the Column Width or Row Height box, type the value that you want your column or row to be.

Automatically Fit Column/Row Contents

  1. Click the Select All button
  2. Double-click any boundary between two column/row headings.
  3. All Columns/Rows in the entire worksheet will be changed to the new size

NOTE: At times, a cell might display #####. This can occur when the cell contains a number or a date that exceeds the width of the cell so it cannot display all the characters that its format requires. To see the entire contents of the cell with its current format, you must increase the width of the column.

Set Column/Row Width/Height with Mouse

To change the width of one column/row

  1. Place you cursor on the line between two rows or columns.
  2. A symbol that looks like a lower case t with arrows on the horizontal line will appear
  3. Drag the boundary on the right side of the

Page 17 of 87

column/row heading until the column/row is the width that you want.

To change the width of multiple columns/rows

  1. Select the columns/rows that you want to change
  2. Drag a boundary to the right of a selected column/row heading.
  3. All selected columns/rows will become a different size. To change the width of columns/rows to fit the contents in the cells
  4. Select the column(s) or row(s) that you want to change
  5. Double-click the boundary to the right of a selected column/row heading.
  6. The Column/Row will automatically be size to the length/height of the longest/tallest text.

Merge or Split Cells

When you merge two or more adjacent horizontal or vertical cells the cells become one larger cell that is displayed across multiple columns or rows. When you merge multiple cells, the contents of only one cell appear in the merged cell.

Merge and Center Cells

  1. Select two or more adjacent cells that you want to merge.
  2. On the Home tab, in the Alignment group, click Merge and Center.
  3. The cells will be merged in a row or column, and the cell contents will be centered in the merged cell.

Merge Cells

To merge cells only, click the arrow next to Merge and Center , and then click

Merge Across or Merge Cells.

Split Cells

  1. Select the merged cell you want to split
  2. To split the merged cell, click Merge and Center. The cells will split

and the contents of the merged cell will appear in the upper-left cell of the range of split cells.

Automatically Fill Data

To quickly fill in several types of data series, you can select cells and drag

the fill handle. To use the fill handle, you select the cells that you

Page 19 of 87

  1. Click the cell(s) that contains the numbers that you want to format.
  2. On the Home tab, in the Number group, click the arrow next to the Number Format box, and then click the format that you want.

If you are unable to format numbers in the detail you would like that you can click on the More Number Formats at the bottom of the Number Format drop down list.

  1. In the Category list, click the format that you want to use, and then adjust settings to the right of the Format Cells dialog box. For example, if you’re using the Currency format, you can select a different currency symbol, show more or fewer decimal places, or change the way negative numbers are displayed.

Cell Borders

By using predefined border styles, you can quickly add a border around

cells or ranges of cells. If predefined cell borders do not meet your needs,

you can create a custom border.

NOTE: Cell borders that you apply appear on printed pages. If you do not use cell borders but want worksheet gridline borders for all cells to be visible on printed pages, you can display the gridlines.

Apply Cell Borders

  1. On a worksheet, select the cell or range of cells that you want to add a border to, change the border style on, or remove a border from.

Page 20 of 87

  1. Go to the Home tab, in the Font group
  2. Click the arrow next to Borders
  3. Click on the border style you would like
  4. The border will be applied to the cell or cell range

NOTE: To apply a custom border style, click More Borders. In the

Format Cells dialog box, on the Border tab, under Line and Color , click the line style and color that you want.

Remove Cell Borders

  1. Go to the Home tab, in the Font group
  2. Click the arrow next to Borders
  3. Click No Border.

NOTES: The Borders button displays the most recently used border style. You can click the Borders button (not the arrow) to apply that style.

6. Locking Cells and Protecting a Worksheet

There are two steps to preventing important cell content from being accidentally overwritten or deleted. First, the cell must be locked. Second, the worksheet must be protected. If you have any valuable data or complex formulas that you do not want to lose, and data DOES get accidentally erased(!), then you owe it to yourself to learn which cells to lock and which worksheet protection options to take.

Managing Workbooks and Worksheets

When the Excel program is first opened, the user is presented with a workbook containing three empty worksheets (spreadsheets). The first empty worksheet is displayed, and in the bottom left corner of Excel we see three tabs - one for each worksheet - with the names Sheet1, Sheet2, and Sheet3 as shown in the screenshot below. We also see arrows that are used to scroll right and left to locate worksheet tabs when a workbook has a large number of worksheets.

If you're only using one worksheet, you don't have to delete the two unused worksheets - most folks don't bother. Excel workbooks are saved with a file extension of xlsx in newer versions of Excel. Older versions used the xls extension.

How many Excel worksheets can we have in one workbook? Microsoft says the number is limited to your computer's memory! It's handy to group together worksheets that are VERY closely related, and especially if you