You are on page 1of 21

INDEX

S.NO NAME OF THE PROGRAMME


PROGRAMME PAGE NO

1 Introduction of Excel 3 -7

2 Sum and Average of Student Marks 8

3 Moving Average of Sale using Excel 9

4 Creation of Column Chart 10-


10-11

5 Creation of Bar Chart 12-


12-13

6 Creation of NPV in Excel 14

7 Program on Date Function in Excel 15

8 Introduction of MS Access 16

9 Creation of Access Table using MS Access 17-


17-18

10 Creation of Access Reports using MS Access 19

11 Creation of Access Forms using MS Access 20

12 Creation
Creation of Access Query using MS Access 21-
21-22

13 Transfer of data Between Excel and Access 23

14 Transfer of data Between Access and Excel 24

15 Calculation of Standard Deviation Using Excel 25

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.

Touring the new user interface


The most obvious change to the user interface is the ribbon, which replaces all the menus and
toolbars you may be familiar with. After you've entered your data into a worksheet, you can
change the data's appearance, summarize it, or sort it, using the commands on the ribbon.
Unlike previous versions of Excel, which made you hunt through a complex toolbar and
menu system to find the commands you wanted, everything you want to do can now be found
in one place.

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.

Arranging data into tables


You'll often discover that it makes sense to arrange your Excel data as a table, where each
column contains a specific data element (such as an order number or the hours you worked on
a given day) and each row contains data about a specific thing (such as the details of order
number 1403). The following graphic shows an Excel table.

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.

Creating formulas using new functions


The Microsoft Excel programming team encourages users to suggest new capabilities that
could be included in future versions of the program. Apparently, one of the most common
requests from corporations using Excel was to find the average value of cells in which the
value met certain criteria. For example, in a table listing orders, a formula could find the
average amount of all orders over $1,000.

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)

Creating better conditional formats


Businesses often use Excel to track corporate spending and revenue. The actual figures are
very important, of course, but it's also useful for managers to be able to glance at their data
and determine whether the data exceeds expectations, falls within an acceptable range, or
requires attention because the value falls below expectations. In versions prior to Excel 2007,
you could create up to three conditions and define a format for each one. For example, you
could create the following rules:

• 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

Write a program to calculate Sum and Average of Student Marks

Step -1) Start Menu

Step -2) Programs

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 -7) Go to Formulas

Step-8) Go to Statistics

Step -9) Click Average (C4:H4)

Step -10) Select the entire date and apply borders

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 -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS Excel

Steps-5) Enter the sales data with respective years (1991 to 1998) in the cells

Step- 6) Create a column of moving average

Step -7) At Cell C6 Calculate moving total of sales of first 3 year (1991to1993) using the
Formula =SUM (B5, B6, B7)

Step- 8) Repeat the step-7 till the cell c11

Step -9) At Cell D6 calculate the moving Average of sales by using the formula =(c6/3)

Step -10) Repeat the step-7 till the cell D11

Step-11) End the programme by assigning the borders

Output

Years Sales 3 years moving Total 3 years moving Average


1991 10
1992 20 60 20
1993 30 90 30
1994 40 120 40
1995 50 150 50
1996 60 180 60
1997 70 210 70
1998 80

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 -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS Excel

Step-5) Enter the sales information from (Jan-Dec) in table form with borders

Step-6) Select the table

Step-7) Go to Insert

Step-8) Go to Charts

Step-9) Click on Column Chart

Step-10) To appear the Sales figure in the chart right Click on the chart click on Datalabels

Step -11) End Program

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 -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS Excel

Step-5) Enter the sales information from (Jan-Dec) in table form with borders

Step-6) Select the table

Step-7) Go to Insert

Step-8) Go to Charts

Step-9) Click on Bar Chart

Step-10) To appear the Sales figure in the chart right Click on the chart click on Data labels

Step -11 End Program

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

Write a Program to calculate NPV using EXCEL

Step -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS Excel

Step-5) Enter the relevant data in the Excel sheet

Step-6) Click on formula go to financial formula click NPV formula

Step-7) A dialogue box appears consists of their valve number rate, value1, value2

Step- 8) The rate of value (B7) of discount rate

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)

Step-11) End Program

Output

period period period period period


Cashflow period 0 1 2 3 4 5
profit after tax 3550 7910 12910 18435 24618
odd back cash item 20000 20000 20000 20000 20000
capital rey payment 14832 17056 19615 22537 25940
net cash 20000 8718 10854 13295 15898 18678

discount rate 30%


Npv $29,776.93
Initail Investment $9,776.93

11
Program – 6

Write a program for Date function in MS Excel

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- 3) Click on the Formulas tab.

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- 6) Click on the "Year" line in the dialog box.

Step- 7) Click on cell A1 to enter the cell reference into the dialog box.

Step- 8) Click on the "Month" line in the dialog box.

Step- 9) Click on cell A2 to enter the cell reference.

Step- 10) Click on the "Day" line in the dialog box.

Step- 11) Click on cell A3 to enter the cell reference.

Step- 12) Click OK.

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 Microsoft Access®?


Microsoft Access® is an application used for creating databases.

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.

How does Access® achieve this?


Access® stores information in tables. Data can then be entered directly into a table or into a
form (an interface for adding and editing data) which then places it into a table. For further
details, see the document USER 166: Creating forms in Microsoft Access 2007®

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

Write a Program Create Table in MS ACCESS

Step -1) Start Menu Step -2) Programs Step-3) MS Office Step-4) MS ACCESS

Step-5) Click on Blank database

Step-6) Give File Name to database

Step-7) Click Create

Step-8) Go to View click Design View

Step-9) Save the Database Table

Step-10) Enter the relevant field name and data type with (ID, First Name, Last Name,
Department, Designation, Salary, Date of Joining)

Step-11) Save the Table and go to Datasheet View

Step-12) Enter the relevant Data in the datasheet with respect to Field Name

Step-13) End the Program

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

Write a Program Create Report in MS ACCESS

Step -1) Start Menu Step -2) Programs Step-3) MS Office

Step-4) MS ACCESS

Step -5) Create a Table

Step- 6) Go to Create

Step-7) Go to report Wizard a dialog box appears

Step -8) Add all the fields Click Next

Step-9) Sort the records by up to four records either Ascending or Descending

Step-10) Click Finish

Output

15
Program-9

Write a Program Create a Split Form in MS ACCESS

Step -1) Start Menu Step -2) Programs Step-3) MS Office

Step-4) MS ACCESS

Step -5) Create a Table

Step- 6) Go to Create

Step-7) Go to Split Forms

Step -8) Save the form with Relevant Table Name

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

Write Program to Create a Query in MS Access

Step -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS ACCESS

Step -5) Create a Table

Step- 6) Go to Create

Step -7) Go To Query Wizard

Step-8) Simple Query Wizard Click OK to continue.

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.

Step-15) Choose a name for your query and click Finish.

17
Output

18
Program -11

Write a Program to Link an Access File to an Excel File

Step -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS Excel

Step-5) Go to Data

Step-6) Click on From Access

Step-7) Choose the Access file from the existing drives

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

Step -11) Click OK

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

ZAGFIN05 Ramana Akunuru Finance Accountant 20000 1/26/2007 YES


Mgmt
ZAGFIN06 Mamatha Marri Finance Trainee 10000 1/1/2010 NO

19
Program-12

Write the Program to Link an Excel File to Access File

Step -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS ACCESS

Step-5) Go to External Data

Step-6) External Data dialog box appears

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-12) Assign Integer Data type to the SNo Click Next

Step -13) Assign Primary Key By 1) Access or Choose of your own or do not assign Primary
Key Click Next

Step-14) Give a Name to Table Click Finish

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 -1) Start Menu

Step -2) Programs

Step-3) MS Office

Step-4) MS Excel

Step -5) Enter the relevant data into the cells

Step-6) For Average Go to Formulas Click More Function

Step-7) Click on Statistical Click on Average (B4:B15)

Step-8) For Standard Deviation Go To Formulas Click More Functions

Step –9) Click on Statistical Click on stdev (B4:B15)

Step-10) End Program

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

Annual Average 67.94167 64.95833


Standard Deviation 13.51743 16.6529

21

You might also like