Mba Sda Lab Manual
Mba Sda Lab Manual
(Affiliated to JNTU, Hyderabad, Approved by AICTE - Accredited by NBA & NAAC – ‘A’
Grade - ISO 9001:2008 Certified) Maisammaguda, Dhulapally (Post ViaHakimpet),
Secunderabad – 500100, Telangana State, India.
Contact Number: 040-23792146/64634237, E-Mail ID: mrcet2004@gmail.com, website:
www.mrcet.ac.in
MASTERS PROGRAMME
DEPARTMENT OF
MASTER OF BUSINESS ADMINISTRATION
(I Year I Semester)
SDA Lab Manual
(2023-24)
INDEX
S.NO. NAME OF THE EXPERIMENT Page NO.
I ABOUT EXCEL
PART A
EXP 1: INTRODUCTION, USES OF EXCEL, NEW FUNCTIONS AND
FEATURES OF EXCEL 2007
Excel is an electronic spreadsheet program that can be used for storing, organizing, analyzing
and manipulating data. Microsoft Excel consists of worksheets. Each worksheet consists of a
grid of columns and rows. There are 16,384 columns in each worksheet, lettered
consecutively from A to XFD. The rows are numbered consecutively from 1 to 1,048,576
.The number of columns and rows you can have in a worksheet is limited by your computer
memory and your system resources.
Microsoft Office Excel possess many similarities, which can make it difficult to decide which
program you should use. For example, both programs can store large amounts of data, run
powerful queries and analysis tools to slice and dice that data, and perform sophisticated
calculations that return the data that you need.
However, each program has clear advantages — depending on the type of data that you are
managing and what you want to do with that data. For example, if it is your goal to maintain
data integrity in a format that can be accessed by multiple users, Access is your best choice,
whereas Excel is better suited for complex numerical data that you want to analyze in depth.
In Excel 2007, more is truly better. Microsoft has increased the number of columns per
spreadsheet (and per PivotTable) to 16,384 (up from 256) and the number of rows to
1,048,576 (up from 65,536). Other limits have been also expanded: Text cells can now
contain more than 32,000 characters (up from 255). Chances are you'll never reach other new
limits: PivotTables can manipulate more than 16,000 fields (up from an already generous
255), and formulas can now refer to up to 8,000 cells (memory permitting), so it's fortunate
that Excel 2007 lets you drag the corner of the formula bar to expand it.
Excel 2007's memory manager can handle 2GB (double the amount in Excel 2003), so
calculations execute faster. The new version also takes advantage of dual-core processors and
multithreaded chip sets, so if you're lucky enough to be running it on a machine with either
feature, expect a noticeable speed boost.
NEW FUNCTIONS
In 2007 Microsoft has added 5 new functions to Excel. If you use any of these functions and
send the resulting workbooks to colleagues who are using Excel 1997 to 2006, the new
functions will not work. There has always been an extremely powerful and easy to use
function in Excel that can do anything that can be done with 4 of the new functions
(SUMIFS, COUNTIFS, AVERAGEIF, AVERAGEIFS). As a matter of fact you can do even
more than with any of the new functions with SUMPRODUCT. As for the 5th new function
(IFERROR), you can do the same thing combining two old and friendly functions IF and
ISERROR.
The functions SUMIFS, AVERAGEIFS and COUNTIFS perform selective calculations: they
take into account only those values which fulfill several criteria. The values could be in a
range spanning several rows and columns.
( Open parenthesis
) Close parenthesis
, Separating arguments
: From A1 to A23 A1:A23
Plus. *** Also: used to submit more than one argument as criteria within a
+
SUMPRODUCT formula.
- Minus
* Multiplies. *** Also: used to separate arguments in SUMPRODUCT formulas
/ Divides
You can also add icons to cells based on their value, giving your worksheet a dashboard-like
quality. For example, assigning traffic-light icons to a range of cells is a snap, and Excel's
built-in logic assigns colored circles based on the value of the cell: green for the highest third,
yellow for the middle third and red for the bottom third.
You can add colored bars to indicate the value in a cell (left) or apply a three-icon set to
indicate which third data falls into (right).
Similarly, a four- or five-icon set (such as set of vertical bars similar to what your cell phone
uses to indicate signal strength) displays icons based on which quartile or quintile the value
falls into.
In all cases, you can control the ranges for each icon in the set -- allowing you, for instance,
to use a green traffic light to indicate only the highest 10% of values.
Conditional formatting rules are easy to adjust. Click to view larger image.
Sorting data -- previously limited to three levels -- has been expanded to 64 levels. Best of
all, while you can still sort data based on values (to sort a date column chronologically, for
instance), you can also sort by font, color or icon used with conditional formatting. Thus, you
can display all your green traffic lit cells together, followed by the yellow lights, then the red.
Other visualization tools eliminate the need for complicated macros or formulas. New
conditional formatting options let you highlight duplicates, unique values, the top/bottom
10%, values above or below the average, cells less than or greater than a specified value, or
cells within a range (highlighting cells containing values between 1 and 10, for example).
The new Filter feature offers check boxes to let you pick which rows you want to see.
If you don't need to see all values, the vastly improved Filter feature puts check boxes (for up
to 1,000 values) in a pull-down list, allowing you to easily pick multiple values to display.
Likewise, the new Remove Duplicates feature hides rows based on the duplicate values in
columns you specify.
In Excel 2007, you still set up PivotTables using a wizard, which is slightly changed from
Excel 2003. However, once you have a PivotTable defined, manipulating it is considerably
easier. Instead of dragging and dropping elements within the table itself, you can use the
wizard to make choices -- checking boxes to select which fields to display or choose sorting
options, for example. Excel 2007 makes it easier to switch columns and rows, filter values,
and use or hide field names. In addition, conditional formatting (those data bars or traffic
lights we mentioned) can be applied to cells displayed in PivotTables.
Choose a style from the gallery and see it applied to your selection.
You can quickly apply a collection of settings, from the font used to the background color
and border style to cells, tables and PivotTables. As you mouse over the choices, Excel 2007
applies each style to your selection so you can preview the effect without making the change
permanent. One particularly noteworthy improvement to formatting is how Styles now
respond to changes within your worksheet. In Excel 2003, you could apply a "green bar"
effect so that the background color in rows alternated between green and white. However,
once you added a row, the pattern was interrupted, and you needed to reapply the
AutoFormat, a clumsy and awkward procedure.
In Excel 2007, that same pattern is adjusted whenever you add one or more rows. (Styles are
equally smart when you add columns, for patterns that alternate between columns.) Styles
will even adjust when you filter or hide rows or columns. Themes, new to Office 2007, are
style collections that include a color scheme, font, fill effects and more. Shared by several
Office 2007 applications, themes can be applied to charts, tables and PivotTables in Excel,
giving your work a consistent look and feel. That's especially useful when you're creating a
chart that you want to copy to PowerPoint or Word.
To use Themes, select the Page Layout tab and click the Themes button to choose a new
theme. You can also customize any theme or create new ones. One important caveat: Be
aware that Themes only work if you're using Word's new Office XML format; they won't
work on old-style .xls files.
The Ribbon interface also makes it more enjoyable to work with charts. Excel's charts have a
whole new look, thanks to the new graphics engine in all Office 2007 applications. The
layouts use different color palettes and fonts, but the important difference is the ability to
more easily apply graphical effects, such as bevels and shadows, to individual elements (such
as columns or pie slices).
With Excel's new charting engine, you can control everything about charts, from shadows to
the amount of rounding on the corners of bars and columns. The Ribbon has a Chart Tools
group (with tabs for Design, Layout and Format) to put more charting options at your
fingertips and eliminate most of the right-clicking you had to do to adjust charts in previous
versions: switching rows and columns, controlling gridlines and axes, and adding trend lines.
Table tools
Excel's new table features make it less likely you'll have inconsistent formulas. Once you
identify a contiguous range of cells as a table, Excel provides calculated columns. For
example, if you add a column to the right of your table and enter a formula in any row, the
formula will be copied to all cells in that new column, saving the time of executing a
copy/paste command.
Even smarter, add a row and Excel is sure to include it in a total on the bottom row. (In
previous versions of Excel, adding a row at the top or bottom of a range meant you risked
omitting cells in that row from the sum formula.)
Furthermore, options on the Table Tools Design context-sensitive tab let you toggle the
formatting of the first column or the first row. One click and you can add a Total row (though
Excel lacks a similar command to add a Total column), then change what each column in that
row computes (total, average, minimum and so on). In addition, as you scroll down through a
lengthy table, Excel replaces the column headings (the gray boxes with A/B/C above the
columns) with values from the table's header row -- a subtle improvement, to be sure, but it's
a more efficient technique than having to freeze rows to see column headings.
Finally, the new Table Gallery makes it easy to select and apply a sophisticated look.
Other changes
There are dozens of other small changes In Excel 2007. Among the 51 new functions are
some to fetch data from OLAP cubes, calculate Bessel functions (for engineers), convert
numbers (decimal to binary, hex to octal and so on) and work with complex numbers
(calculating the square root or sine of a complex number, for example).
Two new functions, SUMIFS and AVERAGEIFS, let you choose cells that meet multiple
conditions without having to use nested functions. Speaking of nesting, should you need it,
the number of nesting levels has increased, from seven in Excel 2003 to 64.
Saving a document in PDF or XPS format is now possible through the Office button.
Staying compatible
You'll have to deal with four new XML-based file formats in Excel 2007 -- .xlsx for standard
worksheets, .xlsm for those with macros, plus .xltx and .xltm for templates. Like Word 2007,
Excel 2007 offers a compatibility checker and tells you if your workbook contains features
that previous versions of Excel won't support. Choose Office button > Prepare > Run
Compatibility Checker to launch it.
If you're sharing documents, you'll probably want to save them in Excel 2003 format to
maintain compatibility with other users -- at least until the new 2007 file format becomes the
standard or you know your recipient has the free patch that lets Office 2003 users read and
work with 2007 files.
To set Excel 2007 to save to the 2003 format by default, click on the Office button and then
the Excel Options button. In the left panel of the screen that appears, click Save, then locate
the "Save workbooks" area on the right. From the "Save files in this format" drop-down list,
choose Excel 97-2003 Workbook and click OK.
In the upper-left corner of the Excel 2007 window is the Microsoft Office button. When you
click the button, a menu appears. You can use the menu to create a new file, open an existing
file, save a file, and perform many other tasks.
In the upper-left corner of the Excel 2007 window is the Microsoft Office button. When you
click the button, a menu appears. You can use the menu to create a new file, open an existing
file, save a file, and perform many other tasks.
Next to the Quick Access toolbar is the Title bar. On the Title bar, Microsoft Excel displays
the name of the workbook you are currently using. At the top of the Excel window, you
should see "Microsoft Excel - Book1" or a similar name.
The Ribbon
You use commands to tell Microsoft Excel what to do. In Microsoft Excel 2007, you use the
Ribbon to issue commands. The Ribbon is located near the top of the Excel window, below
the Quick Access toolbar. At the top of the Ribbon are several tabs; clicking a tab displays
several related command groups. Within each group are related command buttons. You click
buttons to issue commands or to access menus and dialog boxes. You may also find a dialog
box launcher in the bottom-right corner of a group. When you click the dialog box launcher, a
dialog box makes additional commands available.
Worksheets
Microsoft Excel consists of worksheets. Each worksheet contains columns and rows. The
columns are lettered A to Z and then continuing with AA, AB, AC and so on; the rows are
numbered 1 to 1,048,576. The number of columns and rows you can have in a worksheet is
limited by your computer memory and your system resources.
The combination of a column coordinate and a row coordinate make up a cell address. For
example, the cell located in the upper-left corner of the worksheet is cell A1, meaning
column A, and row 1. Cell E10 is located under column E on row 10. You enter your data
into the cells on the worksheet.
Formula Bar
If the Formula bar is turned on, the cell address of the cell you are in displays in the Name
box which is located on the left side of the Formula bar. Cell entries display on the right side
of the Formula bar. If you do not see the Formula bar in your window, perform the following
steps:
The Status bar appears at the very bottom of the Excel window and provides such
information as the sum, average, minimum, and maximum value of selected numbers. You
can change what displays on the Status bar by right-clicking on the Status bar and selecting
the options you want from the Customize Status Bar menu. You click a menu item to select
it. You click it again to deselect it. A check mark next to an item means the item is selected.
By using the arrow keys, you can move around your worksheet. You can use the down arrow
key to move downward one cell at a time. You can use the up arrow key to move upward one
cell at a time. You can use the Tab key to move across the page to the right, one cell at a
time. You can hold down the Shift key and then press the Tab key to move to the left, one
cell at a time. You can use the right and left arrow keys to move right or left one cell at a
time. The Page Up and Page Down keys move up and down one page at a time. If you hold
down the Ctrl key and then press the Home key, you move to the beginning of the worksheet.
Application Window
The Application Window provides the space for your worksheets and workbook elements
such as charts. The components of the Application Window are described below:
Formula Bar Next to the Name Box Displays the contents of the
active cell.
Workbook Window: The components of the Workbook Window are described below:
Component Description
Workbook
A series of spreadsheet pages contained in
one Excel file. (In the picture, Sheets 1 and 2
comprise Workbook 2.)
Worksheet
A grid of columns and rows where columns
are designated by letters running across the
top of the worksheet and rows are designated
by numbers running down the left side of the
worksheet.
Sheet tabs
Moves from one worksheet to another
worksheet and are located at the bottom of the
workbook. Right-clicking on the sheet tab
will display options.
Scrolling buttons
Scrolls the display of sheet tabs one at a time
or to display the first and last grouping of
sheet tabs and are located to the left of the
sheet tabs.
Navigation
As you enter and edit data, you will need to move through the worksheet. Excel provides a
variety of methods for quickly navigating the worksheet.
Define each of the quick navigation techniques and the action it will cause.
Divide a worksheet into panes by freezing sections of data.
Action Results
Arrow Keys Moves the active cell left, right, up or down one row or column
Moves active cell to the top or bottom of the current column with data.
End Pressing one of the directional arrow keys will move the active cell to the
left-most or right-most cell in the current row with data
Ctrl+End Moves the active cell to the last cell in the spreadsheet with data
Page Up/Page
Moves the active cell up or down by one screen full of rows
Down
Note: If you want to confine the cell movement to a specific range, you can highlight that
range and then use the Enter key to move through the selected cells. The cell selection will
wrap within the range. You can also use the Tab and Enter keys while working in a range, but
note that if you use the arrow keys your range will be deselected.
Freezing Panes
When working with larger spreadsheets, it may be helpful to keep the column titles in sight
while navigating the data. In Excel, you can divide the worksheet into panes by freezing
particular sections of data. When you freeze the row containing the column titles, they will be
locked in place while you scroll through the rest of the worksheet.
To freeze column titles:
Make sure that your worksheet is being viewed in Normal (Go to View menu, select
Normal)
Select and highlight the desired columns/rows to freeze.
Select the Window menu.
Select Freeze Panes.
The home tab in Excel 2007 ribbon is divided into 7 groups, or sections, presented in a
toolbar:
1. Clipboard : contains the main edit commands: Cut, Copy and Paste plus the Format
painter. The Paste command can be expanded by clicking on the arrow below it to give a
submenu which is basically a Paste Special options.
3. Alignment: Text vertical and horizontal alignment, indentation, text wrapping… etc.
4. Number: Number formatting e.g. Number, Date, accounting. Also decimals, comma style
and percentage.
5. Styles: Allows you to specify Conditional formatting by defining formatting rules. You
can also format a selected cell by selecting one of the built in formatting styles or you can
define a range as a table, and give it one of the predefined styles, or further more you can
define your own style.
6. Cells: Allows you to Insert, delete or format, not only cells but also whole columns, rows
or sheets. Formatting also includes renaming, hiding or protecting.
Note:
Click on the arrow below or next to each option to reveal more options.
Insert Tab
Tables
More table or pivot table options will be shown when the table is created.
To insert picture, clip art, shapes or SmartArt (a more stylish flowchart-like shapes).
Clip Art - Insert Clip Art into the document, including movies, sounds, or stock
photography to illustrate a specific concept.
Shapes - Insert ready-made shapes, such as rectangles and circles, arrows, lines,
flow chart symbols, and callouts.
Charts
To insert different types of charts. More chart specific options will be shown when the chart
is created.
Column - Insert a column chart. Column charts are used to compare values across
categories. If chart data is selected, or the cursor is in or adjacent to the data, pressing
F11 automatically creates a column chart.
Line - Insert a line chart. Line charts are used to display trends over time.
Pie - Insert a pie chart. Pie charts display the contribution of each value to a total.
Use a pie chart when values can be added together or when you have only one data
series and all values are positive.
Bar - Insert a bar chart. Bar charts are the best chart type for comparing multiple
values.
Area - Insert an are chart. Area charts emphasize differences between several sets of
data over a period of time.
Scatter - Insert a Scatter chart, also known as an X Y chart. This type of chart
compares pairs of values. Use a Scatter chart when the values being charted are not in X-
axis order or when they represent separate measurements.
Links
Text
To insert text box, header and footer, wordart, digital signature, object (embedded document
like word or power point presentation) or a symbol.
Text Box - Insert a text box that can be positioned anywhere on the page. In Office
2007 you can also create a text box by using the Paste as Picture feature when on the
Home tab.
Header & Footer - Edit the Header or Footer of the document. The information in the
Header or Footer will appear at the top or bottom of each printed page.
WordArt - Insert decorative text in your document. Caution : if you are a long-time
user of Word Art you may be a bit disappointed in the 2007 version - the choices are a
bit tame.
Signature Line - INsert a signature line that specifies the individual who must sign.
Inserting a digital signature requires that you obtain a digital ID, such as one from a
certified Microsoft partner.
Object - Insert an embedded object. Some objects supported are Adobe Acrobat
documents, Photoshop Elements images, Microsoft Equation, and several others.
Symbol - Insert characters that are not on your keyboard, such as copyright symbols,
trademark symbols, paragraph marks, and Unicode characters. This is way beyond
Wingdings or Webdings. Even Times New Roman has a large number of symbols and
foreign letter characters which can be inserted.
Themes
Change the theme of the current worksheet including fonts, colors and fill effects.
Themes - Change the overall design of the entire document, including colors, fonts,
and effects.
Page Setup
Margins - Select the margin sizes for the entire document or the current selection.
Size - Choose a paper size for the current section. To apply a specific paper size to
all sections of the document, click on More Paper Sizes .
Breaks - Specify where a new page will begin in the printed copy. Page breaks are
inserted above and to the left of the selection.
Print Titles - Specify rows and columns to repeat on each printed page.
Diagonal Arrow - Click on the arrow in the bottom right corner of Page Setup to see the
Page Setup dialog box (Page tab selected, three other tabs are available)
Scale to Fit
Specify scaling of the page so that you force the document to fit into a specific number of
pages.
Width - Shrink the width of printed output to fit a maximum number of pages.
Height - Shrink the height of printed output to fit a maximum number of pages.
Scale - Stretch or shrink the printed output to a percentage of its actual size. The
maximum width and height must be set to "Automatic" to use this feature.
Diagonal Arrow - Click on the arrow in the bottom right corner of Scale to Fit to see
the Page Setup dialog box (Page tab selected, three other tabs are available)
Sheet Options
Switch sheet direction (right-to-left), view or print gridlines and view or print worksheet
headings (letters at the top of the sheet and numbers to the left of the sheet).
Gridlines - Show, or hide, the lines between rows and columns in the sheet.
Showing makes numbers in columns or rows easier to read or edit. Hiding gridlines is
useful if you are making a graphic organizer in Excel. These lines will not print unless
the Print box is checked.
Headings - Show row and column headings. Row headings are the row numbers
on the side of the sheet that range from 1 to 1,048,576. Column headings are the letters
that appear above the columns on a sheet that range from A to XFD. This is also found
on the View tab of an Excel Workbook.
Diagonal Arrow - Click on the arrow in the bottom right corner of Sheet Options to see
the Page Setup dialog box (Sheet tab selected, three other tabs are available)
Arrange
If you have shapes or objects in the worksheet, here you can arrange, align or group the
shapes.
Bring to Front - Bring the selected object in front of all other objects so that no part
of it is hidden behind another object.
Send to Back - Click here to send the selected object back one level or to the back
of all objects.
Selection Pane - Show the Selection Pane to help select individual objects and to
change their order and visibility.
Align - Align the edges of multiple selected objects. You can also center the objects
or distribute them evenly across the page.
Group - Group objects together so that they can be treated like a single object.
Rotate - Rotate or flip the selected object.
Formulas Tab
The formulas tab in Excel 2007 ribbon consists of 5 groups that deal with formulas and
functions:
Function Library
Chose from a set of Excel 2007 built-in functions. Functions are divided into groups for easy
access.
Insert Function - Edit the formula in the current cell by choosing functions and editing
the arguments. The keyboard shortcut to insert a function is Shift + F3 .
AutoSum - Display the sum of the selected cells directly after the selected cells. The
keyboard shortcut for autosum is Alt + = .
Recently Used - Browse and select from a list of recently used functions.
Date and Time - Browse and select from a list of date and time functions.
Lookup and Reference - Browse and select from a list of lookup and reference
functions.
Math and Trig - Browse and select from a list of math and trigonometry functions.
More Functions - Browse and select from lists of statistical, engineering, cube, and
information functions.
Defined Names
Use in Formula - Choose a name used in the workbook and insert it into the
current formula.
Create from Selection - Automatically generate names from the selected cells.
Many people choose to use the text in the top row or the leftmost column of a
selection. The keyboard shortcut to create from selection is Ctrl + Shift + F3 .
Formula Auditing
Calculation Options - Specify when formulas are calculated. By default, any time
you change a value that affects other values, the new values are calculated
immediately.
Calculate Now - Calculate the entire workbook now. This is only necessary if
automatic calculation has been turned off. The keyboard shortcut to calculate now
is F9 .
Calculate Sheet - Calculate the current sheet now. This is only necessary if
automatic calculation has been turned off. The keyboard shortcut to calculate sheet
is Shift + F9 .
Solutions
From here you can use the conditional sum wizard and lookup wizard to help you in creating
new formulas.
Data Tab
Here you can import data into Excel from various external sources like Microsoft Access,
Microsoft SQL Server, text files or the web.
Refresh All - Update all the information in the workbook that is coming from a data
source. The keyboard shortcut to Refresh All is Ctrl + Alt + F5 .
Connections - Display all data connections for the workbook. Data connections are
links to data outside of this workbook which can be upgraded if the source data changes.
Properties - Data Range Properties - Specify how cells connected to a data source will
update, what contents from the source will be displayed, and how changes in the number
of rows or columns in the data source will be handled in the workbook.
Edit Links - This is used to break a link to an external reference. This command will
be unavailable if the workbook does not contain linked information.
Sort - Launch the Sort to sort data based on several criteria at once.
Filter - Enable filtering of the selected cells. Once filtering is turned on, click on the
arrow in the column header to choose a filter for the column. The keyboard shortcut to
filter is Ctrl + Shift + L .
Clear - Clear the filter and sort data for the current range of data.
Reapply - Reapply the filter and sort in the current range. New or modified data in the
column won't be filtered or sorted until you click Reapply. The keyboard shortcut to
reapply is Ctrl + Alt + L .
Advanced - Specify complex criteria to limit which records are included in the result
set of a query.
Data Tools
Here you have various data tools like removing duplicates, validation or data analysis.
Text to Columns - Separate the contents of one Excel into separate columns. For
example, you can separate a column of full names into separate first and last name
columns. In Word you would use this feature to convert the selected text into columns at
each comma, period, or other character you specify.
Remove Duplicates - Delete duplicate rows from a sheet. You can specify which
columns should be checked for duplicate information.
`Data Validation - Prevent invalid data from being entered into a cell. For example,
you could reject sates or numbers greater than 1000. You can also force input to be
chosen from a dropdown list of values you specify.
Consolidate - Combine values from multiple ranges into one new range.
What-If Analysis - Try out various values for the formulas in the sheet. Scenario
Manager allows you to create and save different groups of values, or scenarios, and
switch between them. Goal Seek will find the right input when you know the result you
want. Data Tables allow you to see the results of many different possible inputs at the
same time.
www.mrcet.com DEPARTMENT OF MBA Page 23
SDA LAB MRCET
Outline
Here you can group data based on a selection or you can create a subtotal in a given column
based on values (keys) of another column.
Group - Tie a range of cells together so that they can be collapsed or expanded. The
keyboard shortcut to Group is Shift + Alt + Right .
Ungroup - Ungroup a range of cells that were previously grouped. The keyboard
shortcut to Ungroup is Shift + Alt + Left .
Analysis
Provides various data analysis tools like random number generation, histogram or moving
average.
Review Tab
The review tab in Excel 2007 ribbon consists of 3 groups:
Proofing
Spelling - Check the spelling of text. The keyboard shortcut to check spelling is F7 .
Research - Open the Research Task Pane to search through reference materials such
as dictionaries, encyclopedias, and translation services. The keyboard shortcut for
Research is Alt + Click .
Thesaurus - Suggests other words with a similar meaning to the word you have
selected.
The proofing group gives you options to check spelling, translate or check synonyms in the
thesaurus.
Comments
Edit Comment - Edit the selected comment. The keyboard shortcut to edit a selected
comment is Shift + F2 . Note: This button will not be displayed unless a cell containing a
comment has been selected.
New Comment - Add a comment about the selected cell. The keyboard shortcut to
add a comment is Shift + F2 . Note: This button is the default view in the Comments
section rather than the Edit Comment button displayed at the top of this explanation.
Changes
Protect Sheet - Prevent unwanted changes to the data in a sheet by specifying what
information can be changed. For example, you can prevent people from editing locked
cells or changing the formatting of the document. You can specify a password that can be
entered to unprotect the sheet and allow these changes.
Protect Workbook - Prevent unwanted changes to the structure of the workbook, such
as moving, deleting, or adding sheets. You can specify a password that can be entered to
unprotect the workbook and allow these changes.
Share Workbook - Allow multiple people to work in a workbook at the same time.
The workbook should be saved to a network location where multiple people can open it.
Workbooks containing tables cannot be shared.
Protect and Share Workbook - Share the workbook and protect it with a password at the
same time. The password will prevent others from turning off change tracking.
www.mrcet.com DEPARTMENT OF MBA Page 25
SDA LAB MRCET
Allow Users to Edit Ranges - Allows specific people to edit ranges of cells in a
protected workbook or sheet. Before using this feature, first set security on the sheet by
using the Protect Sheet command. To use this feature, your computer must be joined to a
Microsoft Windows domain.
Track Changes - Track all changes made to the document, including insertions,
deletions, and formatting changes. For workbook and worksheet protection, workbook
sharing or tracking of changes.
View Tab
Workbook Views
Switch between Normal, printer page layout or page break views. You can also create and
show your custom views or switch to full screen view.
Show/Hide
You can show or hide gridlines, formula bar or columns and
row headings.
Zoom
Window
Create new windows, arrange windows and switch between them, freeze panes or save a
workspace.
Macros
This group handles VBA macros. You can record, edit or run macros.
www.mrcet.com DEPARTMENT OF MBA Page 26
SDA LAB MRCET
Developer Tab
Excel 2007 user interface does not show the developer tab in the default display. If it is not
shown in the ribbon then see How to show the developer tab in Excel 2007.
The Code group gives you access to the visual basic editor. You can access your existing
macros and write or record new ones. You can also setup macro security level (enable macros
to run or disable them).
Control
The Control group allows you to insert user controls, switch b/w
design mode and normal mode, access control properties, view
code within controls or run a dialogue (user form).
XML
The XML group allows you to add, import or export
XML maps into you workbook.
Modify
In the Modify group you can specify custom document information panel
template (contains author, title, subject ..etc.)
ADD-INS:
An ―Add-In‖ is a software application that adds new functionality to Excel. The Add-In
typically seamlessly fits into the Excel interface, providing accessibility to its functionality
through
new menus
new options in existing menus
new functions
new toolbars and specific toolbar icons
Next to the Microsoft Office button is the Quick Access toolbar. The Quick Access toolbar
gives you with access to commands you frequently use. By default, Save, Undo, and Redo
appear on the Quick Access toolbar. You can use Save to save your file, Undo to roll back an
action you have taken, and Redo to reapply an action you have rolled back. To change the
location of the quick access toolbar, click on the arrow at the end of the toolbar and click
Show Below the Ribbon. You can place the quick access toolbar above or below the ribbon.
You can also add items to the quick access toolbar. Right click on any item in the Office
Button or the Ribbon and click Add to Quick Access Toolbar and a shortcut will be added.
To save the template once all changes have been made to your spreadsheet:
1. Click on the office button to open the drop down menu.
2. Choose the Save As option.
3. Choose the other formats option.
4. Choose the Save As option to open the Save As dialog box.
5. Click on the Save as type option to open the drop down list.
6. Scroll through the list to find the template options.
Template options
There are three templates that can be created in Excel 2007:
Excel Template (*.xltx)
Excel Macro Enabled Template (*.xltm)
Excel 97 - 2003 Template (*.xlt)
Editing Data
To edit data that already exists in the worksheet, you can select the cell and re-type the
information or go to the Formula Bar and make any editing changes there.
Page Orientation
Through the Page Setup menu, you may want to change the orientation of the page to best
display your data. Portrait orientation prints your worksheet vertically and landscape will
print it horizontally. You get more rows on the page, but fewer columns, when you print with
portrait orientation. When you turn the page on its side and print with landscape orientation,
you get more columns on the page, but fewer rows.
Page Breaks
When a worksheet prints on several pages, Excel inserts automatic page breaks that divide
the worksheet into separate pages for printing. These page breaks appear as dotted lines,
which you can see by looking at the worksheet in Page Break Preview. You can control what
appears on a page by changing those page breaks or creating your own.
To print your column and row headings on every page, follow the steps below:
To Print Titles:
Click the Page Layout tab on the Ribbon
Click the Print Titles button
In the Print Titles section, click the box to select the rows/columns to be repeated
Select the row or column
Click the Select Row/Column Button
Click OK
Printing
You'll need to put some effort into preparing your spreadsheet for printing in order to make
the most of your data. Worksheets can quickly become confusing when you have rows and
columns spilling onto additional pages. In the next few sections, you learn about a few of the
numerous features related to printing with Excel. By the end of this module, you should be
able to:
Prepare a spreadsheet for printing.
Use the Print Preview tool to display the layout of your spreadsheet.
Alter the page orientation to best display your data.
Insert, move and remove a page break.
Apply the Print Titles setting to your spreadsheet.
Print Preview
The first step in preparing your spreadsheet for printing is to preview how your spreadsheet
currently looks through the Print Preview tool. Print Preview shows you what the worksheet
will look like when it is printed.
To access Print Preview in Office 2008:
Select File > Print.
From the Print dialog box, click on the Preview button.
You can use the Header & Footer button on the Insert tab to create headers and footers. A
header is text that appears at the top of every page of your printed worksheet. A footer is text
that appears at the bottom of every page of your printed worksheet. When you click the
Header & Footer button, the Design context tab appears and Excel changes to Page Layout
view. A context tab is a tab that only appears when you need it. Page Layout view structures
your worksheet so that you can easily change the format of your document. You usually work
in Normal view.
You can type in your header or footer or you can use predefined headers and footers. To find
predefined headers and footers, click the Header or Footer button or use the Header & Footer
Elements group's buttons. When you choose a header or footer by clicking the Header or
Footer button, Excel centers your choice. The table shown here describes each of the Header
& Footer Elements group button options.
Named Ranges
You can use cell references or range references for contiguous cells when working with
formulas or applying formulas. This feature comes in handy when you are working with large
spreadsheets where all of the data cannot be displayed on one screen.
To name a range:
Select the cells to be included in the range.
Type a name for the range of cells in the Name Box.
Basic Sorts
To execute a basic descending or ascending sort based on one column:
Highlight the cells that will be sorted
Click the Sort & Filter button on the Home tab
Click the Sort Ascending (A-Z) button or Sort Descending (Z-A) button
Custom Sorts
To sort on the basis of more than one column:
Click the Sort & Filter button on the Home tab
Choose which column you want to sort by first
Click Add Level
Choose the next column you want to sort
Click OK
Filtering
Filtering allows you to display only data that meets certain criteria. To filter:
Click the column or columns that contain the data you wish to filter
On the Home tab, click on Sort & Filter
Click Filter button
Click the Arrow at the bottom of the first cell
Click the Text Filter
Click the Words you wish to Filter
To clear the filter click the Sort & Filter button
Click Clear
If users ignore this message and type invalid data in the cell, such as a two-digit or five-digit
number, you can show them an actual error message.
In a slightly more advanced scenario, you might use data validation to calculate the
maximum allowed value in a cell based on a value elsewhere in the workbook. In the
following example, the user has typed $4,000 in cell E7, which exceeds the maximum limit
specified for commissions and bonuses.
Among other things, you can use data validation to do the following:
Restrict data to predefined items in a list For example, you can limit types of
departments to Sales, Finance, R&D, and IT. Similarly, you can create a list of values
from a range of cells elsewhere in the worksheet. For more information, see Create a
drop-down list from a range of cells.
Restrict numbers outside a specified range For example, you can specify a
minimum limit of deductions to two times the number of children in a particular cell.
Restrict dates outside a certain time frame For example, you can specify a time
frame between today's date and 3 days from today's date.
Restrict times outside a certain time frame For example, you can specify a time
frame for serving breakfast between the time when the restaurant opens and 5 hours
after the restaurant opens.
www.mrcet.ac.in DEPARTMENT OF MBA Page 35
SDA LAB MRCET
Limit the number of text characters For example, you can limit the allowed text
in a cell to 10 or fewer characters. Similarly, you can set the specific length for a full
name field (C1) to be the current length of a first name field (A1) and a last name
field (B1), plus 10 characters.
Validate data based on formulas or values in other cells For example, you can
use data validation to set a maximum limit for commissions and bonuses of $3,600,
based on the overall projected payroll value. If users enter more than $3,600 in the
cell, they see a validation message.
Input messages are generally used to offer users guidance about the type of data that you
want entered in the cell.
You can also choose to show an error alert that appears only after users enter invalid data.
You can customize the text that users see in an error alert message. If you choose not to do
so, users see a default message.
Input messages and error alerts appear only when data is typed directly into the cells. They do
not appear under the following conditions:
A user enters data in the cell by copying or filling.
A formula in the cell calculates a result that is not valid.
A macro enters invalid data in the cell.
If you want to validate a cell to restrict data entry to values in a drop-down list follow these
steps:
1. Select the cell you want to validate.
2. On the Data tab, in the Data Tools group, click Data Validation.
1. Windows: From the Data command tab, in the Get External Data group, click
FROMTEXT
Macintosh: From the Data menu, select Get External Data » Import Text File...
The Import Text File/Choose a File dialog box appears.
2. Windows: From the Files of type pull-down menu, select All Files
Macintosh: From the Enable pull-down menu, select All Files
3. Navigate to and select the file to import
4. Windows: Click IMPORT
Macintosh: Click GET DATA
The Text Import Wizard appears.
To view the Formatting Toolbar, go to the View menu, scroll down to Toolbars, and select
Formatting. The following functions can also be done using the Formatting Palette which
can be accessed by clicking on the Toolbox button on the Standard Toolbar.
The font style and size can be changed by highlighting the cells you wish to format
and choosing the font and size from a drop down menu
.
To Bold, underline, or italicize your cell text click on the appropriate button on the
Formatting Toolbar.
If you prefer to change the general alignments, you can choose to align your numbers or text
horizontally to the left, center or right by simply highlighting the text you wish to change and
selecting the appropriate button in the alignment group. In the example below, the bottom
alignment choice is selected.
You can also use the Format menu to change formatting. For example, you can specify the
number of decimal places to be displayed or you can add dollar signs to financial data by
using the Currency format. In Excel, it is also possible to center text across several cells by
using the Merge and Center button on the Formatting toolbar.
You can also add borders and shading to cells by selecting them and then using the Format
menu to specify a border or shading.
Conditional Formatting
In order to help you easily identify important information in your spreadsheet, you can apply
Conditional Formatting to a range of cells.
Let’s take a look at an example. Let’s say that you are on a very tight budget for the first
semester of school this year. You don’t have a meal plan, and you don’t want to spend more
than $75 a week on food. You think this is feasible, but you decide to keep track of your
expenses for a month to test out your new budget. In the spreadsheet below we want Excel to
automatically highlight cells that contain numbers greater than 75. After applying
Conditional Formatting, any data matching our desired condition will appear in red font.
Auto format
In order to quickly apply a format to a spreadsheet:
Select the cells that you wish to be formatted.
Select Format and then AutoFormat from the menu bar.
Scroll through the list on the left to find the most appropriate format.
Click OK.
AutoFit
From time to time, you may see pound signs ( # ) in a cell of your spreadsheet. This indicates
that the data in the cell is too long to be displayed. You can fix this by changing the width of
the column or height of the row. In Excel, you can enlarge the cell by dragging the column
divider line to the right or by dragging the row divider line toward the bottom of the window.
The divider line can be found by placing your mouse between the column/row headers until
the cursor changes to a line with a double-sided arrow.
Note: You can also shrink the size of a cell by moving the column divider line to the left or
by moving the row divider line to the top of the window.
You can also use the AutoFit function to automatically adjust the cell width and height to
accommodate the longest entry by double-clicking on the column divider line.
Cell References
After completing this module, you should be able to:
Explain the difference between a relative and an absolute cell reference.
Create a name for a range of cells.
Relative References
When you copy formulas in Excel, the application will adjust the formulas so that the cell
references are changed relative to their new location. These adjusting references are known as
relative cell references. Excel is copying the formula relative to where you are and where you
are going.
This example shows that the original formula, in cell B6 was =SUM(B2:B5). This formula
was copied one cell to the right, so Excel automatically updated the formula using a relative
reference to reflect the new cell address, making the new formula =SUM(C2:C5).
Absolute References
There will likely be instances when you want to use a constant in a formula. In this case, you
would use an absolute cell reference. When a formula containing an absolute cell reference is
copied to a new location, the cell reference is not adjusted. To create an absolute cell
reference, you will need to add dollar signs ( $ ) in front of the column and row elements for
the cell referenced.
Below is an example of a copied formula, using an Absolute Reference.
In this example, we are calculating a constant 5% increase in total costs. The amount of the
increase is located in cell C1, so we want that portion of the formula to remain absolute.
When we copy the formula to column C, the only cell number that changed was B7 to C7,
while the $C$1 cell remained constant in the copy process.
3. Click Advanced.
4. If the check box next to After Pressing Enter Move Selection is not checked, click the
box to check it.
5. If Down does not appear in the Direction box, click the down arrow next to the
Direction box and then click Down.
6. Click OK. Excel sets the Enter direction to down.
Note: All formulas and functions start with the equal sign ( = ).
The ability to perform calculations is one of the purposes of using a spreadsheet application.
Some examples of the types of calculations that can be done include:
totals
subtotals
count
average
www.mrcet.ac.in DEPARTMENT OF MBA Page 43
SDA LAB MRCET
standard deviation
In Microsoft Excel, you can enter numbers and mathematical formulas into cells. Whether
you enter a number or a formula, you can reference the cell when you perform mathematical
calculations such as addition, subtraction, multiplication, or division. When entering a
mathematical formula, precede the formula with an equal sign.
Arithmetic Operators
Excel uses the standard arithmetic operators and follows the order of operations as described
below:
References: The cell or range of cells that you want to use in your calculation
Operators: Symbols (+, -, *, /, etc.) that specify the calculation to be performed
Constants: Numbers or text values that do not change
Functions: Predefined formulas in Excel
A function is a built in formula in Excel. A function has a name and arguments (the
mathematical function) in parentheses. Common functions in Excel:
Sum: Adds all cells in the argument
Average: Calculates the average of the cells in the argument
Min: Finds the minimum value
Max: Finds the maximum value
Count: Finds the number of cells that contain a numerical value within a range of the
argument
To calculate a function:
Click the cell where you want the function applied
Click the Insert Function button
Choose the function
Click OK
For example, you can use the SUM function to add the values in a range of cells. The
function would be similar to the following =SUM(E4:E15). If you were to manually enter a
formula to perform this same calculation, you would have to type
=E4+E5+E6+E7+E8+E9+E10+E11+E12+E13+E14+E15.
Function Library
The function library is a large group of functions on the Formula Tab of the Ribbon. To view
the list of functions in Office 2007 click on the Formula tab and select Insert Function from
the under the Function group.
Add Labels
When you apply a layout, Excel may create areas where you can insert labels. You use labels
to give your chart a title or to label your axes. When you applied layout 5, Excel created label
areas for a title and for the vertical axis.
Charting
Charts are graphical representations of your data. Sometimes a chart can communicate much
more effectively than just a table full of numbers. You can quickly spot trends, for example,
by creating a chart. Charts can be created either as an embedded object within your
spreadsheet or on a separate chart sheet.
Embedded Charts
To create an embedded chart, follow the steps below:
Select the range of data in your spreadsheet that you wish to include in the chart.
Click the Insert.
Select a chart type.
Chart Sheets
To create a chart sheet:
Select the range of data in your spreadsheet that you wish to include in the chart.
Click the Insert.
Under the Charts group select a chart type.
Right click the finished chart and select move chart.
Select New Sheet and click OK.
Hide Worksheets
To hide a worksheet:
Select the tab of the sheet you wish to hide
Right-click on the tab
Click Hide
To unhide a worksheet:
Right-click on any worksheet tab
Click Unhide
Choose the worksheet to unhide
Linking Worksheets
You may want to use the value from a cell in another worksheet within the same workbook in
a formula. For example, the value of cell A1 in the current worksheet and cell A2 in the
second worksheet can be added using the format "sheetname!celladdress". The formula for
this example would be "=A1+Sheet2!A2" where the value of cell A1 in the current worksheet
is added to the value of cell A2 in the worksheet named "Sheet2".
Note To remove the password, repeat these instructions and then delete the password from
the Password to modify box. Click Save.
Excel offers the option of protecting the entire document, individual objects, the structure of a
window, and/or specific cells. With Excel, you can even add a password to the file. If you
want to prevent changes to sheets or cells, you need to lock the cells and then protect the
sheet.
Protection Options
Locking & Unlocking Cells
Workbook Level Protection
Worksheet Level Protection
www.mrcet.ac.in DEPARTMENT OF MBA Page 48
SDA LAB MRCET
Protection Options
When you are protecting your workbook, you have two primary options:
Prevent data entry for select cells
Users can access the worksheet and view the information; however, access for making
changes is restricted. For more information, refer to Locking & Unlocking Cells.
Restrict or prevent access to the file
Users can be prevented from viewing the worksheet or users can view the workbook
but not make changes to it. For more information, refer to File Level Protection.
Locking & Unlocking Cells
Excel can protect cells, graphics, charts, and other worksheet objects. This protection will
take effect only after you turn on the Worksheet Protection option in the Protect Sheet dialog
box. If you enable protection, no changes can be made to a cell until you unlock that cell.
Locking Cells
You can easily lock any cell in a worksheet.
NOTE: Make sure to lock the cells before you protect the sheet or document. Once a sheet or
a document has been protected, you cannot access menu selections that allow you to make
changes to cells.
1. Select the cell(s) to be locked
2. From the Ribbon, select the Home command tab
3. In the Cells group, click FORMAT
4. In the Protection section, select Lock
NOTE: If the icon is highlighted, the cells are locked.
5. Protect the worksheet
Unlocking Cells
In order to unlock cells, sheet protection must first be turned off. For more information, refer
to Worksheet Level Protection or Workbook Level Protection.
1. Unprotect the worksheet
2. Select the cells you want to unlock
3. From the Ribbon, select the Home command tab
4. In the Cells group, click FORMAT
5. In the Protection section, deselect Lock
The cells are unlocked.
NOTE: If the icon is not highlighted, the cells are unlocked.
Workbook Level Protection
You can prevent a workbook from having its structure and windows modified or resized by
another user.
Protecting the Workbook
1. From the Ribbon, select the Review command tab
You can protect a single worksheet from being modified by another user.
You have two options when saving your workbook file with a password. You can save the
file so only those who know the password can open the file, or so only those who know the
password can modify the file.
To prevent unauthorized changes to the file, in the Password to modify text box, type
a password
4. OPTIONAL: If you would like Excel to recommend that this file be opened as a read-
only file each time it is opened, select Read-only recommended
HINT: Read-only files can be modified, but the changes cannot be saved without
creating a new file.
5. Click OK
The Confirm Password dialog box appears.
6. In the Reenter password to modify text box, type the password(s) in the order of the
password(s) that you typed in the Save Options dialog box
EXAMPLE: If you typed apple in the Password to open text box and orange in the
Password to modify text box, you must type apple in the first confirmation dialog box
and orange in the second confirmation dialog box.
7. Click OK
8. Click SAVE
Your file is saved with password protection.
Logical Functions
These functions return only a true or false answer. They can be used individually or
combined with one or more other functions, such as the IF function as seen in the Rolling
Dice tutorial.
The AND Function
Statistical Functions
Excel's Statistical functions can be used to analyze data in a variety of different ways.
Functions included in the program can be used to find common statistical operations such as
finding the average value or ranking data by its largest and smallest values as well as more
complex operations such as standard deviation.
Tutorials that Find the Average in Excel
Excel's MAX and MIN Functions
Ranking Numbers in Excel
Excel 2007 Standard Deviation (STDEV) Function
Financial Functions
Excel's Financial Functions can be used to help you determine changes in dollar value of
investments and loans.
Calculating Loan Payments Using Excel's PMT Function
Calculating Future Value Using Excel's PMT Function
The main advanced functions are arrays and nested functions. An array formula can perform
multiple calculations on one or more cells of data. Nested function refers to one or more
functions being placed inside another. Doing this extends the capabilities of the formula.
Multi Cell Array Formula Step by Step Tutorial
Single Cell Array Formula Step by Step Tutorial
Lookup with Multiple Criteria Array Formula Tutorial
Excel SUM IF Array Formula Tutorial
Nested Functions in Excel
Recording a Macro
To record a Macro:
Click the View tab on the Ribbon
Click Macros
www.mrcet.ac.in DEPARTMENT OF MBA Page 54
SDA LAB MRCET
Click Record Macro
Enter a name (without spaces)
Enter a Shortcut Key
Enter a Description
Perform the Macro
Click Macros
Click Stop Recording
Running a Macro
To run a Macro from the Keyboard shortcut, simply press the keys that you have
programmed to run the Macro. Or you can view all macros and run by:
Click Macros
Click View Macros
Choose the Macro and click Run
Select the source cell -- the cell containing the formats you want to copy.
Figure B
Choose the Fill Formatting Only option to cancel the series overwrite and still copy the
formats from the source cell.
You can see that the fill handle canceled the series values in Figure C. In addition, the action
reverted to the original data and applied the formats from A3 to the destination range. This
method isn't superior to Format Painter, but you won't have to select the target range, which
can be awkward with a large one.
Figure C
You can also format a new chart using Paste. Select the source chart and press [Ctrl]+C.
Select the destination chart and choose Paste Special from the Paste drop-down. Choose
Formats and click OK.
Figure E
Figure G
This copy trick lets you choose what to copy on the fly.
above have been entered. Do not worry if the cell is not wide enough. Your worksheet will
probably look somewhat like the one you see below:
Place your cursor over the " A " in the column heading and drag to the right unto you reach
the " E " column heading. All five columns will be highlighted.
Place the cursor on the light gray line between any two of the highlighted headings. When
your cursor turns into a double headed arrow, double-click the line between any two column
headings. All columns will adjust to the width of the data.
Enter four lines of data. Create your own or copy what you see below:
Save the worksheet. Remember where you saved it. I recommend saving to the desktop.
Close the worksheet.
Open Word. It is not necessary to begin typing the form letter yet. You may start the mail
merge process using the wizard.
Go to the Mailings tab, go to the Start Mail Merge section, click on Start Mail Merge , and
slide down to Step by Step Mail Merge Wizard .
The Mail Merge Wizard dialog box opens. Each of the successive windows of the Mail
Merge Wizard. will offer choices, and will suggest the next step. Step 1 asks if we will be
working on a letter, we will, and suggests the next step at the bottom of the window, Starting
document. [ Note : the image below has been compressed ]
Click on Next: Starting document to move to the second Mail Merge Wizard window. We
will be using the current document, so no changes are required. Notice the bottom of the
window allows you to back up in the procedure or to go on.
Select Next: Select recipients at the bottom of the window pictured above.
Your first job at this window will be to Browse to find the existing list of data. When you
find the list and select OK, your next choice will be to select the table which contains your
data. Unless you put the data on a different worksheet in Excel, Sheet1$ is the correct
selection.
Click the OK button for your next choice. As soon as you do click OK, you will be given a
chance to make changes to the list of recipients who will be getting your letter.
If you need to make no changes to the list, click OK. The Mail Merge Window will have
changed slightly.
Following the Wizard's suggestions, the next step will be to write your letter. When you click
on Write your letter you will move to Step 4 of the Mail Merge Wizard.
Each time you select a field click Insert and then close the window. Continue writing the
letter, clicking on More items each time you come to one of the purple fields below.
To the parents of <> <> ,
As we approach the end of the first six weeks I wanted to let you know how glad I am
to have <> in my <> period <> class. At this time <> 's average is <> . If I can be of
assistance please call me.
When you have finished writing your letter, click on Next: Preview your letters at the bottom
of the Mail Merge Wizard. That brings up a copy of the letter with the data from your Excel
document merged into place. Click on the forward or backward arrows ( << or >>) to see
letters to other recipients. Notice, you once again have the opportunity to exclude individuals
on your list.
If you are satisfied with the way your letter looks, the final step at the bottom of the
Mail Merge Wizard. is to Complete the merge .
At this point you could Print your letters or edit individual letters.
Possible uses - Any letter or document that needs to be sent to multiple recipients is a
good candidate for a mail merge. Some obvious uses include:
Note to parents
Progress report
Certificates
EXP 21: Advanced Data Analysis using PivotTables and Pivot Charts
For eg. you can take a bunch of sales data and then create a report on region-wise sales
performance by Product.
(In excel 2003, you have to do this from ―field settings‖ menu option)
3. Slice & Dice your Pivot Tables with Grace
Re-arranging pivot table layouts is as easy as shuffling a pack of cards. Just drag and drop
the fields from row areas to column areas (vice-a-versa) and you have the pivot table
rearranged.
Here is a simple screencast explaining the secret
Bonus: There are quite a few value field settings you can mess with. Go play and discover
something fun.
4. Add new dimensions to your Pivot Reports with Calculated Fields
Let us say you have both ―sale‖ and ―profit‖ values in your source data. Now, your boss
wants to know ―profit %‖ in the pivot report (defined as Profit/Sales). You need not add any
extra columns in your source data, instead you can define custom calculated fields with ease
and use them in pivot reports.
To do this, Go to pivot table options ribbon, select ―formulas‖ > ―calculated field‖
Now define a new calculated field by giving it a name and some meaningful formula.
Make sure you adjust the cell formatting so that output of calculation can be displayed
(for eg. change number to % format)
(In excel 2003, the formula option is available from Pivot menu in toolbar)
See this tip in action:
You can use any chart type except an xy (scatter), bubble, or stock chart.
For more information, see Overview of PivotTable and PivotChart reports and Charts.
Note A PivotChart report and its associated PivotTable report must always be in the same
workbook.
PART B
STATISTICAL TOOLS FOR EXECUTION USING EXCEL
III. Tabulation, bar diagram, Multiple Bar diagram, Pie diagram, Measure
of central tendency:
Mean, median, mode, Measure of dispersion: variance, standard deviation,
Coefficient of variation. Correlation, regression lines.
For multiple descriptive statistics, you would do the following1➔Tools➔Data
Analysis➔Descriptive Statistics.
Note: If you go to Tools and do not see the Data Analysis option…go to the ―Add Ins‖ option
under Tools and select the ―Analysis ToolPak‖. Then go back into Tools. You should now
see the Data Analysis option. WARNING…if you have an ―unauthorized‖ copy of EXCEL
you will not have access to this very important functionality.
Descriptive Statistics
The Descriptive Statistics analysis tool generates a report of univariate statistics for data in
the input range, providing information about the central tendency and variability of your data.
The Equation or Formula to find out the Coefficient of Variation is given below
Coefficient of Variation Cv = Standard Deviation / Mean*100%
CORRELATION
The CORREL and PEARSON worksheet functions both calculate the correlation coefficient
between two measurement variables when measurements on each variable are observed for
each of N subjects. (Any missing observation for any subject causes that subject to be ignored
in the analysis.) The Correlation analysis tool is particularly useful when there are more than
two measurement variables for each of N subjects. It provides an output table, a correlation
matrix, that shows the value of CORREL (or PEARSON) applied to each possible pair of
measurement variables.
The correlation coefficient, like the covariance, is a measure of the extent to which two
measurement variables "vary together." Unlike the covariance, the correlation coefficient is
scaled so that its value is independent of the units in which the two measurement variables
are expressed. (For example, if the two measurement variables are weight and height, the
value of the correlation coefficient is unchanged if weight is converted from pounds to
kilograms.) The value of any correlation coefficient must be between -1 and +1 inclusive.
You can use the correlation analysis tool to examine each pair of measurement variables to
determine whether the two measurement variables tend to move together — that is, whether
large values of one variable tend to be associated with large values of the other (positive
correlation), whether small values of one variable tend to be associated with large values of
the other (negative correlation), or whether values of both variables tend to be unrelated
(correlation near 0 (zero)).
2. A dialog box will appear. Click on Statistical from the left section of the box and
CORREL on the right section. After you have made those two selections, click on Next> at
the bottom of the dialog box.
3. Enter the cell range for your first variable in the Array 1 box. For example, if the data for
your first variable were in column A from row 2 to 10, you would enter A2:A10. Instead of
typing the range, you can also move the cursor to the beginning of the set of scores you wish
to use and highlight them. Do the same for Array 2. Once you have entered the range for both
variables, click on Finish at the bottom of the dialog box.
4. The correlation for the two variables will appear in the cell you selected.
OR
CORREL
It returns the correlation coefficient of the array1 and array2 cell ranges. Use the correlation
coefficient to determine the relationship between two properties. For example, you can
examine the relationship between a location's average temperature and the use of air
conditioners.
SYNTAX
CORREL(array1,array2)
Array1 is a cell range of values.
Array2 is a second cell range of values.
REGRESSION
The Regression analysis tool performs linear regression analysis by using the "least squares"
method to fit a line through a set of observations. You can analyze how a single dependent
variable is affected by the values of one or more independent variables. For example, you can
analyze how an athlete's performance is affected by such factors as age, height, and weight.
You can apportion shares in the performance measure to each of these three factors, based on
a set of performance data, and then use the results to predict the performance of a new,
untested athlete.
REGRESSION USING THE DATA ANALYSIS ADD-IN
In the Data Group select the Data Analysis Add-in
Select Regression Analysis
We obtain
Sampling
The Sampling analysis tool creates a sample from a population by treating the input range as
a population. When the population is too large to process or chart, you can use a
representative sample. You can also create a sample that contains only the values from a
particular part of a cycle if you believe that the input data is periodic. For example, if the
input range contains quarterly sales figures, sampling with a periodic rate of four places the
values from the same quarter in the output range.
Exponential Smoothing
The Exponential Smoothing analysis tool predicts a value that is based on the forecast for the
prior period, adjusted for the error in that prior forecast. The tool uses the smoothing constant
a, the magnitude of which determines how strongly the forecasts respond to errors in the prior
forecast.
Note Values of 0.2 to 0.3 are reasonable smoothing constants. These values indicate that
the current forecast should be adjusted 20 percent to 30 percent for error in the prior forecast.
Larger constants yield a faster response but can produce erratic projections. Smaller constants
can result in long lags for forecast values.
Histogram
The Histogram analysis tool calculates individual and cumulative frequencies for a cell range
of data and data bins. This tool generates data for the number of occurrences of a value in a
data set.
For example, in a class of 20 students, you can determine the distribution of scores in letter-
grade categories. A histogram table presents the letter-grade boundaries and the number of
scores between the lowest bound and the current bound. The single most-frequent score is the
mode of the data.
For a description of each tool, click on a tool name in the following list.
t-TEST:
The Two-Sample t-Test analysis tools test for equality of the population means that underlie
each sample. The three tools employ different assumptions: that the population variances are
equal, that the population variances are not equal, and that the two samples represent before-
treatment and after-treatment observations on the same subjects.
For all three tools below, a t-Statistic value, t, is computed and shown as "t Stat" in the output
tables. Depending on the data, this value, t, can be negative or nonnegative. Under the
assumption of equal underlying population means, if t < 0, "P(T <= t) one-tail" gives the
probability that a value of the t-Statistic would be observed that is more negative than t. If t
>=0, "P(T <= t) one-tail" gives the probability that a value of the t-Statistic would be
observed that is more positive than t. "t Critical one-tail" gives the cutoff value, so that the
probability of observing a value of the t-Statistic greater than or equal to "t Critical one-tail"
is Alpha.
"P(T <= t) two-tail" gives the probability that a value of the t-Statistic would be observed that
is larger in absolute value than t. "P Critical two-tail" gives the cutoff value, so that the
probability of an observed t-Statistic larger in absolute value than "P Critical two-tail" is
Alpha.
Note Among the results that are generated by this tool is pooled variance, an accumulated
measure of the spread of data about the mean, which is derived from the following formula.
ANOVA
The Anova analysis tools provide different types of variance analysis. The tool that you
should use depends on the number of factors and the number of samples that you have from
the populations that you want to test.
Whether the heights of plants for the different temperature levels are drawn from the
same underlying population. Fertilizer brands are ignored for this analysis.
Whether having accounted for the effects of differences between fertilizer brands found in the
first bulleted point and differences in temperatures found in the second bulleted point, the six
samples representing all pairs of {fertilizer, temperature} values are drawn from the same
population. The alternative hypothesis is that there are effects due to specific {fertilizer,
temperature} pairs over and above the differences that are based on fertilizer alone or on
temperature alone.
SYNTAX
CHITEST(actual_range,expected_range)
Actual_range is the range of data that contains observations to test against expected
values.
Expected_range is the range of data that contains the ratio of the product of row totals and
column totals to the grand total.
Remarks
If actual_range and expected_range have a different number of data points, CHITEST
returns the #N/A error value.
The χ2 test first calculates a χ2 statistic using the formula:
where:
Aij = actual frequency in the i-th row, j-th column
Eij = expected frequency in the i-th row, j-th column
r = number or rows
c = number of columns
You could use formula bar to calculate the expected values for the expected range. For
example to find the expected value for the cell C5 which is replaced in c11 you could click on
the formula bar and enter C6*D5/D6 then enter in cell C11.
FORECAST
The Forecast function is used to calculate a straight line best fit line based on a number of
known X & Y values.
Values of Y can be calculated for values of X inside or outside the know range of X values
and so Trend can be used to interpolate or extrapolate data.
eg: = FORECAST (New X Value, Known Y values, Known X values)
= FORECAST(B129, $C$124:$C$128, $B$124:$B$128)
If the data you want to include happen to be in two columns that are not adjacent (e.g.,
cells 1-4 of columns A and C), place the mouse cursor on cell A1 and drag the mouse
cursor to cell A4. Then, while holding down the CTRL key on the keyboard, place the
mouse cursor on cell C1 and drag to cell C4. Both columns of data should be
highlighted.
7. Click on Next>.
8. Click on Next>.
9. Under Titles,
a. click in the text box under Chart title: and enter a title for the graph.
b. click in the text box under Category (X) axis: and enter a title for the x-axis.
c. click in the text box under Value (Y) axis: and enter a title for the y-axis.
10. Click on the Gridlines tab. Click in the checkboxes to turn gridlines on or off.
11. Click on the Legend tab. Click in the checkbox next to Show legend to turn the
legend on or off. Placement of the legend on the graph can also be selected here.
12. Click on the Data Labels tab. Click on the radio buttons to turn data labels on or off.
13. Click on the Data Table tab. Click in the checkboxes to turn a data table on or off.
SHORTCUT KEYS:
The Fundamentals Navigation & Data Selection Formulas&Calculations
Ctrl + O → Open File Arrow Keys→Move Around = → Enter Formula
Ctrl + N→New File Ctrl + Arrows→Jump to boundary F9 → Refresh All
Ctrl + P → Print Shift + Arrows→Select Cells F4 → Anchor Cell
Ctrl + S →Save File Shift + Ctrl + Arrows→Select to Ctrl + F3 →Name Cell
F12 → Save File As Boundary F5→ Jump to Cell
Ctrl + F4 → Close File Shift + F8→Select Multiple Areas Tab→Use Suggested Name
Alt + F4→Close Excel Editing Cells Shift + F3 →Enter Built-
Esc → Exit Dialog In Function
F2→Edit Cell
Ctrl + C → Copy Ctrl + Alt + V + F→Paste
Del →Delete Cell Contents
Ctrl + X → Cut Formulas
Ctrl + Arrows → Skip Word(s)
Ctrl + V → Paste Ctrl + Alt + V + R→
Ctrl + Shift + Arrows
Ctrl + Z → Undo Paste Formats &Formulas
→ Highlight Word(s)
Ctrl + Y → Redo Ctrl + D → Copy Down
Alt + Enter→ New Line in Cell
Ctrl + A → Select All Ctrl + R → Copy Right
Ctrl + Enter / Tab / Shift + Tab
Ctrl + F → Find Ctrl + ’→Copy from Above
→ Edit and… Stay in Place /
Ctrl + H → Replace F5, Alt + S + F + X →Go
Alt +Tab → Switch Windows Go Left / Go Right to Formulas
Alt+T+O→ Options Menu Rows & Columns F5, Alt + S + O + X→Go
F4 → Repeat Last Action Ctrl + Spacebar→Select Column to Constants
Ctrl + F1 → Show / Hide Shift + Spacebar→Select Row Ctrl + ~→Show Formulas
Ribbon Menu Ctrl + Shift + +→Insert Cells / =IFERROR(Value, Value
Workbooks & Worksheets Rows / Columns If Error) → Calculates
Ctrl + – →Delete Cells / Rows / only if no error
Ctrl + N →New Workbook
Columns
Ctrl + Tab→SwitchWorkbook
Right Mouse Button + E → Dates & Times
Shift + F11→New Worksheet
Insert Cut Cells and Shift Over
Alt + H + D + S→Del
Alt + A + G + G → Group Rows / =DATE (Year, Month,
Worksheet Day) →Creates new Date
Columns
Ctrl + PgUp→Move to Left =NETWORKDAYS(Star
Shift + Alt + Right→
Worksheet t, End Date)→Business
Group Rows / Columns
Ctrl + PgDn→Move to Right
Alt + A + U + U → days in between 2 dates
Worksheet =EOMONTH (Start Date,
Ungroup Rows / Columns
Alt + H + O + M→Move / # Months) → Last day of
Shift + Alt + Left →Ungroup
Copy Worksheet month after # months
Rows / Columns
Shift + Ctrl + PgUp / PgDn→ Ctrl + Shift + ; →Current
Alt + A + J → Show Grouped
Select Multiple Worksheets Time
Alt + H + O + U + S→Hide Rows / Columns
Alt + A + H →Hide Grouped Ctrl + ; → Current Date
Worksheet
Rows / Columns
Alt + H + O + U + H →Show
Worksheet
Alt + H + O + R→Rename
Worksheet
Alt + H + O + T →Color Tab