advanced excel 2007 - handout

105
1 ADVANCED EXCEL ADVANCED EXCEL ( Version 2007 ) Introduction SOME ADVANTAGES OF EXCEL Microsoft Excel is widely used so there is huge users community Easy of data storage & editing MS Excel is an excellent reporting tool Easy to automate Introduction Excellent reputation Micrisoft Office EXCEL 2007 Essar Steel Ltd Page 1 of 105

Upload: phanisai

Post on 02-Apr-2015

349 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Advanced Excel 2007 - Handout

1

ADVANCED EXCELADVANCED EXCEL

( Version 2007 )

Introduction

SOME ADVANTAGES OF EXCEL Microsoft Excel is widely used so there is huge users community

Easy of data storage & editing

MS Excel is an excellent reporting tool

Easy to automate

Introduction

Excellent reputation

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 1 of 105

Page 2: Advanced Excel 2007 - Handout

2

Excel is a part of Microsoft office.

Microsoft Office 2007 (officially called 2007 MicrosoftMicrosoft Office 2007 (officially called 2007 MicrosoftOffice system) is the most recent Windows version of the Microsoft Office system.

Formerly known as Office 12 in the initial stages of its beta cycle, it was released to “volume license customers” on November 30, 2006 and made available to retail customers

Introduction

November 30, 2006 and made available to retail customers on January 30, 2007.

Earlier version of Microsoft Office for Microsoft Windows

Microsoft Office 3.0Microsoft Office 4.0Microsoft Office 4 3Microsoft Office 4.3Microsoft Office 95 Microsoft Office 97

Microsoft Office 2000 Microsoft Office XP

Microsoft Office 2003 Microsoft Office 2007

Microsoft Office 14 is currently under development. It is due to be released in

Introduction

y p2010.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 2 of 105

Page 3: Advanced Excel 2007 - Handout

3

The 2007 Microsoft Office system is distributed in eight editions:

Microsoft Office Basic 2007Microsoft Office Home and Student 2007Microsoft Office Standard 2007Microsoft Office Small Business 2007Microsoft Office Professional 2007Microsoft Office Ultimate 2007Microsoft Office Professional Plus 2007Microsoft Office Enterprise 2007

Introduction

Microsoft Office Enterprise 2007

Components of each editionComponent Basic Home and

StudentStandard Small

BusinessProfessional Ultimate Professional

PlusEnterprise

Word Processor Word Word Word Word Word Word Word Word

Spreadsheet Excel Excel Excel Excel Excel Excel Excel Excelp

Presentations PowerPoint PowerPoint PowerPoint PowerPoint PowerPoint PowerPoint PowerPoint

Calendar and E-mail Outlook Outlook Outlook Outlook Outlook Outlook Outlook

Accountancy Accounting Express

Accounting Express

Accounting Express

Desktop Publishing Publisher Publisher Publisher Publisher Publisher

Database Access Access Access Access

Form creation InfoPath InfoPath InfoPath

Introduction

Form creation InfoPath InfoPath InfoPath

Collaboration Groove Groove

Note-taking OneNote OneNote OneNote

IM / VoIP / Videoconferencing

Communicator Communicator

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 3 of 105

Page 4: Advanced Excel 2007 - Handout

4

SOME OF THE NEW FEATURES

Support up to 1,048,576 rows and 16,384 columns in a single worksheet, with 32,767 characters in a single cell (17,179,869,184 cells in a worksheet,562,932,773,552,128 characters in a worksheet)

Multithreaded calculation of formulae, to speed up large calculations, especially on multi-core/multi-processor systems.

PivotTables, which are used to create analysis reports out of sets of data, can now support hierarchical data by displaying a row in the table with a "+" icon, which, when clicked, shows more rows regarding it, which can also be hierarchical. PivotTables can also be sorted and filtered independently, and conditional formatting used to highlight trends in the data.

Introduction

used to highlight trends in the data.

Filters, now includes a Quick filter option allowing the selection of multiple items from a drop down list of items in the column. The option to filter based on color has been added to the choices available.

SOME OF THE NEW FEATURES

Column titles can optionally show options to control the layout of the column.

Live PreviewMicrosoft Office 2007 also introduces a feature called "Live Preview", which temporarily applies formatting on the focused text or object when any formatting button is moused - over. The temporary formatting is removed when the mouse pointer is moved from the button. This allows users to have a preview of how the option would affect the appearance of the object, without actually applying it.

Introduction

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 4 of 105

Page 5: Advanced Excel 2007 - Handout

5

Microsoft® Office Excel® 2007 Training

Get up to speedGet up to speed

Overview: A hands-on introduction

Excel 2007 has a new look! It’s got the familiar worksheets you’re accustomed to, but with some changes.

Notably, the old look of menus and buttons at the top of the window has been replaced with the Ribbon.

This course shows you how to use the Ribbon and highlights the other

Get up to speed

Ribbon and highlights the other changes in Excel that will help you make better worksheets, faster.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 5 of 105

Page 6: Advanced Excel 2007 - Handout

6

Get up to speed

What’s changed, and whyYes, there’s a lot of change in Excel 2007. It’s most noticeable at the top of the window.

But it’s good change.

The commands you need are now more clearly visible and more readily available in one control center called the

Get up to speed

yRibbon.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 6 of 105

Page 7: Advanced Excel 2007 - Handout

7

What’s on the Ribbon? The three parts of the Ribbon are tabs, groups, and commands.

Tabs: Tabs represent core tasks you do in Excel. There are seven tabs across the top of the Excel window.

Get up to speed

p

Groups: Groups are sets of related commands, displayed on tabs.

Commands: A command is a button, a menu, or a box where you enter information.

What’s on the Ribbon? How do you get started on the Ribbon?

Begin at the

The principal commands in Excel are gathered on the first tab, the Home tab.

gbeginning.

Get up to speed

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 7 of 105

Page 8: Advanced Excel 2007 - Handout

8

What’s on the Ribbon? Groups pull together all the commands you’re likely to need for a particular type of tasktask.

Throughout your task, groups remain on display and readily available; commands are no longer hidden in

Get up to speed

y gmenus.

Instead, vital commands are visible above your work space.

More commands, but only when you need themThe commands on the Ribbon are the ones you use the most.

Instead of showing every command all the time, Excel 2007 shows some commands only when you may need

Get up to speed

y y ythem, in response to an action you take.

So don’t worry if you don’t see all the commands you need at all times. Take the first steps, and the commands you need will be at hand.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 8 of 105

Page 9: Advanced Excel 2007 - Handout

9

More options, if you need themSometimes an arrow, called the Dialog Box Launcher, appears in the lower-right corner of a groupof a group.

This means more options are available for the group.

Click the Dialog Box Launcher , and you’ll see a dialog box or task pane. The picture shows an example:

Get up to speed

On the Home tab, click the arrow in the Font group.

g p p p

The Format Cells dialog box opens, with superscript and other options related to fonts.

Put commands on your own toolbarDo you often use commands that aren’t as quickly available as you’d like?

You can easily add them to the Quick Access Toolbar.

The Quick Access Toolbar is above the Ribbon when you first start Excel 2007. There, commands are always

Get up to speed

y yvisible and near at hand.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 9 of 105

Page 10: Advanced Excel 2007 - Handout

10

What about favorite keyboard shortcuts? If you rely on the keyboard more than the mouse, you’ll want to know that the Ribbon design comesRibbon design comes with new shortcuts.

This change brings two big advantages over previous versions of Excel:

Get up to speed

• There are shortcuts for every single button on the Ribbon.

• Shortcuts often require fewer keys.

What about favorite keyboard shortcuts? The new shortcuts also have a new name: Key Tips.

You press ALT to

For example, here’s how to use Key Tips to center text:

You press ALT to make Key Tips appear.

Get up to speed

Press ALT to make the Key Tips appear.

Press H to select the Home tab.

Press A, then C to center the selected text.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 10 of 105

Page 11: Advanced Excel 2007 - Handout

11

Keyboard shortcuts of old that begin with CTRL are still intact, and you can use them the same way you always have.

What about favorite keyboard shortcuts? What about the old keyboard shortcuts?

For example, the shortcut CTRL+C still copies something to the clipboard, and the shortcut CTRL+V still pastes something from the clipboard.

Get up to speed

A new viewNot only the Ribbon is new in Excel 2007.

Page Layout view is new, too.new, too.

If you’ve worked in Print Layout view in Microsoft Office Word, you’ll be glad to see Excel with similar

Get up to speed

y gadvantages.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 11 of 105

Page 12: Advanced Excel 2007 - Handout

12

A new viewTo see the new view, click Page Layout View on the Viewtoolbar .

Here’s what you’ll see in the worksheet:

Get up to speed

Column headings.

Row headings.

Margin rulers.

A new viewIn Page Layout view there are page margins at the top, sides, and bottom of the worksheet, and a bit of blue space between worksheets.

Other benefits of the new view:

You don’t need to use Print Preview to find problems

Rulers at the top and side help you adjust margins.

Get up to speed

• You don’t need to use Print Preview to find problems before you print.

• It’s easier than ever to add headers and footers.

• You can see different worksheets in different views.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 12 of 105

Page 13: Advanced Excel 2007 - Handout

13

Working with different screen resolutionsEverything described so far applies if your screen is set to high resolution and the Excel window isExcel window is maximized.

If not, things look different.

At l l ti If i t t l

When and how do things look different?

Get up to speed

• At low resolution. If your screen is set to a low resolution, for example to 800 by 600 pixels, a few groups on the Ribbon will display the group name only, not the commands in the group.

Working with different screen resolutionsEverything described so far applies if your screen is set to high resolution and the Excel window isExcel window is maximized.

If not, things look different.

Wh th E l i d i ’t i i d S

When and how do things look different?

Get up to speed

• When the Excel window isn’t maximized. Some groups will display only the group name.

• With Tablet PCs. On those with smaller screens, the Ribbon adjusts to show smaller versions of tabs and groups.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 13 of 105

Page 14: Advanced Excel 2007 - Handout

14

Get to work in ExcelThe first lesson helped you get oriented to the new look of Excel 2007.

Now it’s time to get to work.

Say you’ve got a half hour before your next meeting to make some revisions to a worksheet that you created in

Get up to speed

ya previous version of Excel.

Can you do the basic things you need to do in Excel 2007, in just 30 minutes? This lesson will show you how.

Open your fileFirst things first. You want to open an existing workbook created in an earlier version of Excelversion of Excel.

Do the following:

Get up to speed

Click the Microsoft Office Button .

Click Open, and select the workbook you want.

Also note that you can click Excel Options, at the bottom of the menu, to set program options.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 14 of 105

Page 15: Advanced Excel 2007 - Handout

15

Insert a columnNow you want to add a column to your worksheet to identify product categories.

It should go between two existing columns of data, Quantity and Supplier.

Your worksheet contains rows of products ordered from various suppliers, and you want to add the new column

Get up to speed

pp yto identify the various products as dairy, grains, produce, and so on.

1. Click in the Supplier column. Then on the Home tab, in the Cellsgroup, click the arrow on Insert.

Insert a column Follow this procedure to add the column between the Quantity column and the Supplier column:

g p,

2. On the menu that appears, click Insert Sheet Columns. A new blank column is inserted, and you enter the new data in the column.

3. If you need to adjust the column width to fit the data, in the Cellsgroup, click the arrow on Format. In the list that appears, click AutoFit Column Width.

Get up to speed

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 15 of 105

Page 16: Advanced Excel 2007 - Handout

16

Format and edit dataYou format and edit data by using commands in groups on the Home tab.

For example, the column titles will stand out better if they are in bold type.

Get up to speed

y yp

To make it so, select the row with the titles and then on the Home tab, in the Font group, click Bold.

Format and edit dataWhile the titles are still selected, you decide to change their color and their size, to make them stand out eventhem stand out even more.

In the Font group, click the arrow on Font Color. You’ll see many more colors to choose from than before.

Get up to speed

y

You can also see how the title will look in different colors by pointing at any color and waiting a moment.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 16 of 105

Page 17: Advanced Excel 2007 - Handout

17

• To increase the font size, click Increase Font Size .

Format and edit data You can use the Font group to take care of other formatting and editing options, too.

While the titles are still selected you decide to center them in the• While the titles are still selected, you decide to center them in the cells. In the Alignment group, click Center .

• Finally, you find that you need to enter one more order for Louisiana Fiery Hot Pepper Sauce. Select that product name, and in the Clipboard group, click Copy . Then click in the bottom row, and in the Clipboard group again, click Paste .

Get up to speed

Enter a formulaBefore handing off your report, you want to add up the numbers in the Quantity columncolumn.

Place the cursor in the last cell in the Quantity column, and then click the Sum button on the Home tab. (It’s in

It’s easy: Use the Sumbutton .

Get up to speed

(the Editing group.)

Press ENTER to see the formula result.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 17 of 105

Page 18: Advanced Excel 2007 - Handout

18

Add headers and footersAs a finishing touch, you decide to add headers and footers to the worksheet.

This will help make clear to everyone what the data is about.

Here’s what to do:

Get up to speed

1. Switch to Page Layout view. You can click the Viewtab, and then click Page Layout View in the Workbook Views group. Or click the middle button on the View toolbar at the bottom of the window.

Add headers and footersAs a finishing touch, you decide to add headers and footers to the worksheet.

This will help make clear to everyone what the data is about.

Here’s what to do:

Get up to speed

2. Click in the area at the top of the page that says Click to add header.

3. As soon as you do, the Header & Footer Tools and the Design tab appear at the top of the Ribbon.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 18 of 105

Page 19: Advanced Excel 2007 - Handout

19

PrintIt’s time to print the report.

In Page Layout view, you can makeyou can make adjustments and see the changes on the screen before you print.

Here’s how to use Page Layout view:

Get up to speed

1. Click the Page Layout tab.

2. In the Page Setup group, click Orientation and then select Portrait or Landscape. In Page Layout view, you’ll see the orientation change, and how your data will look each way.

PrintIt’s time to print the report.

In Page Layout view, you can makeyou can make adjustments and see the changes on the screen before you print.

Here’s how to use Page Layout view:

Get up to speed

3. Still in the Page Setup group, click Size to choose paper size. You’ll see the results of your choices as you make them. (What you see is what you print.)

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 19 of 105

Page 20: Advanced Excel 2007 - Handout

20

The New Workbook windowThe New Workbookwindow offers the perfect place to start in Excel.

When you click the Microsoft Office Button and then click New, the New Workbook window opens.

Get up to speed

, p

At the top of the window, you can select either a new blank workbook or a template.

A new file formatExcel has a new file format.

But you can still open and edit olderand edit older workbooks and share files with people who don’t have Excel 2007.

The new file format brings increased security for your files, reduced risk of file corruption, reduced file size,

Get up to speed

pand new features.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 20 of 105

Page 21: Advanced Excel 2007 - Handout

21

Working with files from earlier versionsIn Excel 2007, you can open files created in Excel 95 through Excel 2003.

But what if you’re the first person in your office to have Excel 2007? What if you need to need to share files with

Get up to speed

ydepartments that don’t have Excel 2007 yet?

Don’t panic. You can all share workbooks with each other.

• Old files stay old unless you choose otherwise.

– Excel will save an older file in its original format unless you specify

Working with files from earlier versions Here’s how:

Excel will save an older file in its original format unless you specify otherwise. For example, if it started in Excel 2003, Excel 2007 saves it in 2003 format by default.

• Newer features warn you if you save a file as older.

– When you save a file in a previous version’s format, and the 2007 features you used are not compatible with the previous version, a Compatibility Checker tells you so.

Get up to speed

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 21 of 105

Page 22: Advanced Excel 2007 - Handout

22

• You can always copy newer files in newer format first.

Working with files from earlier versions

– Just tell Excel you want an Excel Workbook (* xlsx) That copy of the

Here’s how:

• You can share documents between versions by using a converter.

– Colleagues with Excel 2000 through 2003 can open 2007 files by downloading and using a converter.

Just tell Excel you want an Excel Workbook ( .xlsx). That copy of the file will contain all the Excel 2007 features.

Get up to speed

Benefits of the new format The new file format means improvements to Excel.

Here are its chief benefits:

Get up to speed

• New features

• Safer files

• Less risk of file corruption

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 22 of 105

Page 23: Advanced Excel 2007 - Handout

23

Benefits of the new format The new file format means improvements to Excel.

Here are its chief benefits:

Get up to speed

• Reduced file size

• More useful data

New file formats, new options when you saveWhen you save a file in Excel 2007, you can choose from several file types.

• Excel Workbook (*.xlsx). Use when there are no macros or VBA code.

Get up to speed

• Excel Macro-Enabled Workbook (*.xlsm). Use when there are macros or VBA code.

• Excel Template (*.xltx). Use when you need a template.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 23 of 105

Page 24: Advanced Excel 2007 - Handout

24

New file formats, new options when you saveWhen you save a file in Excel 2007, you can choose from several file types.

• Excel Macro-Enabled Template (*.xltm). Use when you need a template and the workbook contains macros or VBA

Get up to speed

the workbook contains macros or VBA.

• Excel Binary Workbook (*.xlsb). Use with an especially large workbook.

New file formats, new options when you saveWhen you save a file in Excel 2007, you can choose from several file types.

• Excel 97-Excel 2003 Workbook (*.xls). Use when you need to share with someone working in a previous version of Excel

Get up to speed

someone working in a previous version of Excel.

• Microsoft Excel 5.0/95 Workbook (*.xls). Use when you need to share with someone using Microsoft Excel 5.0.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 24 of 105

Page 25: Advanced Excel 2007 - Handout

25

Microsoft® Office Excel® 2007 Training

Create your first workbookCreate your first workbook

Overview: Where to begin?

You’ve been asked to enter data in Excel 2007, but you’ve never worked with Excel. Where do you begin?

Or perhaps you have worked in Excel but still wonder how to do some of the basics like entering and editing text and numbers, or adding and deleting columns and rows.

Create your first workbook

Here you’ll learn the skills you need to work in Excel, quickly and with little fuss.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 25 of 105

Page 26: Advanced Excel 2007 - Handout

26

Meet the workbookWhen you start Excel, you’re faced with a big empty grid made up of columns, rows, and cellscells.

If you’re new to Excel, you may wonder what to do next.

Create your first workbook

So this course will start by helping you get comfortable with some Excel basics that will guide you when you enter data in Excel.

The RibbonThe band at the top of the Excel 2007 window is called the Ribbon.

The Ribbon is made up of different tabs, each of which is related to specific kinds of work that people do in

Create your first workbook

p p pExcel.

You click the tabs at the top of the Ribbon to see the different commands on each tab.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 26 of 105

Page 27: Advanced Excel 2007 - Handout

27

The RibbonThe Home tab, first on the left, contains the everyday commands that people use most.

The Ribbon spans the top of the Excel window.

C d th Ribb i d i ll l t d

The picture illustrates Home tab commands on the Ribbon.

Create your first workbook

Commands on the Ribbon are organized in small related groups. For example, commands to work with the contents of cells are grouped together in the Editinggroup, and commands to work with cells themselves are in the Cells group.

Workbooks and worksheetsWhen you start Excel, you open a file that’s called a workbook.

Each new workbookEach new workbook comes with three worksheets into which you enter data.

Shown here is a blank worksheet in a new workbook.

Create your first workbook

The first workbook you’ll open is called Book1. This title appears in the bar at the top of the window until you save the workbook with your own title.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 27 of 105

Page 28: Advanced Excel 2007 - Handout

28

Workbooks and worksheetsWhen you start Excel, you open a file that’s called a workbook.

Each new workbookEach new workbook comes with three worksheets into which you enter data.

Shown here is a blank worksheet in a new workbook.

Create your first workbook

Sheet tabs appear at the bottom of the window. It’s a good idea to rename the sheet tabs to make the information on each sheet easier to identify.

Workbooks and worksheetsYou may also be wondering how to create a new workbook.

1. Click the Microsoft Office Button in the upper-left portion of the window.

Here’s how.

Create your first workbook

p

2. Click New.

3. In the New Workbook window, click Blank Workbook.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 28 of 105

Page 29: Advanced Excel 2007 - Handout

29

Columns, rows, and cellsWorksheets are divided into columns, rows, and cells.

That’s the grid youThat s the grid you see when you open up a workbook.

Columns go from top to bottom on the worksheet, vertically. Each column has an alphabetical heading at

Create your first workbook

y p gthe top.

Rows go across the worksheet, horizontally. Each row also has a heading. Row headings are numbers, from 1 through 1,048,576.

Columns, rows, and cellsWorksheets are divided into columns, rows, and cells.

That’s the grid youThat s the grid you see when you open up a workbook.

The alphabetical headings on the columns and the numerical headings on the rows tell you where you are

Create your first workbook

g y yin a worksheet when you click a cell.

The headings combine to form the cell address. For example, the cell at the intersection of column A and row 3 is called cell A3. This is also called the cell reference.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 29 of 105

Page 30: Advanced Excel 2007 - Handout

30

Cells are where the data goesCells are where you get down to business and enter data in a worksheet.

The picture on the left shows what you see when you open a new workbook.

Create your first workbook

p

The first cell in the upper-left corner of the worksheet is the active cell. It’s outlined in black, indicating that any data you enter will go there.

Cells are where the data goesYou can enter data wherever you like by clicking any cell in the worksheet to select the cellthe cell.

When you select any cell, it becomes the active cell. As described earlier, it becomes outlined in black.

Create your first workbook

,

The headings for the column and row in which the cell is located are also highlighted.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 30 of 105

Page 31: Advanced Excel 2007 - Handout

31

Cells are where the data goesYou can enter data wherever you like by clicking any cell in the worksheet to select the cellthe cell.

For example, if you select a cell in column C on row 5, as shown in the picture on the right:

Create your first workbook

p g

Column C is highlighted.

Row 5 is highlighted.

Cells are where the data goesYou can enter data wherever you like by clicking any cell in the worksheet to select the cellthe cell.

For example, if you select a cell in column C on row 5, as shown in the picture on the right:

Create your first workbook

p g

The active cell, C5 in this case, is outlined. And its name—also known as the cell reference—is shown in the Name Box in the upper-left corner of the worksheet.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 31 of 105

Page 32: Advanced Excel 2007 - Handout

32

Cells are where the data goesThe outlined cell, highlighted column and row headings, and appearance of the cell reference in thecell reference in the Name Box make it easy for you to see that C5 is the active cell.

These indicators aren’t too important when you’re right at the top of the worksheet in the very first few cells.

Create your first workbook

p y

But when you work farther and farther down or across the worksheet, they can really help you out.

Enter dataYou can use Excel to enter all sorts of data, professional or personal.

You can enter two basic kinds of data into worksheet cells: numbers and text.

So you can use Excel to create budgets, work with taxes, record student grades or attendance, or list the

Create your first workbook

gproducts you sell. You can even log daily exercise, follow your weight loss, or track the cost of your house remodel. The possibilities really are endless.

Now let’s dive into data entry.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 32 of 105

Page 33: Advanced Excel 2007 - Handout

33

Be kind to your readers: start with column titlesWhen you enter data, it’s a good idea to start by entering titles at the top of each column.

This way, anyone who shares your worksheet can understand what the data means (and you can

Create your first workbook

( yunderstand it yourself, later on).

You’ll often want to enter row titles too.

Be kind to your readers: start with column titlesThe worksheet in the picture shows whether or not representatives from particular companies attended acompanies attended a series of monthly business lunches.

It uses column and row titles:

Th l titl th th f th th

Create your first workbook

The column titles are the months of the year, across the top of the worksheet.

The row titles down the left side are company names.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 33 of 105

Page 34: Advanced Excel 2007 - Handout

34

Start typingSay you’re creating a list of salespeople names.

The list will also haveThe list will also have the dates of sales, with their amounts.

So you’ll need these column titles: Name, Date, and Amount.

Create your first workbook

Start typingSay you’re creating a list of salespeople names.

The list will also haveThe list will also have the dates of sales, with their amounts.

The picture illustrates the process of typing the information and moving from cell to cell:

Create your first workbook

1. Type Name in cell A1 and press TAB. Then type Datein cell B1, press TAB, and type Amount in cell C1.

g

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 34 of 105

Page 35: Advanced Excel 2007 - Handout

35

Start typingSay you’re creating a list of salespeople names.

The list will also haveThe list will also have the dates of sales, with their amounts.

The picture illustrates the process of typing the information and moving from cell to cell:

Create your first workbook

2. After typing the column titles, click in cell A2 to begin typing the salespeople’s names. Type the first name, and then press ENTER to move the selection downthe column by one cell to cell A3. Then type the next name, and so on.

g

Enter dates and timesExcel aligns text on the left side of cells, but it aligns dates on the right side of cells.

To enter a date in column B, the Date column, you should use a slash or a hyphen to separate the parts:

Create your first workbook

yp p p7/16/2009 or 16-July-2009. Excel will recognize either as a date.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 35 of 105

Page 36: Advanced Excel 2007 - Handout

36

Enter dates and timesExcel aligns text on the left side of cells, but it aligns dates on the right side of cells.

If you need to enter a time, type the numbers, a space, and then a or p—for example, 9:00 p. If you put in just

Create your first workbook

p p p y p jthe number, Excel recognizes a time and enters it as AM.

Enter numbersExcel aligns numbers on the right side of cells.

To enter the sales amounts in column C, the Amountcolumn, you would type the dollar sign ($), followed by

Create your first workbook

y yp g ( ) ythe amount.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 36 of 105

Page 37: Advanced Excel 2007 - Handout

37

• To enter fractions, leave a space between the whole number and the fraction. For example, 1 1/8.

Enter numbers Other numbers and how to enter them

• To enter a fraction only, enter a zero first, for example, 0 1/4. If you enter 1/4 without the zero, Excel will interpret the number as a date, January 4.

• If you type (100) to indicate a negative number by parentheses, Excel will display the number as -100.

Create your first workbook

Quick ways to enter dataHere are two time-savers you can use to enter data in Excel: AutoComplete and AutoFillAutoFill.

AutoComplete: Type a few letters in a cell, and Excel can fill in the remaining characters for you. Just press

Create your first workbook

g y pENTER when you see them added.

AutoFill: Type one or more entries in an intended series, and then extend the series.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 37 of 105

Page 38: Advanced Excel 2007 - Handout

38

Edit data and revise worksheetsEveryone makes mistakes. Even data that you entered correctly can need updates later onupdates later on.

Sometimes, the whole worksheet needs a change.

Suppose you need to add another column of data, right in the middle of your worksheet. Or suppose you

Create your first workbook

g y pp ylist employees one per row, in alphabetical order—what do you do when you hire somebody new?

This lesson shows you how easy it is to edit data and add and delete worksheet columns and rows.

Edit dataSay that you meant to enter Peacock’s name in cell A2, but you entered Buchanan’s name by mistakename by mistake.

Once you spot the error, there are two ways to correct it.

Double-click a cell to edit the data in it.

O ft li ki i th ll dit th d t i th F l

Create your first workbook

Or, after clicking in the cell, edit the data in the Formula Bar.

After you select the cell by either method, the worksheet says Edit in the status bar in the lower-left corner.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 38 of 105

Page 39: Advanced Excel 2007 - Handout

39

Edit dataWhat’s the difference between the two methods?

Your convenience.

Here’s how you can make changes in either place:

D l t l tt b b i BACKSPACE

You may find the Formula Bar, or the cell itself, easier to work with.

Create your first workbook

• Delete letters or numbers by pressing BACKSPACE or by selecting them and then pressing DELETE.

• Edit letters or numbers by selecting them and then typing something different.

Edit dataWhat’s the difference between the two methods?

Your convenience.

Here’s how you can make changes in either place:

I t l tt b i t th ll’ d t b

You may find the Formula Bar, or the cell itself, easier to work with.

Create your first workbook

• Insert new letters or numbers into the cell’s data by positioning the cursor and typing.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 39 of 105

Page 40: Advanced Excel 2007 - Handout

40

Edit dataWhat’s the difference between the two methods?

Your convenience.

Whatever you do, when you’re all through, remember to press ENTER or TAB so that your changes stay in the

You may find the Formula Bar, or the cell itself, easier to work with.

Create your first workbook

p y g ycell.

Remove data formattingSurprise! Someone else has used your worksheet, filled in some data, and made the number in cell C6the number in cell C6 bold and red to highlight that Peacock made the highest sale.

But Peacock’s customer has changed her number, so the final sale was much smaller.

Create your first workbook

You want to remedy the situation.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 40 of 105

Page 41: Advanced Excel 2007 - Handout

41

Remove data formattingSurprise! Someone else has used your worksheet, filled in some data, and made the number in cell C6the number in cell C6 bold and red to highlight that Peacock made the highest sale.

As the picture shows:

Create your first workbook

The original number was formatted bold and red.

So you delete the number.

You enter a new number. But it’s still bold and red! What gives?

Remove data formattingWhat’s going on is that the cell itself is formatted, not data in the cell.

So when you delete data that has special formatting, you also need to delete the formatting from the cell.

Create your first workbook

g

Until you do, any data you enter in that cell will have special formatting.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 41 of 105

Page 42: Advanced Excel 2007 - Handout

42

Remove data formattingHere’s how to remove formatting.

1. Click in the cell, and then on the Home tab, in the Editing group, click the arrow on Clear .

Create your first workbook

2. Click Clear Formats, which removes the format from the cell. Or you can click Clear All to remove both the data and the formatting at the same time.

Insert a column or rowAfter entering data, you may find that you need to add columns or rows to hold additional informationadditional information.

Do you need to start over? Of course not.

To insert a single column:

1 Cli k ll i th l i di t l t th i ht

Create your first workbook

1. Click any cell in the column immediately to the right of where you want the new column to go.

2. On the Home tab, in the Cells group, click the arrow on Insert. On the drop-down menu, click Insert Sheet Columns. A new blank column is inserted.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 42 of 105

Page 43: Advanced Excel 2007 - Handout

43

Insert a column or rowAfter entering data, you may find that you need to add columns or rows to hold additional informationadditional information.

Do you need to start over? Of course not.

To insert a single row:

1 Cli k ll i th i di t l b l h

Create your first workbook

1. Click any cell in the row immediately below where you want the new row.

2. In the Cells group, click the arrow on Insert. On the drop-down menu, click Insert Sheet Rows. A new blank row is inserted.

Insert a column or rowAfter entering data, you may find that you need to add columns or rows to hold additional informationadditional information.

Do you need to start over? Of course not.

Excel gives a new column or row the heading its place requires, and changes the headings of later columns

Create your first workbook

q g gand rows.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 43 of 105

Page 44: Advanced Excel 2007 - Handout

44

Microsoft® Office Excel® 2007 Training

Enter formulasEnter formulas

Overview: Goodbye, calculator

Excel is great for working with numbers and math. In this course you’ll learn how add, divide, multiply, and subtract by typing formulas intoand subtract by typing formulas into Excel worksheets.

You’ll also learn how to use simple formulas that automatically update their results when values change.

Enter formulas

After picking up the techniques in this course, you’ll be able to put your calculator away for good.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 44 of 105

Page 45: Advanced Excel 2007 - Handout

45

Get startedImagine that Excel is open and you’re looking at the “Entertainment” section of a householdsection of a household expense budget.

Cell C6 in the worksheet is empty; the amount spent for CDs in February hasn’t been entered yet.

Enter formulas

y y

In this lesson, you’ll learn how to use Excel to do basic math by typing simple formulas into cells. You’ll also learn how to total all the values in a column with a formula that updates its result if values change later.

Begin with an equal signThe two CDs purchased in February cost $12.99 and $16.99.

The total of these two values is the CD expense for the month.

Enter formulas

You can add these values in Excel by typing a simple formula into cell C6.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 45 of 105

Page 46: Advanced Excel 2007 - Handout

46

Begin with an equal signThe picture illustrates what to do.

Type a formula in cell C6. Excel formulas always begin with an equal sign. To add 12.99 and 16.99, type:

Enter formulas

t a equa s g o add 99 a d 6 99, type

=12.99+16.99

The plus sign (+) is the math operator that tells Excel to add the values.

Begin with an equal signThe picture illustrates what to do.

Press ENTER to display the formula result.

Enter formulas

If you wonder later how you got this result, you can click in cell C6 any time and view the formula in the formula bar near the top of the worksheet.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 46 of 105

Page 47: Advanced Excel 2007 - Handout

47

Use other math operatorsTo do more than add, use other math operators as you type formulas into worksheet cells

Math operatorsAdd (+) =10+5

Subtract ( ) =10 5 worksheet cells.

Excel uses familiar signs to build formulas.

As the table shows, use a minus sign (-) to subtract, an asterisk (*) to multiply, and a forward slash (/) to divide.

Subtract (-) =10-5

Multiply (*) =10*5

Divide (/) =10/5

Enter formulas

( ) p y ( )

Remember to always start each formula with an equal sign.

Total all the values in a columnTo add up the total of expenses for January, you don’t have to type all those values again.

Instead, you can use a prewritten formula called a function.

To get the January total, click in cell B7 and then:

Enter formulas

On the Home tab, click the Sum button in the Editing group.

A color marquee surrounds the cells in the formula, and the formula appears in cell B7.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 47 of 105

Page 48: Advanced Excel 2007 - Handout

48

Total all the values in a columnTo add up the total of expenses for January, you don’t have to type all those values again.

Instead, you can use a prewritten formula called a function.

To get the January total, click in cell B7 and then:

Enter formulas

Press ENTER to display the result in cell B7: 95.94.

Click in cell B7 to display the formula =SUM(B3:B6) in the formula bar.

Total all the values in a columnB3:B6 is the information, called the argument, that tells the SUM function what to addto add.

By using a cell reference (B3:B6) instead of the values in those cells, Excel can automatically update results if

Enter formulas

y pvalues change later on.

The colon (:) in B3:B6 indicates a cell range in column B, rows 3 through 6. The parentheses are required to separate the argument from the function.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 48 of 105

Page 49: Advanced Excel 2007 - Handout

49

Copy a formula instead of creating a new oneSometimes it’s easier to copy formulas than to create new ones.

In this section, you’ll see how to copy the formula you used to get the January total and use it to add up

Enter formulas

g y pFebruary’s expenses.

Copy a formula instead of creating a new oneFirst, select cell B7.

Then position the mouse pointer over the lower-right corner

Next, as the picture shows:

the lower-right corner of the cell until the black cross (+) appears.

D th fill h dl f ll B7 t ll C7 d

Enter formulas

Drag the fill handle from cell B7 to cell C7, and release the fill handle. The February total 126.93 appears in cell C7.

The formula =SUM(C3:C6) will also become visible in the formula bar near the top of the worksheet.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 49 of 105

Page 50: Advanced Excel 2007 - Handout

50

Copy a formula instead of creating a new oneFirst, select cell B7.

Then position the mouse pointer over the lower-right corner

Next, as the picture shows:

the lower-right corner of the cell until the black cross (+) appears.

Th A t Fill O ti b tt t i

Enter formulas

The Auto Fill Options button appears to give you some formatting options. In this case, you don’t need formatting options, so no action is required. The button disappears when you next make an entry in the cell.

Use cell referencesCell referencesidentify individual cells or cell ranges in columns and rows.

Cell references Refer to values inA10 the cell in column A and row 10

A10,A20 cell A10 and cell A20

Cell references tell Excel where to look for values to use in a formula.

Excel uses a reference style called A1, which refers to columns with letters and to rows with numbers. The

A10:A20 the range of cells in column A and rows 10 through 20

B15:E15 the range of cells in row 15 and columns B through E

A10:E20 the range of cells in columns A through E and rows 10 through 20

Enter formulas

numbers and letters are called row and column headings.

This lesson shows how Excel can automatically update the results of formulas that use cell references, and how cell references work when you copy formulas.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 50 of 105

Page 51: Advanced Excel 2007 - Handout

51

Update formula resultsSuppose the 11.97 value in cell C4 was incorrect. A 3.99 video rental was left out.

Excel can automatically update totals to include changed values.

To add 3.99 to 11.97, you would click in cell C4, type the following formula into the cell, and then press ENTER:

Enter formulas

g p

=11.97+3.99

Update formula resultsAs the picture shows, when the value in cell C4 changes, Excel automatically updates the February total inthe February total in cell C7 from 126.93 to 130.92.

Excel can do this because the original formula =SUM(C3:C6) in cell C7 contains cell references.

Enter formulas

( )

If you had entered 11.97 and other specific values into a formula in cell C7, Excel would not be able to update the total. You’d have to change 11.97 to 15.96 not only in cell C4, but in the formula in cell C7 as well.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 51 of 105

Page 52: Advanced Excel 2007 - Handout

52

Other ways to enter cell referencesYou can type cell references directly into cells, or you can enter cell references by clicking cells whichclicking cells, which avoids typing errors.

In the first lesson you saw how to use the SUM function to add all the values in a column.

Enter formulas

You could also use the SUM function to add just a few values in a column, by selecting the cell references to include.

Other ways to enter cell referencesImagine that you want to know the combined cost for video rentals and CDs in February.

In cell C9, type the equal sign, type SUM, and type an opening parenthesis.

The example shows you how to enter a formula into cell C9 by clicking cells.

Enter formulas

ope g pa e t es s

Click cell C4. The cell reference for cell C4 appears in cell C9. Type a comma after it in cell C9.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 52 of 105

Page 53: Advanced Excel 2007 - Handout

53

Other ways to enter cell referencesImagine that you want to know the combined cost for video rentals and CDs in February.

Click cell C6. That cell reference appears in cell C9 following the comma. Type a closing parenthesis after it.

The example shows you how to enter a formula into cell C9 by clicking cells.

Enter formulas

o o g t e co a ype a c os g pa e t es s a te t

Press ENTER to display the formula result, 45.94.

A color marquee surrounds each cell as it is selected and disappears when you press ENTER to display the result.

Other ways to enter cell referencesHere’s a little more information about how this formula works.

The arguments C4 and C6 tell the SUM function what values to calculate with. The parentheses are required to

Enter formulas

p qseparate the arguments from the function.

The comma, which is also required, separates the arguments.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 53 of 105

Page 54: Advanced Excel 2007 - Handout

54

Reference typesNow that you’ve learned about using cell references, it’s time to talk about the different typesdifferent types.

The picture shows two types, relative and absolute.

Relative references automatically change as they’re copied down a column or across a row.

Enter formulas

p

When the formula =C4*$D$9 is copied from row to row in the picture, the relative cell references change from C4 to C5 to C6.

Reference typesNow that you’ve learned about using cell references, it’s time to talk about the different typesdifferent types.

The picture shows two types, relative and absolute.

Absolute references are fixed. They don’t change if you copy a formula from one cell to another. Absolute

Enter formulas

pyreferences have dollar signs ($) like this: $D$9.

As the picture shows, when the formula =C4*$D$9 is copied from row to row, the absolute cell reference remains as $D$9.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 54 of 105

Page 55: Advanced Excel 2007 - Handout

55

Reference typesThere’s one more type of cell reference.

The mixed referencehas either an absolute

For example, $A1 is an absolute reference to column A and a relative reference to row 1.

has either an absolute column and a relative row, or an absolute row and a relative column.

Enter formulas

As a mixed reference is copied from one cell to another, the absolute reference stays the same but the relative reference changes.

Using an absolute cell referenceYou use absolute cell references to refer to cells that you don’t want to change as the formula is copiedformula is copied.

References are relative by default, so you would have to type dollar signs, as shown by callout 2 in the picture, to

Enter formulas

yp g , y p ,change the reference type to absolute.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 55 of 105

Page 56: Advanced Excel 2007 - Handout

56

Using an absolute cell referenceSay you receive some entertainment coupons offering a 7 percent discount for video rentals moviesvideo rentals, movies, and CDs. How much could you save in a month by using the discounts?

You could use a formula to multiply those February expenses by 7 percent.

Enter formulas

p y p

So start by typing the discount rate .07 in the empty cell D9, and then type the formula in cell D4.

Using an absolute cell referenceSay you receive some entertainment coupons offering a 7 percent discount for video rentals moviesvideo rentals, movies, and CDs. How much could you save in a month by using the discounts?

Then in cell D4, type =C4*. Remember that this relative cell reference will change from row to row.

Enter formulas

ce e e e ce c a ge o o to o

Enter a dollar sign ($) and D to make an absolute reference to column D, and $9 to make an absolute reference to row 9. Your formula will multiply the value in cell C4 by the value in cell D9.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 56 of 105

Page 57: Advanced Excel 2007 - Handout

57

Using an absolute cell referenceSay you receive some entertainment coupons offering a 7 percent discount for video rentals moviesvideo rentals, movies, and CDs. How much could you save in a month by using the discounts?

Cell D9 contains the value for the 7 percent discount.

Enter formulas

You can copy the formula from cell D4 to D5 by using the fill handle. As the formula is copied, the relative cell reference changes from C4 to C5, while the absolute reference to the discount in D9 does not change; it remains as $D$9 in each row it is copied to.

Simplify formulas by using functionsFunction names express long formulas quickly.

As prewritten

Function CalculatesAVERAGE an average

MAX the largest n mber As prewritten formulas, functions simplify the process of entering calculations.

Using functions, you can easily and quickly create formulas that might be difficult to build for yourself.

MAX the largest number

MIN the smallest number

Enter formulas

g y

SUM is just one of the many Excel functions. In this lesson you’ll see how to speed up tasks with a few other easy ones.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 57 of 105

Page 58: Advanced Excel 2007 - Handout

58

Find an averageYou can use the AVERAGE function to find the mean average cost of all entertainment forentertainment for January and February.

Excel will enter the formula for you.

Click in cell D7, and then:

Enter formulas

On the Home tab, in the Editing group, click the arrow on the Sum button, and then click Average in the list.

Press ENTER to display the result in cell D7.

Find the largest or smallest valueThe MAX function finds the largest number in a range, and the MIN function finds the smallestfinds the smallest number in a range.

The picture illustrates the use of MAX.

Start by clicking in cell F7. Then:

Enter formulas

On the Home tab, in the Editing group, click the arrow on the Sum button, and then click Max in the list.

Press ENTER to display the result in cell F7. The largest value in the series is 131.95.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 58 of 105

Page 59: Advanced Excel 2007 - Handout

59

Find the largest or smallest valueThe MAX function finds the largest number in a range, and the MIN function finds the smallestfinds the smallest number in a range.

The picture illustrates the use of MAX.

To find the smallest value in the range, you would click Min in the list and press ENTER.

Enter formulas

p

The smallest value in the series is 131.75.

Print formulasYou can print formulas and put them up on your bulletin board to remind you how to create themcreate them.

But first, you need to display the formulas on the worksheet.

Here’s how:

Enter formulas

1. Click the Formulas tab.

2. In the Formula Auditing group, click Show Formulas .

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 59 of 105

Page 60: Advanced Excel 2007 - Handout

60

Print formulasYou can print formulas and put them up on your bulletin board to remind you how to create themcreate them.

But first, you need to display the formulas on the worksheet.

Here’s how:

Enter formulas

3. Click the Microsoft Office Button in the upper-left corner of the Excel window, and click Print.

Tip: You can also press CTRL+` to display and hide formulas.

What’s that funny thing in my worksheet?Sometimes Excel can’t calculate a formula because the formula contains an errorerror.

If that happens, you’ll see an error value in a cell instead of a result.

Here are three common error values:

Enter formulas

• #### The column isn’t wide enough to display the contents of the cell. To fix the problem, you can increase column width, shrink the contents to fit the column, or apply a different number format.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 60 of 105

Page 61: Advanced Excel 2007 - Handout

61

What’s that funny thing in my worksheet?Sometimes Excel can’t calculate a formula because the formula contains an errorerror.

If that happens, you’ll see an error value in a cell instead of a result.

Here are three common error values:

Enter formulas

• #REF! A cell reference isn’t valid. Cells may have been deleted or pasted over.

• #NAME? You may have misspelled a function name or used a name that Excel doesn’t recognize.

Find more functionsExcel offers many other useful functions, such as date and time functions and functions you can usefunctions you can use to manipulate text.

1 Click the Sum button in the Editing group on the

To see all the other functions:

Enter formulas

1. Click the Sum button in the Editing group on the Home tab.

2. Click More Functions in the list.

3. In the Insert Function dialog box that opens, you can search for a function.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 61 of 105

Page 62: Advanced Excel 2007 - Handout

62

Find more functionsExcel offers many other useful functions, such as date and time functions and functions you can usefunctions you can use to manipulate text.

In addition to searching for a function in this dialog box, you can select a category and then scroll through the list

Enter formulas

you can select a category and then scroll through the list of functions in the category.

And you can click Help on this function at the bottom of the dialog box to find out more about any function.

Microsoft® Office Excel® 2007 Training

Some of the important functions

* Named Ranges* Past Special* Sorting, Auto filtering & Advance Filtering Data* Lookup & Logical Functions* Sharing & Reviewing Workbooks* Security setting

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 62 of 105

Page 63: Advanced Excel 2007 - Handout

63

Named ranges - Select specific cells or range

Whether or not you define named cells or ranges (range: Two or more cells onWhether or not you define named cells or ranges (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) on your worksheet, you can use the Name box (Name box: Box at left end of the formula bar that identifies the selected cell, chart item, or drawing object. To name a cell or range,type the name in the Name box and press ENTER. To move to and select a named cell, click its name in the Name box.) to quickly locate and select them byentering their names or their cell references (cell reference: The set of coordinates that a cell occupies on a worksheet. For example, the reference of the cell that appears at the intersection of column B and row 3 is B3.). You can also

Named Ranges

select named or unnamed cells or ranges by using the Go To command.

Named Ranges

IMPORTANT To select named cells and ranges, you must first define them on your worksheet (worksheet: The primary document that you use in Excel to store and work with data. Also called a spreadsheet. A worksheet consists of cells that are organized into columns and rows; a worksheet is always stored in a workbook.).

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 63 of 105

Page 64: Advanced Excel 2007 - Handout

64

Paste Special when copying from ExcelUse the Paste Special dialog to copy complex items from a Microsoft Office Excel worksheet and paste them into the same worksheet or another Excel worksheet using only specific attributes of the copied data, or a mathematical operation that you want to apply to the copied data.

Paste Special

Past

All Pastes all cell contents and formatting of the copied data.Formulas Pastes only the formulas of the copied data as entered in the formula bar.Values Pastes only the values of the copied data as displayed in the cellsValues Pastes only the values of the copied data as displayed in the cells.Formats Pastes only cell formatting of the copied data.Comments Pastes only comments attached to the copied cell.Validation Pastes data validation rules for the copied cells to the paste area.All using Source theme Pastes all cell contents in the document theme formatting that is applied to the copied data.All except borders Pastes all cell contents and formatting applied to the copied cell except borders.Column widths Pastes the width of one copied column or range of columns to

Paste Special

p ganother column or range of columns.Formulas and number formats Pastes only formulas and all number formatting options from the copied cells.Values and number formats Pastes only values and all number formatting options from the copied cells.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 64 of 105

Page 65: Advanced Excel 2007 - Handout

65

OperationSpecify which mathematical operation, if any, that you want to apply to the copied data.

None Specifies that no mathematical operation will be applied to the copied data.Add Specifies that the copied data will be added to the data in the destination cell or range of cells.Subtract Specifies that the copied data will be subtracted from the data in the destination cell or range of cells.Multiply Specifies that the copied data will be multiplied with the data in the destination cell or range of cells.Divide Specifies that the copied data will be divided by the data in the destination cell or range of cells.Ski bl k A id l i l i t h bl k ll

Paste Special

Skip blanks Avoids replacing values in your paste area when blank cells occur in the copy area when you select this check box.Transpose Changes columns of copied data to rows, and vice versa when you select this check box.Paste Link Links the pasted data on the active worksheet to the copied data.

DATA SORTINGSorting data is an integral part of data analysis.In Excel 2007, you can apply sort states with up to sixty-four sort conditionsto sort data by, but earlier versions of Excel support sort states with up to three

diti lconditions only.

DATA SORTING

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 65 of 105

Page 66: Advanced Excel 2007 - Handout

66

DATA SORTING

Filter data in a range or tableUsing AutoFilter to filter data is a quick and easy way to find and work with a subset of data in a range of cells or table column.Filtered data displays only the rows that meet criteria (criteria: Conditions you specifyFiltered data displays only the rows that meet criteria (criteria: Conditions you specify to limit which records are included in the result set of a query or filter.) that you specify and hides rows that you do not want displayed. After you filter data, you can copy, find, edit, format, chart, and print the subset of filtered data without rearranging or moving it.

You can also filter by more than one column. Filters are additive, which means that each additional filter is based on the current filter and further reduces the subset of data.

Filter data in range or table

Using AutoFilter, you can create three types of filters: by a list values, by a format, or by criteria. Each of these filter types is mutually exclusive for each range of cells or column table. For example, you can filter by cell color or by a list of numbers, but not by both; you can filter by icon or by a custom filter, but not by both.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 66 of 105

Page 67: Advanced Excel 2007 - Handout

67

Filter data in range or table

Filter by using advanced criteriaTo filter a range of cells by using complex criteria, use the Advanced command in the Sort & Filter group on the Data tab. The Advanced command works differently from the Filter command in several important ways.from the Filter command in several important ways.You type the advanced criteria in a separate criteria range on the worksheet and above the range of cells or table you want to filter. Microsoft Office Excel uses the separate criteria range in the Advanced Filter dialog box as the source for the advanced criteria.Note : Insert at least three blank rows above the range that can be used as a criteria range. The criteria range must have column labels.Make sure that there is at least one blank row betweenthe criteria values and the range.

Advanced Filter

the criteria values and the range.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 67 of 105

Page 68: Advanced Excel 2007 - Handout

68

IMPORTANT

Because the equal sign (=) is used to indicate a formula when you type text or a value in a cell, Excel evaluates what you type; however, this may cause unexpected filter results To indicate an equality comparison operator for either text or a valuefilter results. To indicate an equality comparison operator for either text or a value, type the criteria as a string expression in the appropriate cell in the criteria range:

=''=entry'‘

Where entry is the text or value you want to find. For example:

Advanced Filter

Multiple criteria in one column

To find rows that meet multiple criteria for one column, type the criteria directly below each other in separate rows of the criteria range.

In the following data range (A6:C10), the criteria range

(B1:B3) displays the rows that contain either"Davolio" or "Buchanan" in the Salesperson column (A8:C10).

Advanced Filter

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 68 of 105

Page 69: Advanced Excel 2007 - Handout

69

Multiple criteria in multiple columns where all criteria must be true

To find rows that meet multiple criteria in multiple columns, type all of the criteria in the same row of the criteria range.

In the following data range (A6:C10), the criteria range (A1:C2) displays all rows that contain "Produce" in the Type column and a value greater than $1,000 in the Sales column (A9:C10).

Advanced Filter

Multiple criteria in multiple columns where any criteria can be true

To find rows that meet multiple criteria in multiple columns, where any p p , ycriteria can be true, type the criteria in different rows of the criteria range.

In the following data range (A6:C10), the criteria range (A1:B3) displays all rows that contain "Produce" in the Type column or "Davolio" in the Salesperson column (A8:C10).

Advanced Filter

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 69 of 105

Page 70: Advanced Excel 2007 - Handout

70

Multiple sets of criteria where each set includes criteria for multiple columns

To find rows that meet multiple sets of criteria, where each set includes criteria for multiple columns, type each set of criteria in separate rows.

In the following data range (A6:C10), the criteria range (B1:C3) displays the rows that contain both "Davolio" in the Salesperson column and a value greater than $3,000 in the Sales column, or displays the rows that contain "Buchanan" in the Salesperson and a value greater than

Advanced Filter

the Salesperson and a value greater than $1,500 in the Sales column (A9:C10).

Multiple sets of criteria where each set includes criteria for one column

To find rows that meet multiple sets of criteria, where each set includes criteria for one column, include multiple columns with the same column heading.

In the following data range (A6:C10), the criteria range (C1:D3) displays rows that contain values between 5,000 and 8,000 and values less than 500 in the Sales column (A8:C10)

Advanced Filter

column (A8:C10).

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 70 of 105

Page 71: Advanced Excel 2007 - Handout

71

VLOOKUP

Searches for a value in the first column of a table array and returns a value in the same row from another column in the table array.The V in VLOOKUP stands for vertical Use VLOOKUP instead ofThe V in VLOOKUP stands for vertical. Use VLOOKUP instead of HLOOKUP when your comparison values are located in a column to the left of the data that you want to find.

VLOOKUP

Syntax

VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

Lookup_value The value to search in the first column of the table array. Lookup_value can be a value or a reference. If lookup value is smaller than the smallest value in the first column of table array, VLOOKUP returns the #N/A error value.Table array Two or more columns of data. Use a reference to a range or a range name. The values in the first column of table array are the values searched by lookup_value. These values can be text, numbers, or logical

l U d l t t i l t

VLOOKUP

values. Uppercase and lowercase text are equivalent.Col_index_num The column number in table_array from which the matching value must be returned. A col_index_num of 1 returns the value in the first column in table_array; a col_index_num of 2 returns the value in the second column in table_array, and so on.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 71 of 105

Page 72: Advanced Excel 2007 - Handout

72

Logical functions

Function : DescriptionAND : Returns TRUE if all of its arguments are TRUEFALSE : Returns the logical value FALSEIF : Specifies a logical test to performIFERROR : Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formulaNOT : Reverses the logic of its argumentOR : Returns TRUE if any argument is TRUE

Logical Functions

TRUETRUE : Returns the logical value TRUE

Sharing & Reviewing Workbooks

There are many ways to share, analyze, and communicate business information and data in Microsoft Office Excel 2007. The way that you choose to share data depends on many factors, including how you want others to view or work with the data. For example, do you want to keep sensitive or important information from being modified, or do you want to allow users to change and edit the data? Perhaps you need to share data with users who do not have Microsoft Office Excel or have different versions of Excel. Maybe you just want to share a fixed version of your workbook that can easily be sent in e-mail and printed.

Sharing & Reviewing

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 72 of 105

Page 73: Advanced Excel 2007 - Handout

73

This article is an overview that discusses how to share data in Excel, what you and others need in order to view or work with the data, and the limitations that are associated with sharing data. It also includes links to more detailed articles.

* Using Excel Services to share data while maintaining one version of the workbook

* Collaborating on workbooks on a document management server

* Distributing data through e-mail, by fax, or by printing

* Exchanging workbooks with users who use earlier versions of Excel

* Distributing workbooks to users who do not have Excel

Sharing & Reviewing

Distributing workbooks to users who do not have Excel

* Allowing multiple users to edit a workbook simultaneously

* Distributing copies of a workbook and then merge or consolidate data from each copy

Trust Center : Security Settings

The Trust Center is where you can find security and privacy settings for the 2007 Microsoft Office system programs. The Very High, High, Medium, and Low security levels that were used in earlier versions of Office are now replaced with a more streamlined security system.

1. Click the Microsoft Office Button , and then click Program Name Options, where Program Name is the name of the program you are in, for example, Word Options.

2. Click Trust Center, and then click Trust Center Settings.

Security Settings

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 73 of 105

Page 74: Advanced Excel 2007 - Handout

74

Microsoft® Office Excel® 2007 Training

Create a chartCreate a chart

Overview: Charts make data visual

A chart gets your point across—fast. With a chart, you can transform worksheet data to show comparisons, patterns and trendspatterns, and trends.So instead of having to analyze columns of worksheet numbers, you can see at a glance what the data means.This course presents the basics of creating charts in Excel 2007.

Create a chart

g

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 74 of 105

Page 75: Advanced Excel 2007 - Handout

75

Create a basic chartHere’s a basic chart in Excel, which you can put together in about 10 seconds.

After you create a chart, you can easily add new elements to it such as chart titles or a new layout.

Create a chart

yIn this lesson you’ll find out how to create a basic chart and learn how the text and numbers from a worksheet become the contents of a chart. You’ll also learn a few other chart odds and ends.

Create your chartHere’s a worksheet that shows how many cases of Northwind Traders Tea were sold by each of three salespeople in three months.

You want to create a chart that shows how each salesperson compares against the others, month by

Create a chart

p p g ymonth, for the first quarter of the year.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 75 of 105

Page 76: Advanced Excel 2007 - Handout

76

Create your chartThe picture shows the steps for creating the chart.

Select the data that you want to chart, including the column titles (January, February, March) and the row

Create a chart

( y, y, )labels (the salesperson names).

Click the Insert tab, and in the Charts group, click the Column button.

Create your chartThe picture shows the steps for creating the chart.

You’ll see a number of column chart types to choose from. Click Clustered Column, the first column chart in

Create a chart

,the 2-D Column list.

That’s it. You’ve created a chart in about 10 seconds.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 76 of 105

Page 77: Advanced Excel 2007 - Handout

77

Create your chartIf you want to change the chart type after creating your chart, click inside the chart.

On the Design tab under Chart Tools, in the Typegroup, click Change Chart Type. Then select the chart

Create a chart

g p, g yptype you want.

How worksheet data appears in the chartHere’s how your new column chart looks.

It shows you at once that Cencini (represented by the middle column for each month) sold the most tea in

Create a chart

)January and February but was outdone by Giussani in March.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 77 of 105

Page 78: Advanced Excel 2007 - Handout

78

How worksheet data appears in the chartData for each salesperson appears in three separate columns, one for each month.

The height of each chart is proportional to the value in the cell that it represents.

Create a chart

So the chart immediately shows you how the salespeople stack up against each other, month by month.

How worksheet data appears in the chartEach row of salesperson data has a different color in the chart.

The chart legend, created from the row titles in the worksheet (the salesperson names), tells which color

Create a chart

( p )represents the data for each salesperson. Giussani data, for example, is the darkest blue, and is the left-most column for each month.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 78 of 105

Page 79: Advanced Excel 2007 - Handout

79

How worksheet data appears in the chartThe column titles from the worksheet—January, February, and March—are now at the bottom of the chart.

On the left side of the chart, Excel has created a scale of numbers to help you to interpret the column heights.

Create a chart

p y p g

Chart Tools: Now you see them, now you don’tBefore you do more work with your chart, you need to know about the Chart Tools.

After your chart is inserted on the worksheet, the Chart Tools appear on the Ribbon with three tabs: Design,

Create a chart

pp gLayout, and Format. On these tabs, you’ll find the commands you need to work with charts.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 79 of 105

Page 80: Advanced Excel 2007 - Handout

80

Chart Tools: Now you see them, now you don’tWhen you complete the chart, click outside it. The Chart Tools go away.

So don’t worry if you don’t see all the commands you need at all times.

To get them back, click inside the chart. Then the tabs reappear.

Create a chart

Take the first steps either by inserting a chart (using the Charts group on the Insert tab), or by clicking inside an existing chart. The commands you need will be at hand.

Change the chart viewYou can do more with your data than create one chart.

You can make your chart compare data another way by clicking a button to switch from one chart view to

Create a chart

ganother. The picture shows two different views of the same worksheet data.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 80 of 105

Page 81: Advanced Excel 2007 - Handout

81

Change the chart viewThe chart on the left is the chart you first created, which compares salespeople to each other.

Excel grouped data by worksheet columns and compared worksheet rows to show how each

Create a chart

psalesperson compares against the others.

Change the chart viewBut another way to look at the data is to compare sales for each salesperson, month over month.

To create this view of the chart, click Switch Row/Column in the Data group on the Design tab.

Create a chart

g p gIn the chart on the right, data is grouped by rows and compares worksheet columns. So now your chart says something different: It shows how each salesperson did, month by month, compared against themselves.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 81 of 105

Page 82: Advanced Excel 2007 - Handout

82

Add chart titlesIt’s a good idea to add descriptive titles to your chart, so that readers don’t have to guess what the chart is about.

You can give a title to the chart itself, as well as to the chart axes, which measure and describe the chart data.

Create a chart

This chart has two axes. On the left side is the vertical axis, which is the scale of numbers by which you can interpret the column heights. The months of the year at the bottom are on the horizontal axis.

Add chart titlesA quick way to add chart titles is to click the chart to select it, and then go to the Charts Layout group on the Design tab.

Click the More button to see all the layouts. Each option shows different layouts that change the way chart

Create a chart

p y g yelements are laid out.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 82 of 105

Page 83: Advanced Excel 2007 - Handout

83

Add chart titlesThe picture shows Layout 9, which adds placeholders for a chart title and axes titles.

The title for this chart is Northwind Traders Tea, the name of the product.

You type the titles directly in the chart.

Create a chart

name of the product.

The title for the vertical axis on the left is Cases Sold.

The title for the horizontal axis at the bottom is First Quarter Sales.

Customize your chartAfter you create your chart, you can customize it to give it a more professional design.

For example, you can give your chart a whole different set of colors by selecting a new chart style.

Create a chart

y g yYou can also format chart titles to change them from plain to fancy. And there are many different formatting options you can apply to individual columns to make them stand out.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 83 of 105

Page 84: Advanced Excel 2007 - Handout

84

Change the look of your chartWhen you first create your chart, it’s in a standard color. By using a chart style, you can apply different colors to a chart in just seconds.

First, click in the chart. Then on the Design tab, in the Chart Styles group, click the More button to see all

Create a chart

y g pthe choices.

Then click the style you want.

Change the look of your chartWhen you first create your chart, it’s in a standard color. By using a chart style, you can apply different colors to a chart in just seconds.

Some of the styles change just the color of the columns.

Create a chart

Others change the color and add an outline around the columns, while other styles add color to the plot area (the area bounded by the chart axes). And some styles add color to the chart area (the entire chart).

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 84 of 105

Page 85: Advanced Excel 2007 - Handout

85

Change the look of your chartIf you don’t see what you want in the Chart Styles group, you can get other color choices by selecting a different theme.

Click the Page Layout tab, and then click Colors in the Themes group.

Create a chart

g pWhen you rest the pointer over a color scheme, the colors are shown in a temporary preview on the chart. Click the one you like to apply it to the chart.

Change the look of your chartImportant

Unlike a chart style, the colors from a theme will be applied to other

For example, a table or a cell style such as a heading will take on the colors of the theme applied to the chart.

ppelements you might add to the worksheet.

Create a chart

pp

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 85 of 105

Page 86: Advanced Excel 2007 - Handout

86

Format titlesIf you’d like to make the chart or axis titles stand out more, that’s also easy to do.

On the Format tab, in the WordArt Styles group, there are many ways to work with the titles.

Create a chart

y yThe picture shows that one of the options in the group, a text fill, has been added to change the color.

Format titlesTo use a text fill, first click in a title area to select it.

Then click the arrow on Text Fill in the WordArt Styles group. Rest the pointer over any of the colors to

Create a chart

y g p p ysee the changes in the title. When you see a color you like, select it.

Text Fill also includes options to apply a gradient or a texture to a title.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 86 of 105

Page 87: Advanced Excel 2007 - Handout

87

Format titlesTo make font changes, such as making the font larger or smaller—or to change the font face—click Home, and then go to the Font group.

Or you can make the same formatting changes by using the Mini toolbar.

Create a chart

The toolbar appears in a faded fashion after you select the title text. Point at the toolbar and it becomes solid, and then you can select a formatting option.

Format individual columnsThere is still more that you can do with the format of the columns in your chart.

In the picture, a shadow effect has been added to each of the columns (an offset diagonal shadow is behind

Create a chart

( geach column).

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 87 of 105

Page 88: Advanced Excel 2007 - Handout

88

Format individual columnsHere’s how to add a shadow effect to columns.

1. Click one of Giussani’s columns. That will select all three columns for Giussani (known as a series).

Create a chart

( )

2. On the Format tab, in the Shape Styles group, click the arrow on Shape Effects.

Format individual columnsHere’s how to add a shadow effect to columns.

3. Point to Shadow, and then rest the pointer on the different shadow styles in the list.

Create a chart

4. You can see a preview of the shadows as you rest the pointer on each style. When you see one you like, select it.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 88 of 105

Page 89: Advanced Excel 2007 - Handout

89

Format individual columnsThe Shape Styles group offers plenty of other great formatting options to choose from.

For example, Shape Effects offers more than just shadows. You can add bevel effects and soft edges to

Create a chart

gcolumns, or even make columns glow.You can also click Shape Fill to add a gradient or a texture to the columns, or click Shape Outline to add an outline around the columns.

Add your chart to a PowerPoint presentationWhen your chart looks just the way you want and it’s ready for a debut, you can easily add it to a Microsoft Office PowerPoint®presentation. Here’s how it works.

1. Copy the chart in Excel.

2 O P P i 200

Create a chart

2. Open PowerPoint 2007.

3. On the slide you want the chart to be on, paste the chart.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 89 of 105

Page 90: Advanced Excel 2007 - Handout

90

Add your chart to a PowerPoint presentationWhen your chart looks just the way you want and it’s ready for a debut, you can easily add it to a Microsoft Office PowerPoint®presentation. Here’s how it works.

4. In the chart’s lower-right corner, the Paste Optionsbutton appears Click the button

Create a chart

button appears. Click the button.

Now you’re ready to present your chart.

Microsoft® Office Excel® 2007 Training

Get started withGet started with PivotTable® reports

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 90 of 105

Page 91: Advanced Excel 2007 - Handout

91

Overview: Make sense out of data

Your worksheet has lots of data, but do you know what those numbers mean? Does the data answer your questions?

PivotTable reports offer a fast and powerful way to analyze numerical data, look at the same data in different ways, and answer questions about it.

In this short course you’ll learn how

Get started with PivotTable reports

PivotTable reports work and find out how to create one in Excel 2007.

Make your data work for youImagine an Excel worksheet of sales figures. It lays out thousands of rows of data aboutdata about salespeople in two countries along with how much they sold on individual days.

It’s a lot of data to deal with—listed in row after row and divided into multiple columns. How can you get

Get started with PivotTable reports

information out of the worksheet and make sense out of all of the data?

Use PivotTable reports. They turn the data into small, concise reports that tell you exactly what you need to know.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 91 of 105

Page 92: Advanced Excel 2007 - Handout

92

Review your source dataBefore you start to work with a PivotTable report, take a look at your Excel worksheet to make sure it’s wellto make sure it s well prepared for the report.

When you create a PivotTable report, each column of source data becomes a field that you can use in the

Get started with PivotTable reports

yreport.

Fields summarize multiple rows of information from the source data.

Review your source dataThe names of the fields for the report come from the column titles in your source data So be sure youdata. So be sure you have names for each column across the first row of the worksheet in the source data.

The remaining rows below the headings should contain similar items in the same column.

Get started with PivotTable reports

For example, text should be in one column, numbers in another column, and dates in another column. In other words, a column that contains numbers should not contain text, and so on.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 92 of 105

Page 93: Advanced Excel 2007 - Handout

93

Review your source dataFinally, there should be no empty columns within the data that you’re using for the PivotTable reportPivotTable report.

It’s also best if there are no empty rows.

Get started with PivotTable reports

For example, blank rows that are used to separate one block of data from another should be removed.

Get startedHere’s how to get started with a PivotTable report.

You use the CreateYou use the Create PivotTable dialog box, shown here.

1. When the data is ready, click anywhere in the data.

Get started with PivotTable reports

2. On the Insert tab, in the Tables group, click PivotTable, and then click PivotTable again. The Create PivotTable dialog box opens.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 93 of 105

Page 94: Advanced Excel 2007 - Handout

94

Get startedHere’s how to get started with a PivotTable report.

You use the CreateYou use the Create PivotTable dialog box, shown here.

3. The Select a table or range option is already selected for you The Table/Range box shows the

Get started with PivotTable reports

selected for you. The Table/Range box shows the range of the selected data, which you can change if you want.

4. Click OK.

PivotTable report basicsThis is what you see in the new worksheet after you close the Create PivotTabledialog boxdialog box.

On one side is the layout area ready for the PivotTable report

Get started with PivotTable reports

report.

On the other side is the PivotTable Field List. This list shows the column titles from the source data. As mentioned earlier, each title is a field: Country, Salesperson, and so on.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 94 of 105

Page 95: Advanced Excel 2007 - Handout

95

PivotTable report basicsYou create the PivotTable report by moving any of the fields shown in the PivotTable Field ListPivotTable Field List to the layout area.

To do this, either select the check box next to the field name, or right-click a field name and then select a

Get started with PivotTable reports

glocation to move the field to.

Build a PivotTable reportNow you’re ready to build the PivotTable report. The fields you select for the report depend on what youdepend on what you want to know.

To start: How much has each person sold?

To get the answer, you need data about the salespeople and their sales numbers.

Get started with PivotTable reports

So in the PivotTable Field List, you’ll select the check boxes next to the Salesperson and Order Amountfields. Excel then places each field in a default area of the layout.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 95 of 105

Page 96: Advanced Excel 2007 - Handout

96

Build a PivotTable reportThe gray table at the illustration’s far left provides a conceptual view of how the report will automaticallywill automatically appear based on the fields you select.

The data in the Salesperson field (the salespeople’s names), which doesn’t contain numbers, is displayed as

Here are details.

Get started with PivotTable reports

) p yrows on the left side of the report.

The data in the Order Amount field, which does contain numbers, correctly shows up in an area to the right.

Build a PivotTable reportIt doesn’t matter whether you select the check box next to the Salesperson field before or after thebefore or after the Order Amount field. Excel automatically puts them in the right place every time.

Fields without numbers will land on the left, and fields with numbers will land on the right, regardless of the

Get started with PivotTable reports

order in which you select them.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 96 of 105

Page 97: Advanced Excel 2007 - Handout

97

Build a PivotTable reportThat’s it. With just two mouse clicks, you can see at a glance how much each salesperson soldsalesperson sold.

First, it’s fine to stop with just one or two questions answered; the report doesn’t have to be complex to be

And here are a couple of parting tips on the topic.

Get started with PivotTable reports

useful. PivotTable reports can offer a fast way to get a simple answer.

Next, don’t worry about building a report incorrectly. Excel makes it easy to try things out and see how data looks in different areas of the report.

See sales by countryNow you know how much each salesperson sold. But the source data lays out data aboutout data about salespeople in two countries, Canada and the United States.

So another question you might ask is: What are the sales amounts for each salesperson by country?

Get started with PivotTable reports

p y y

To get the answer, you can add the Country field to the PivotTable report as a report filter. You use a report filter to focus on a subset of data in the report, often a product line, a time span, or a geographic region.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 97 of 105

Page 98: Advanced Excel 2007 - Handout

98

See sales by countryBy using the Countryfield as a report filter, you can see a separate report for Canada or the UnitedCanada or the United States, or you can see sales for both countries together.

To do this, right-click the Country field in the PivotTable Field List, click Add to Report Filter, and

Get started with PivotTable reports

pthen take it from there.

See sales by dateThe original source data has a column of Order Date information, so there is an Order Date fieldis an Order Date field on the PivotTable Field List.

This means you can find the sales by date for each salesperson.

Get started with PivotTable reports

p

To find out, you’ll add the Order Date field to your report and then use the Grouping dialog box to group the date data and create a more manageable view.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 98 of 105

Page 99: Advanced Excel 2007 - Handout

99

Pivot the reportThough the PivotTable report has answered your questions, it takes a little work to read the entireread the entire report—you have to scroll down the page to see all the data.

So you can pivot the report to get a different view that’s easier to read.

Get started with PivotTable reports

When you pivot a report, you transpose the vertical or horizontal view of a field, moving rows to the column area or moving columns to the row area. It’s easy to do.

Where did drag-and-drop go? If you prefer to build a PivotTable report by using the drag-and-drop method, as you could in previouscould in previous versions of Excel, there’s still a way to do that.

There are four boxes at the bottom of the PivotTable Field List: Report Filter, Row Labels, Column

Get started with PivotTable reports

Labels, and Values. You can drag fields to these boxes to designate how the fields are used in the report.

The picture shows how you can drag the Order Amount field from the Column Labels to the Valuesbox to add that field to the Values area of the report.

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 99 of 105

Page 100: Advanced Excel 2007 - Handout

100

Microsoft® Office Excel® 2007 Training

MACROS

About macros

If you perform a task repeatedly in Microsoft Excel, you can automate the task with a macro. A macro is a series of commands and functions that are stored in a Microsoft Visual Basic module and can be run whenever you need to perform the task.

Macros can be write directly in Visual Basic or can be recorded during performing a task in Microsoft Excel.

When we don’t have much knowledge about the language, commands & procedures of Visual Basic, Recording is the easiest way to prepare macros.

Macros

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 100 of 105

Page 101: Advanced Excel 2007 - Handout

101

Recording macros

When you record a macro, Excel stores information about each step you take as you perform a series of commands. You then run the macro to repeat, or "play back," the commands. If you make a mistake when you record the macro, corrections you make are also recorded Visual Basic stores each macro in a new module attachedmake are also recorded. Visual Basic stores each macro in a new module attached to a workbook.

Storage file for different Macros.

Macros can be store in any excel file but it is recommended that you store it in single file named “Personal”.Default location of this file will be C:\Program Files\Microsoft Office\OFFICE12\XLSTART\PERSONAL

Macros

gWhen you start recording first macro & choose storage file as “Personal Macro workbook”, the “Personal” file will be created automatically at above location & will be available in hide conduction at all the time when Excel is open. You can edit or change the macro coeds when the “Personal” file is in unhidecondition.

Macros security level

First of all change the Macros security setting at Medium or Low level.Macro is a kind of program & similar to virus. This change is required to run the macros. I Mi ft Offi 2003 l t t h k ll XML fil th t hIn Microsoft Office 2003 or later, a component checks all XML files that have references to XSL files for script that could be unsafe. If macro security is set to High, running this script is disabled. If macro security is set to Medium, the user is asked whether or not to run script in XSL files. If macro security is set to Low, the script is run.

Macros

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 101 of 105

Page 102: Advanced Excel 2007 - Handout

102

To Run the macros

1 Start a macro from a keyboard shortcut : If you want to run the macro by pressing a keyboard shortcut key, enter a letter in the Shortcut key box. You can use CTRL+ letter (for lowercase letters) or CTRL+SHIFT+ letter (for uppercase letters) where letter is any letter key on the keyboard The shortcut key letter youletters), where letter is any letter key on the keyboard. The shortcut key letter you use cannot be a number or special character such as @ or #.

Note : The shortcut key will override any equivalent default Microsoft Excel shortcut keys while the workbook that contains the macro is open.

2 Start a macro from a button or graphic control :

Macros

g pYou can add some button , picture or graphic in work sheet & assign a macro to that object. After assigning a macro , you can run that particular macro by pressing that object.

Start a macro from a toolbar button : VIEW >Macros> View Macros, then following window will open, select required macro & press Run.

Macros

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 102 of 105

Page 103: Advanced Excel 2007 - Handout

103

Working with Cell :

While doing recording & moving down or up in work sheet, macro will record that particular cell number. But the amount of data will not be the same as previous & you need to record a macro without particular cell number.

Following command will help to move in any direction in work sheet without any particular cell number. You can manually change cell number with this command by editing macro code.ActiveCell.Offset(0, 1).Activate

Macros

Following set of command will help to understand batter & useful while dragging some formula up to some number of rows and which is not fixed every time.

Selection.CopypySelection.End(xlDown).SelectActiveCell.Offset(0, 9).ActivateSelection.End(xlUp).SelectActiveCell.Offset(0, -9).ActivateRange(Selection, Selection.End(xlUp)).SelectActiveSheet.PasteApplication.CutCopyMode = False

Macros

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 103 of 105

Page 104: Advanced Excel 2007 - Handout

104

Working with Rows , Column & Using Current Region command :

You can select all available data by using “CurrentRegion” Function. Following is some example of using “CurrentRegion” Function.

A ti C ll C tR i E ti R CActiveCell.CurrentRegion.EntireRow.CopyActiveCell.CurrentRegion.EntireRow.DeleteActiveCell.CurrentRegion.EntireColumn.CopyActiveCell.CurrentRegion.EntireColumn.Delete

When you start typing a command, drop down list of command will appear after each entry, this drop down list will contain all available command after that function.

Macros

Working with Pivot Table :

While recording Pivot Table directly , macro will record with particular cell number , but the amount of data is not same each time. Following command will help to resolve this problem. To use this command, stop recording before making Pivot , add following command manually , run the macro , start recording again new macro, prepare pivot table as required , stop new recording , add this part of macro to original macro by editing the macro code.

ActiveSheet.PivotTableWizard , TableName:="PivotTable"

Macros

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 104 of 105

Page 105: Advanced Excel 2007 - Handout

105

Page setup : You can do page setup during recording, and change the margin, zoom, Gridline etc afterword by editing macro code.

Macros

Using Web Query :

This function is very useful to us. Web Query can down load reports from web & we can work on it afterword.

Enter a web address in appeared window & press Import.

Macros

Micrisoft Office EXCEL 2007

Essar Steel Ltd Page 105 of 105