Professional Documents
Culture Documents
1 Introduction of Excel 3 -7
8 Introduction of MS Access 16
12 Creation
Creation of Access Query using MS Access 21-
21-22
1
INTRODUCTION TO EXCEL
One of the first things you'll notice about Microsoft Office Excel 2007 is that the user
interface has changed quite a bit. Earlier versions of Excel had well over a thousand
commands scattered among the program's menus and toolbars; what's more, some useful
commands didn't appear on any of the menus or toolbars! In Office Excel 2007, you need to
look in only one place for the tools you need to use Excel: the ribbon at the top of the
program window. This ribbon is the new Microsoft Office Fluent user interface user interface
that is included in several programs in the 2007 Office system. The Office Fluent interface
has been designed to reflect the way people work within windows. If you've used Excel
before, you'll only need to spend a little bit of time working with the Office Fluent user
interface to use the program skillfully. If you're new to Excel, you'll have a much easier time
learning to use the program than you would have with the older user interface.
This article introduces many of the new features in Excel 2007: the new Fluent interface and
especially the ribbon, the improved formatting capabilities provided by galleries and the Mini
toolbar, the new capabilities offered by Excel tables, the new color management scheme, and
the improved charting engine. You also have some new ways to manage the data in your
workbooks. For example, you can tell Excel how to format your data based on its value,
summarize your data by using new functions, and save your workbooks as documents in
other useful file formats.
The ribbon divides its commands into seven tabs: Home, Insert, Page Layout, Formulas,
Data, Review, and View. The following graphic shows the Home tab, which appears when
you start Excel.
The Home tab contains a series of groups: Clipboard, Font, Alignment, Number, Styles,
Cells, and Editing. Each group, in turn, hosts a series of controls that enable you to perform
tasks related to that group (font formatting, cell alignment, number formats, and so on).
Clicking a control with a downward-pointing arrow displays a menu or palette that contains
further options; if an option has an ellipsis (…) after the item's name, clicking the item
displays a dialog box. You can also open a dialog box by clicking the Dialog Expander
control at the bottom right corner of a group; that control looks like a square than contains an
arrow pointing down and to the right.
2
Finally, you'll see the Microsoft Office button at the top left corner of the Excel program
window. Clicking the Microsoft Office button enables you to save a workbook, create new
workbooks, print a worksheet, change the Excel program options, and quit Excel.
In Excel 2007, tables make it easier for you to enter and summarize your data. If you want to
add data to a table, just click in a cell in the row just below the table and type the data. Excel
will recognize that you want the data to be part of the table and will expand to include it. You
can also have Excel display a Totals row at the bottom of your table.
You have full control over your table's appearance and how it summarizes your data in the
Totals row.
Introducing galleries
In Excel 2007, you can apply formats to your Excel worksheets, charts, and other objects
directly by selecting the appearance you want from a gallery. Excel 2007 has three types of
galleries: the drop-down gallery, the grid layout gallery, and the embedded gallery. The
following graphics show all three types of galleries.
Regardless of how Excel presents the gallery, you can format your object with one or two
mouse clicks. You also have the ability to create custom gallery entries by clicking the New
item at the bottom of some galleries and using the dialog box that appears to define your new
gallery entry.
3
Using the Mini toolbar
The Mini toolbar, which Microsoft interface designers originally called the "floatie," is a
small formatting toolbar that appears at the top of the shortcut menu when you right-click
something that can be formatted, such as a chart element or a selected group of cells. What's
neat about the Mini toolbar is that it saves you several steps when you want to perform some
simple formatting. Rather than having to go to the ribbon, click the Home tab, find the
formatting command you want, and then return to the ribbon tab that you need to use to
manipulate your object, you can right-click the object and select your formatting quickly.
The graphic that follows shows the Mini toolbar at the top of a shortcut menu. And, yes, if
you would prefer not to have the Mini toolbar appear, you can turn it off.
4
Here are quick descriptions of the new functions and any existing functions to which they're
related. The following figure shows these functions in action, and lists the exact formula used
to calculate the cell's values:
• AVERAGEIF, which lets you find the average value of cells in a range for cells that
meet a single criterion
• AVERAGEIFS, which enables you to find the average value of cells in a range for
cells that meet multiple criteria
• SUMIFS, an extension of the SUMIF function, which enables you to find the sum of
cells in a range for cells that meet multiple criteria
• COUNTIFS, an extension of the COUNTIF function, which enables you to count the
number of cells in a range that meet multiple criteria
• IFERROR, an extension of the IF function, which lets you tell Excel what to do in
case a cell's formula generates an error (as well as what to do if the formula works as
expected)
• If monthly sales are more than 10 percent ahead of sales during the same month in the
previous year, display the value in green;
• If monthly sales are greater than or equal to sales during the same month in the
previous year, but are less than 10 percent greater, display the value in yellow;
5
• If monthly sales are less than sales during the same month in the previous year,
display the value in red.
In Excel 2007 you can have as many rules as you like, apply several rules to a single data
value, choose to stop evaluating rules after a particular rule has been applied, and change the
order in which the rules are evaluated without having to delete and re-create the rules you
change. As shown in the figure, you can also apply several new types of conditional data
formats: data bars, which create a horizontal bar across a cell indicating how large the value
is; color gradients, which change a cell's fill color to indicate how large the value is; and icon
sets, which display one of the available icons depending on the guidelines you establish.
6
Program 1
Step-3) MS Office
Step-4) MS Excel
Step-5) Enter the Student Marks of all Subjects in the relevant Cells
Step-6) Select all the cell with marks and apply the formula SUM (C4:H4)
Step-8) Go to Statistics
Output
Sno Student Name Telugu Hindi English Maths Science Social Studies Total Average
1 D Venkatesh 70 80 60 90 85 80 50 78
2 BS Ravichandra 60 60 80 60 85 88 433 72
3 B. Arun Kumar 60 65 68 90 85 87 455 76
4 K Sushma 50 45 75 85 80 74 409 68
7
Program -2
Write a Program to calculate 3 years moving average of sales in EXCEL
Step-3) MS Office
Step-4) MS Excel
Steps-5) Enter the sales data with respective years (1991 to 1998) in the cells
Step -7) At Cell C6 Calculate moving total of sales of first 3 year (1991to1993) using the
Formula =SUM (B5, B6, B7)
Step -9) At Cell D6 calculate the moving Average of sales by using the formula =(c6/3)
Output
8
Program -3
Write a program to construct the column chart for the following sales data
Month Jan Feb Mar April May June July Aug Sept Oct Nov Dec
Sales 10% 15% 35% 49% 60% 25% 45% 55% 60% 30% 70% 15%
Step-3) MS Office
Step-4) MS Excel
Step-5) Enter the sales information from (Jan-Dec) in table form with borders
Step-7) Go to Insert
Step-8) Go to Charts
Step-10) To appear the Sales figure in the chart right Click on the chart click on Datalabels
Output:
Month Sales
jan 15%
mar 35%
apr 40%
may 60%
jun 25%
jul 45%
aug 55%
sep 60%
oct 30%
nov 70%
dec 10%
9
Program-4
Write a program to construct the Bar chart for the following sales data
Month Jan Feb Mar April May June July Aug Sept Oct Nov Dec
Sales 10% 15% 35% 49% 60% 25% 45% 55% 60% 30% 70% 15%
Step-3) MS Office
Step-4) MS Excel
Step-5) Enter the sales information from (Jan-Dec) in table form with borders
Step-7) Go to Insert
Step-8) Go to Charts
Step-10) To appear the Sales figure in the chart right Click on the chart click on Data labels
Output
Month Sales
Jan 15%
Mar 35%
Apr 40%
May 60%
Jun 25%
Jul 45%
Aug 55%
Sep 60%
Oct 30%
Nov 70%
Dec 10%
10
Program-5
Step-3) MS Office
Step-4) MS Excel
Step-7) A dialogue box appears consists of their valve number rate, value1, value2
Step -9) The value on sales give the cell reference (c5:G5) period click ok
Step-10) Calculate Initial Investment by using (NPV - Net cash of Period-0) i.e., = (b8-b5)
Output
11
Program – 6
Step- 1) Enter the following data into cells A1 to A3: 2011, 1 , 26.
Step- 2) Click on cell B1 - the location where the results will be displayed.
Step- 4) Choose Date & Time from the ribbon to open the function drop down list.
Step- 5) Click on DATE in the list to bring up the function's dialog box.
Step- 7) Click on cell A1 to enter the cell reference into the dialog box.
Step- 13) The current date should appear in cell B1 in the format 1/26/2011.
Step-14) When you click on cell E1 the complete function = DATE( Year, Month, Day)
Output
2011 1/26/2011
1
26
12
Introduction to MS Access
What is a database?
A database is a collection of similar information; storing it on a computer provides a means
of analyzing and manipulating this information.
You can use filters and/or queries to search a database. Access® also has a report function
which enables you to analyse the results of a search in printed format or in
another application such as Microsoft Excel® or Microsoft Word®
Database terminology
• Data – a basic unit of information, e.g. a surname
• Field – a data category, e.g. list of surnames. Fields make up the columns of a table
• Record – information about a person or objects. Records make up the rows of a table
• Primary key – a field that uniquely identifies a record, to aid searching. A student
registration number would make a good primary key as it is unique to each student. A
surname would be impractical, as there may be several people with the same surname, so the
primary key would not be unique.
• Relational database – the simplest database only needs one table, but this is not very
efficient or flexible. By breaking a large table into several smaller tables and establishing
relationships between common themes in these tables, you can hold a wider range of data and
offer greater flexibility in 3 retrieving information. This type of database is commonly known
as a Relational database.
13
Program-7
Step -1) Start Menu Step -2) Programs Step-3) MS Office Step-4) MS ACCESS
Step-10) Enter the relevant field name and data type with (ID, First Name, Last Name,
Department, Designation, Salary, Date of Joining)
Step-12) Enter the relevant Data in the datasheet with respect to Field Name
Last Date of
ID First Name Department Designation Salary Exp Married
Name Joining
BS
ZAGHR01 Ravi HR Manager $30,000.00 1/7/2005 5 Yes
Chandra
Asst
ZAGHR02 Julakanti Rajesh HR $24,000.00 7/7/2006 4 Yes
Manager
Asst
ZAGHR03 Lakavaram Kumar HR $24,000.00 7/30/2006 4 Yes
Manager
Sr.
ZAGHR04 Rentala Lavanaya HR $18,000.00 10/15/2007 3 NO
Executive
HR
ZAGHR05 George Mathwe HR $13,000.00 1/7/2008 2 NO
Executive
Mgmt
ZAGHR06 Katthuri Swarna HR $9,000.00 12/1/2009 1 NO
Trainee
14
Program-8
Step-4) MS ACCESS
Step- 6) Go to Create
Output
15
Program-9
Step-4) MS ACCESS
Step- 6) Go to Create
Step-9) Finish
Output
A split form is a new feature in Microsoft Office Access 2007 that gives you two views of the
data at the same time — a Form view and a Datasheet view.
16
Program- 10
Step-3) MS Office
Step-4) MS ACCESS
Step- 6) Go to Create
Step-9) From the Tables/Queries drop down list, select the table or query that contains the
fields you wish to use in the query
Step -10) select each field that you want included in your query and add it to the Selected
Fields list by clicking the “>” button. As a shortcut, if you want to add all fields,
click the “>>” button. Click Next to continue.
Step-11) In the next screen of the Simple Query Wizard, choose whether you want to run a
Detail or Summary query. A Detail Query will return a listing of every record,
Whereas a Summary Query will, as its name implies, return a summarized version
of the results.
Step -12) If you choose to perform a Summary query, you’ll also have to decide how you
want the information summarized. To do this, click the Summary Options button
and check which items should be summarized. Also, if you want a count of how
many items are included in each category of your summary, put a check in the box
next to Count Records. Click OK to exit the Summary Options window.
Step-13) Click Next to continue. Skip to Step 8 if you chose to run a Detail Query.
Step-14) If you’re running a Summary Query, the next step in the wizard may ask you to
choose how you want to group the records in your query. Make your selection and
click Next to continue.
17
Output
18
Program -11
Step-3) MS Office
Step-4) MS Excel
Step-5) Go to Data
Step -8) Open the Access File and the Table or Query of your choice from the Dialog Box
Step-9) Click Ok and Choose the Table From the Import Dialog Box
Step-10) Select the Cell in the excel Sheet where you want to put the data
Output
Date of
ID First Name
Last Name Department Designation Salary Joining Married
RamaKrishna
ZAGFIN01 Sriramadasu Chary Finance Manager 60000 1/2/2011 YES
Sudha Asst
ZAGFIN02 Kishore Ponnam Finance Manager 30000 12/14/2003 YES
Vamsee Sr.
ZAGFIN03 Krishna EVS Finance Executive 20000 1/26/2007 NO
19
Program-12
Step-3) MS Office
Step-4) MS ACCESS
Step-7) Choose the concern file from the drive where you have saved
Step-8) Select (Import the Source Data into a new table in the current database) if the table is
not there
Step-9) If the table already exists then selects the option 2nd option (Append the copy of
the record to the table) Access will add record to the table
Step-10) Click OK
Step-11) Select the option ( First Row contains Column Heading) Click Next
Step -13) Assign Primary Key By 1) Access or Choose of your own or do not assign Primary
Key Click Next
Output
Sheet1
Social
ID Sno Student Name Telugu Hindi English Maths Science Total Average
Studies
1 1 D Venkatesh 70 80 60 90 85 80 50 78
2 2 BS 60 60 80 60 85 88 433 72
Ravichandra
3 3 B. Arun Kumar 60 65 68 90 85 87 455 76
4 4 K Sushma 50 45 75 85 80 74 409 68
20
13) Write a Program to Calculate Standard Deviation Using Excel
Step-3) MS Office
Step-4) MS Excel
Output
Houston Dallas
TX 30.0 TX 32.8
Months N N
Jan 49.3 43.1
Feb 52.6 49.9
Mar 66.4 59.9
Apr 67.8 63.5
May 77.9 74.5
Jun 81.3 78.5
Jul 85.2 85.1
Aug 84.8 87.8
Sep 73.9 79.1
Oct 70.9 69.2
Nov 57.6 49.8
Dec 47.6 39.1
21