Editor
Dr. Reema Thareja
Content Writers
Havish Madhvapaty
Founder and C - Havish m Consulting
Amit Kumar
Assistant Professor, Department of Financial Studies,
Shaheed Sukhdev College of Business Studies, University of Delhi
Prof. Aruna Jha
Professor, Shri Ram College of Commerce, University of Delhi
Academic Coordinator
Deekshant Awasthi
Published by:
Department of Distance and Continuing Education
Campus of Open Learning, School of Open Learning,
University of Delhi, Delhi-110007
Printed by:
School of Open Learning, University of Delhi
BASIC IT TOOLS
External Reviewer
Printed at: Taxmann Publications Pvt. Ltd., 21/35, West Punjabi Bagh,
New Delhi - 110026 (15,000 Copies, 2024)
Syllabus Mapping
Unit - 1: Introduction to Spreadsheets Unit 1:
Spreadsheets: Concept of worksheets and workbooks, creating, opening, Introduction to Spreadsheets
closing and saving workbooks, moving, copying, inserting, deleting and (Pages 1–28)
renaming worksheets, working with multiple worksheets and multiple work-
books, controlling worksheet views, naming cells using name box, name
create and name define; Exchanging data using clipboard, object linking
and embedding; Printing and Protecting worksheets: Adjusting margins,
creating headers and footers, setting page breaks, changing orientation,
creating portable documents and printing data and formulae; Implementing
file level security and protecting data within the worksheet; Understanding
absolute, relative and mixed referencing in formulas, referencing cells in
other worksheets and workbooks, correcting common formula errors, working
with inbuilt function categories like mathematical, statistical, text, lookup,
information, logical, database, date and time and basic financial functions.
Unit - II: Data Analysis in Spreadsheets Unit 2: Data Analysis in
Consolidating worksheets and workbooks using formulae and data consol- Spreadsheets
idate command; Choosing a chart type, understanding data points and data (Pages 29–55)
series, editing and formatting chart elements, and creating sparkline graphics,
Analysing data using pivot tables: Creating, formatting and modifying a
pivot table, sorting, filtering and grouping items, creating calculated field
and calculated item, creating pivot table charts, producing a report with
pivot tables. Introduction to recording and execution of macros.
Unit - III: Word Processing Unit 3: Word
Introduction: Creating and saving your document, displaying different views, Processing
working with styles and character formatting, working with paragraph for- (Pages 56–84)
matting techniques using indents, tabs, alignment, spacing, bullets and num-
bering and creating borders; Page setup and sections: Setting page margins,
orientation, headers and footers, end notes and foot notes, creating section
breaks and page borders; Working with tables: Creating tables, modifying
table layout and design, sorting, inserting graphics in a table, table math,
converting text to table and vice versa; Create newspaper columns, indexes
and table of contents, Spell check your document using inbuilt and custom
dictionaries, checking grammar and style , using thesaurus and finding and
replacing text; Create bookmarks, captions and cross referencing, adding
hyperlinks, adding sources and compiling and bibliography; Mail merge:
Creating and editing your main document and data source, sorting and
filtering merged documents and using merge instructions like ask, fill-in
and if-then-else; Linking and embedding to keep things together.
PAGE
Unit 1: Introduction to Spreadsheets 1–28
PAGE i
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
1
Introduction to
Spreadsheets
Spreadsheets serve as robust tools utilized to organize, analyze, and manipulate data in a
tabular format. They present a structured approach for storing and managing information,
conducting calculations, and generating visual representations. Spreadsheets find extensive
application across various domains, including finance, accounting, project management,
and data analysis.
The fundamental components of a spreadsheet are cells, which are arranged in rows and
columns. Each cell can accommodate distinct types of data, such as numbers, text, dates,
or formulas. By inputting data into cells and employing formulas or functions, users can
perform computations and establish relationships between different cells or cell ranges.
Spreadsheets encompass a wide range of functionalities and features, including:
Data Organization: Users can create multiple worksheets within a single spreadsheet
file, facilitating the organization of related data into separate tabs or sheets. This
aids in managing intricate datasets and ensuring data integrity.
Formulas and Functions: Spreadsheets provide an extensive library of built-in
functions and formulas to execute calculations, manipulate data, and automate tasks.
Functions encompass simple arithmetic operations (e.g., addition or multiplication)
as well as complex statistical and financial calculations.
Data Analysis: Spreadsheets offer tools for sorting, filtering, and formatting data,
simplifying the analysis and interpretation of information. Users can generate charts,
graphs, and pivot tables to visualize data trends and patterns.
Collaboration and Sharing: Many spreadsheet applications support real-time
collaboration, enabling multiple users to work on the same spreadsheet simultaneously.
Users can share spreadsheet files, regulate access permissions, and track changes
made by different collaborators.
Macros and Automation: Spreadsheets often incorporate the capability to record
and execute macros, which comprise sets of instructions that automate repetitive
tasks. Macros can be utilized to perform intricate data manipulations or automate
report generation.
PAGE 1
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
2 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 3
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Excel 2019 (version 16.0): Excel 2019 introduced new functions,
enhancements to data analysis features, improved charting capabilities,
and updates to Power Query and Power Pivot.
Excel for Microsoft 365 (formerly Office 365): Microsoft now
offers Excel as part of its subscription-based service, providing
regular updates and new features to subscribers.
Opening Workbook
We will be working on Microsoft 365 version of Excel. Upon launching
Excel, you will be welcomed by the Start Screen, offering you convenient
choices to open recent files, templates, or explore your folders.
To access the Open dialog box and select the desired workbook file, sim-
ply click on the “Open” button. You can find this button on the screen.
Inside the dialog box, you can browse your computer’s folders using the
navigation pane or use the search bar for faster file retrieval.
4 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
You also have the option of opening workbooks directly from Excel by Notes
accessing the File tab situated in the top left corner of the application
window.
Simply click on the “File” tab to access the Backstage view, where you’ll
find a range of file-related options.
To open a workbook, select “Open” from the sidebar. This action will
bring up the Open dialog box, allowing you to choose the specific work-
book you want to open.
PAGE 5
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes With Excel, you have the ability to open multiple workbooks at the same
time, giving you the flexibility to work on various projects or analyze
data across different files. By following the mentioned steps, you can
easily open additional workbooks while keeping the previously opened
ones unaffected.
Every workbook you open appears in its own separate Excel window,
allowing you to conveniently switch between them using either the task-
bar or Excel’s View tab.
Saving Workbook
Ensuring the preservation of your data and work for future use requires
the crucial step of saving your Excel file. By saving the file, you create
a permanent copy that can be accessed, edited, and shared with others.
In this section, we will explore various methods of saving an Excel file,
which includes selecting the file format, specifying the file name and
location, and utilizing additional saving options.
Excel will automatically save the changes to the existing file at its Notes
current location and with the same name.
PAGE 7
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Closing Workbook
To close an active workbook, you have a couple of options. First, you can
click on the “File” tab and select “Close” from the sidebar. Alternatively,
you can use the keyboard shortcut “Ctrl + W” to close the workbook
quickly. If you have made any changes to the workbook since the last
save, Excel will prompt you to save or discard the changes before closing.
Make sure to choose the appropriate option based on your preferences.
Remember to save your work if necessary to avoid losing any changes.
When dealing with multiple open workbooks, you have different ways to
close them. For a specific workbook, activate its window and follow the
steps mentioned in section II.A. This involves clicking on the “File” tab
and selecting “Close” from the sidebar or using the keyboard shortcut
“Ctrl + W”.
To close all open workbooks simultaneously, you can take one of two
approaches. Firstly, click on the “File” tab and choose “Close All” from
the sidebar. Alternatively, you can use the keyboard shortcut “Ctrl +
Shift + W” to close all workbooks at once. In either case, Excel will
prompt you to save any unsaved changes in each workbook before closing.
Inserting Worksheets
Excel provides flexibility in handling large amounts of data by allowing
users to insert additional worksheets within a workbook. Follow below
steps to insert a new worksheet:
Select the existing worksheet that will precede the new one.
right-click on the selected worksheet tab.
From the context menu, choose “Insert” to open the “Insert”
dialog box.
8 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Select the desired location for the new worksheet, whether before Notes
or after the selected worksheet.
Click “OK” to insert the new worksheet.
Inserting worksheets allows for data segmentation into different
sheets based on categories, time periods, or other relevant criteria.
Deleting Worksheets
Over time, it may be necessary to remove unnecessary worksheets to
declutter your workbook. However, caution should be exercised to avoid
unintentional data loss. Follow below steps to delete a worksheet:
right-click on the worksheet tab you wish to delete.
From the context menu, choose “Delete.”
Excel will present a confirmation dialog box to ensure the deletion
of the selected worksheet.
Review the message and click “Delete” to permanently remove the
worksheet.
Before deleting a worksheet, ensure that important data has been
backed up and consider whether the data contained in the sheet is
needed elsewhere or can be moved to a different worksheet.
renaming Worksheets
Excel assigns default names (Sheet1, Sheet2, etc.) to newly created
worksheets, which may not adequately describe their content. Renaming
worksheets enhances clarity and organization within your workbook.
Here’s how you can rename a worksheet:
Double-click on the worksheet tab you wish to rename, or right-
click on the tab and select “rename.”
The worksheet tab becomes editable, allowing you to enter a new
name.
Type the desired name for the worksheet.
Press Enter or click outside the tab to confirm the new name.
When renaming worksheets, it is helpful to choose descriptive names
that reflect the purpose or content of the sheet. This simplifies
PAGE 9
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
10 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 11
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
12 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 13
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Clipboard, Linking and Embedding
In today’s data-driven decision-making world, the seamless exchange of
data between different software applications is crucial. Microsoft Excel,
a powerful spreadsheet program, offers a variety of features for data
manipulation and analysis. One such feature is the clipboard, which en-
ables efficient transfer of data between Excel and other applications. We
explore different techniques and best practices for utilizing the clipboard
in Excel to exchange data.
square at the bottom-right corner) in the Clipboard group, and the Notes
Clipboard task pane will appear.
PAGE 15
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes switch to the destination application, and paste the object using
the Paste command.
pasting Data from Other Applications to Excel
pasting Text: When pasting text from another application into
Excel, use the Paste Special command (Ctrl+Alt+V) to access
various paste options. You can choose to paste the text as values,
formulas, or maintain the source formatting.
pasting Tables: Many applications support copying data as
tables. To paste a table from another application into Excel, use
the Paste Table feature, which converts the copied table into an
Excel range while preserving its structure.
16 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
printing and protecting Worksheets
Let us look at the important aspects of printing and protecting work-
sheets in Excel. Printing enables the creation of physical copies of your
data, while protecting worksheets ensures the security and integrity of
your information. By understanding these functionalities, you will gain
the ability to effectively present your data and safeguard it against un-
authorized changes. Let us explore the world of printing and protecting
worksheets in Excel.
printing Worksheets
printing Basics: Printing a worksheet provides the means to share
information in a tangible format or review it offline. Excel offers
a range of printing options to tailor the appearance and layout of
your printed worksheets. Here are some fundamental concepts to
help you get started.
page Setup: Optimizing the page setup is essential before printing
to ensure your content fits appropriately. Adjust margins, paper size,
orientation (portrait or landscape), and scaling options to control
how the worksheet appears on paper.
print Area: Define a specific range of cells as the print area to
selectively print desired content. This feature proves useful when
excluding unnecessary information or focusing on a specific section
of your worksheet.
headers and Footers: Headers and footers allow you to include
additional information on your printed pages, such as page numbers,
document titles, dates, or author names. Excel provides built-in
options to customize headers and footers to meet your requirements.
print preview: The Print Preview feature allows you to visualize
how your worksheet will look when printed. It enables you to review
the page layout, make adjustments, and ensure that everything
appears as intended before sending it to the printer.
PAGE 17
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Worksheet protection
It is crucial for safeguarding your data and preventing unintended or unau-
thorized changes. Excel provides several protection features that empower
you to manage access, control editing, and uphold the integrity of your
worksheets. Let us delve into the key aspects of worksheet protection:
password protection: Excel enables you to assign a password to
a worksheet, ensuring that only individuals with the password can
make modifications. By employing password protection, you add
an extra layer of security to deter unauthorized access and changes.
18 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
protection of Cells and ranges: You can protect specific cells or Notes
ranges within a worksheet to restrict editing. This feature proves
valuable when you want to permit users to enter data in particular
areas while preserving the integrity of other cells or formulas.
Worksheet-Level protection: Excel empowers you to protect
an entire worksheet, imposing limitations on various actions like
inserting or deleting rows, columns, or sheets, formatting cells, or
even selecting locked cells. This comprehensive protection guarantees
the preservation of your data and prevents inadvertent alterations.
Workbook-Level protection: In addition to worksheet protection,
Excel allows you to safeguard an entire workbook. Workbook-
level protection prevents users from adding, deleting, moving, or
hiding worksheets within the workbook. It also limits changes to
the workbook’s structure and window size.
PAGE 19
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
20 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 21
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Excel offers predefined options and codes to insert dynamic information,
including page numbers or file paths. Access these options from the
“Header & Footer Elements” group within the ribbon.
Utilizethe available formatting options in the “Header & Footer
Tools” Design tab to enhance the appearance of your headers
and footers while actively editing them.
Upon completing the modifications to the headers and footers,
select the “Close Header and Footer” button or double-click on
the main worksheet area to exit the “Page Layout” view and
revert to the normal worksheet perspective.
relative referencing
By default, Excel uses relative referencing. When a formula contains
relative references, the formula automatically adjusts its cell references
when copied or filled into other cells. This means that the formula’s
references change relative to their new location.
For example, if we have a simple formula “=A1+B1” in cell C1 and copy
it to C2, it adjusts to “=A2+B2”. The row numbers change to reflect the
formula’s relative position in the new location.
22 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Mixed referencing
Mixed referencing combines elements of absolute and relative referencing.
It allows us to fix either the column or the row while allowing the other
part of the reference to change.
To create a mixed reference, use “$” before either the column letter or
the row number, but not both. For example, the formula “=A$1+B2”
contains a mixed reference. When copying this formula to other cells,
the row number for cell A$1 remains constant, while the column letter
for B2 changes accordingly.
PAGE 23
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes to reference cell A1 in Sheet2 from Sheet1, you can employ the
following formula: =Sheet2!A1. This formula retrieves the value of
cell A1 in Sheet2 and displays it in the current worksheet.
Indirect Cell reference: Excel also provides the INDIRECT
function, enabling you to create dynamic references to cells in
other worksheets. With the INDIRECT function, you can construct
cell references based on the contents of other cells. For example,
if cell A1 contains the name of a worksheet, you can utilize
=INDIRECT(A1&”!A1”) to reference cell A1 in the worksheet
specified by the value in cell A1.
3-D Cell references: When dealing with multiple worksheets in a
workbook, you can employ 3-D cell references to perform calculations or
retrieve data across multiple sheets. For instance, =SUM(Sheet1:Sheet3!A1)
adds the values in cell A1 from Sheet1, Sheet2, and Sheet3.
24 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Correcting Common Formula Errors
Formulas serve as the foundation of Excel spreadsheets, enabling users
to perform calculations and automate tasks. However, even experienced
Excel users may encounter errors in their formulas. This section delves
into the most common formula errors, providing a step-by-step guide on
how to identify and rectify them to ensure accurate results and reliable
data analysis.
PAGE 25
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Functions
Here are three examples each of different categories of functions in Excel:
Mathematical Functions
SUM: Adds up a range of numbers. For example, “=SUM(A1:A10)”
will add the values in cells A1 to A10.
AVErAGE: Calculates the average of a range of numbers. For
instance, “=AVERAGE(A1:A10)” will give the average of the values
in cells A1 to A10.
pOWEr: Raises a number to a specified power. For example,
“=POWER(A1, 2)” will calculate the square of the value in cell A1.
Statistical Functions
COUNT: Counts the number of cells in a range that contain numbers.
For instance, “=COUNT(A1:A10)” will count the number of cells
in the range A1 to A10 that contain numeric values.
MAX: Returns the maximum value in a range of cells. For example,
“=MAX(A1:A10)” will give the largest value in the range A1 to A10.
STDEV: Calculates the standard deviation of a range of numbers.
For instance, “=STDEV(A1:A10)” will give the standard deviation
of the values in cells A1 to A10.
Text Functions
CONCATENATE: Joins two or more text strings together. For
example, “=CONCATENATE(A1, “ “, B1)” will combine the text
in cells A1 and B1 with a space in between.
PAGE 27
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Unit – 1 Questions
1. Which one of these is not an error type in Excel?
(a) #MISTAKE
(b) #NA
(c) #REF
(d) #DIV/0
2. To edit the Names given in the Name Box, we go to:
(a) Name Box
(b) Name Controls
(c) Name Manager
(d) Name Table
28 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
2
Data Analysis in
Spreadsheets
One of the essential features Excel offers is the ability to consolidate data from multiple
worksheets and workbooks We will explore two primary methods for consolidating data
in Excel: using formulas and utilizing the Data Consolidate command.
PAGE 29
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Step 1: Open the workbooks: Ensure that all the workbooks containing
the data you want to consolidate are open in Excel.
Step 2: Activate the destination workbook: Select the workbook that
will serve as the destination for the consolidated data. This workbook
can be an existing one or a new workbook.
Step 3: Access the Data Consolidate command: Go to the “Data” tab
in the Excel ribbon and click on the “Consolidate” button in the “Data
Tools” group. The Consolidate dialog box will appear.
Step 4: Specify the consolidation settings: In the Consolidate dialog
box, choose the consolidation function (e.g., SUM, AVERAGE) and
select the references to the source data. You can either manually select
the data ranges or use the “Add” button to browse and select the ranges
from the open workbooks.
Step 5: Customize consolidation options: Depending on your require-
ments, you can choose to consolidate by position (cell reference) or by
category labels. You can also opt to create links to the source data or
retain formatting during consolidation.
Step 6: perform the consolidation: After configuring the desired options,
click the “OK” button. Excel will consolidate the data from the selected
workbooks into the destination workbook based on your specifications.
30 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Choosing a Chart Type
With Microsoft Excel’s vast array of chart types, it’s essential to under-
stand how to choose the right chart for your data to present it in the
most meaningful and compelling way. Let us go through the process of
selecting the appropriate chart type in Excel based on your data and the
insights you want to communicate.
PAGE 31
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
32 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Column Chart
PAGE 33
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Bar Chart
pie Chart
34 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
histogram Notes
Formatting a Chart
Charts are a powerful tool that allow users to visually represent data
and gain insights quickly. However, creating an informative and visually
appealing chart involves more than just inputting data. Proper formatting
plays a crucial role in enhancing the clarity and impact of your charts.
In this chapter, we will explore various formatting techniques that can
make your Excel charts visually engaging and effective in conveying
information.
Selecting the right Chart Type: Before diving into formatting, it’s
essential to choose the appropriate chart type that best represents
your data. Excel offers a wide range of chart types, including
column charts, line charts, pie charts, bar charts, and more. Consider
the nature of your data and the message you want to convey to
determine the most suitable chart type.
Adjusting Chart Elements: Excel provides several options to
modify chart elements, allowing you to customize the appearance
and focus of your chart. Here are some key elements you can adjust:
Chart Title: A descriptive title helps viewers understand the
chart’s purpose. To add or modify a chart title, select the chart,
and go to the “Chart Title” option in the “Chart Tools” tab.
PAGE 35
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Axis Labels: Axes provide context and scale to your chart. You
can add, remove, or edit axis labels using the “Axis Titles” option
in the “Chart Tools” tab.
Data Labels: Data labels provide actual values or additional
information to each data point. To add or modify data labels,
select the chart, navigate to the “Data Labels” option in the
“Chart Tools” tab, and choose the desired position and format.
Legends: Legends help identify the different series or categories
in your chart. Customize the legend by selecting it and accessing
the “Legend” option in the “Chart Tools” tab.
Formatting Chart Styles: Excel offers a range of pre-defined chart
styles to quickly change the appearance of your chart. These styles
incorporate different combinations of colors, fonts, and effects. To
apply a style, select the chart, go to the “Chart Styles” option in
the “Chart Tools” tab, and choose from the available options.
Modifying Chart Colors and Fonts: To match your chart with
the overall design or theme of your document, you can customize
the colors and fonts. Excel provides various colour schemes and
font options that you can access through the “Chart Tools” tab.
Experiment with different combinations to find the most visually
appealing look for your chart.
Adjusting Chart Layout and placement: Excel allows you to
resize, move, and align your chart to suit your needs. Select the
chart, click on the edges to resize, or click and drag to move it to a
different location. Use the alignment options in the “Chart Tools” tab
to align the chart precisely with other elements on your worksheet.
Applying Chart Effects: Enhance the visual appeal of your chart
using various effects. Excel offers features like shadow, glow, and
reflection, which can be accessed through the “Chart Tools” tab.
Apply these effects sparingly to avoid overwhelming the chart or
distracting viewers from the data.
36 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Sparkline Graphics
Sparkline graphics, which allow you to represent data trends and patterns
in a concise and visually appealing manner. We will explore the concept
of Sparkline graphics and learn how to create them in Excel.
PAGE 37
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Sparkline graphics come in three types: Line, Column, and Win/Loss,
each serving different purposes.
38 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
There are lots of formatting options available. Make sure to explore them.
pivot Tables
Pivot tables are a powerful feature in Microsoft Excel that allow you to
summarize and analyze large amounts of data quickly and efficiently. We
will explore the concept of pivot tables, their benefits, and how to create
and customize them to gain valuable insights from your data.
PAGE 39
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
40 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 41
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Summarize
Let us make one more pivot table on a new sheet. This time we have
Sub-Category in Rows and Sales in Values.
42 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Right click on B4 to see a list of Summarize options. Sum, Count, Av- Notes
erage are the ones we use most often.
PAGE 43
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Sort
Right click on B4 to Sort the data.
Grouping
To group dates, we keep Order Date in Rows.
44 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
You can choose the grouping levels you want. Here, we are choosing
Months and Years.
PAGE 45
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
46 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Go to Insert > Chart and choose the Clustered Column chart. Notes
PAGE 47
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
48 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Calculated Field
Keep the Profit and Sales in Values and Market in Rows. Go to Pivot-
Table Analyze > Calculation > Fields, Items & Sets > Calculated Field.
PAGE 49
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Macros
Excel macros are a powerful feature that allows users to automate repet-
itive tasks and enhance the functionality of Microsoft Excel. A macro is
essentially a set of instructions that tells Excel what to do. By recording
or writing macros in Visual Basic for Applications (VBA), users can
create custom solutions tailored to their specific needs.
Using macros in Excel provides several benefits. Firstly, macros save time
and effort by automating repetitive tasks. This allows users to focus on
more important aspects of their work. Secondly, macros eliminate human
errors that can occur during manual data entry or calculations. They en-
sure consistency and accuracy in data processing. Lastly, macros enable
the creation of sophisticated applications by adding interactive features
and customizing Excel’s functionality.
Introduction to VBA
Visual Basic for Applications (VBA) is a programming language devel-
oped by Microsoft to extend the capabilities of applications like Excel,
Word, and PowerPoint. VBA provides a way to write macros and automate
50 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
various tasks within these applications. It is a powerful tool for creating Notes
customized solutions and interacting with the Microsoft Office suite.
Learning VBA opens a world of possibilities for Excel users. It allows
them to go beyond the limitations of built-in functions and features. With
VBA, users can create complex macros, build user forms, interact with
databases, generate reports, and much more. By harnessing the power of
VBA, users can become more efficient, productive, and proficient in Excel.
PAGE 51
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
record Macro
Macros can be recorded which can then be run again. This helps us au-
tomate repetitive tasks.
This is our data.
Let us record a Macro. We will perform the following tasks on the data.
Multiple Price * Quantity in D2
Copy the formula down
Find SUM
Change colour to Green.
Now, select Developer > Code > Stop Recording.
52 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
To see the Macro that has been recorded, select Developer > Code > Notes
Visual Basic.
PAGE 53
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Select our Macro and click on Run. The same steps will be performed
for this new dataset as well.
54 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Unit – 2 Questions
1. Sparklines can be added:
(a) On top of cells
(b) Inside a cell
(c) Both
(d) On a chart
2. Which option is not available in Pivot Table Summarize?
(a) SUM
(b) COUNT
(c) AVERAGE
(d) MEDIAN
PAGE 55
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
3
Word processing
Microsoft Word is a powerful word processing software that provides numerous advanced
formatting features to enhance the appearance and organization of your documents. We
will explore various techniques and tools that will allow you to take your document for-
matting to the next level. From customizing styles and templates to utilizing advanced
layout options, you will learn how to create visually appealing and professional-looking
documents using Microsoft Word.
To access the Open dialog box and select the desired workbook file, simply click on the
“Open” button. You can find this button on the screen. Inside the dialog box, you can
browse your computer’s folders using the navigation pane or use the search bar for faster
file retrieval.
You also have the option of opening workbooks directly from Word by accessing the File
tab situated in the top left corner of the application window.
56 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Simply click on the “File” tab to access the Backstage view, where you’ll Notes
find a range of file-related options.
To open a document, select “Open” from the sidebar. This action will
bring up the Open dialog box, allowing you to choose the specific doc-
ument you want to open.
With Word, you have the ability to open multiple documents at the same
time, giving you the flexibility to work on various projects across different
files. By following the mentioned steps, you can easily open additional
documents while keeping the previously opened ones unaffected.
Every document you open appears in its own separate Word window, al-
lowing you to conveniently switch between them using either the taskbar
or Word’s View tab.
PAGE 57
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Displaying Different Views
Microsoft Word offers users the flexibility to work with various viewing
options, allowing them to customize their editing experience and opti-
mize their productivity. We will explore the different views available in
Microsoft Word and discuss how each view can enhance your document
creation and editing process. Microsoft Word has covered whether you need
a comprehensive overview of your document’s layout, a closer look at its
formatting details, or a distraction-free environment for focused writing.
Outline View
Outline View provides a hierarchical overview of the document’s structure,
allowing users to focus on its organization and easily navigate between dif-
ferent sections. It enables users to create, rearrange, and collapse headings
58 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
and subheadings, making it an efficient tool for outlining and restructuring Notes
long documents or creating structured outlines for reports and presentations.
Draft View
Draft View offers a simplified layout, focusing primarily on the text con-
tent of the document. It removes most formatting and visual elements,
providing a distraction-free environment for writing and editing. This view
is particularly helpful when working on content creation, brainstorming
ideas, or when you need to concentrate on the text without being influ-
enced by design elements.
read Mode
Read Mode, also known as Reading View, is a highly immersive and
visually appealing way to read documents. It automatically adjusts the
layout and font size to optimize readability, particularly on tablets and
touch-enabled devices. Read Mode supports interactive features such as
embedded multimedia content and hyperlinks, making it an excellent
choice for reading eBooks, articles, and other lengthy documents.
Understanding Styles
Styles are a powerful feature in Microsoft Word that allow you to apply
consistent formatting across your document effortlessly. By defining and
PAGE 59
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes applying styles, you can save time and ensure a cohesive look throughout
your content. Styles can include various formatting elements, such as
font, size, colour, alignment, indentation, and more.
Applying Styles
Microsoft Word provides a vast collection of predefined styles, or you
can create your own custom styles to suit your specific needs. To apply a
style, simply select the text and choose the desired style from the Styles
gallery. Applying a style to a paragraph will automatically format the
entire paragraph according to the defined style.
Modifying Styles
Customizing styles is a common requirement to match your document’s
unique aesthetic or meet specific formatting guidelines. Word allows you
to modify existing styles by adjusting formatting attributes like font, size,
spacing, and indentation. These modifications can be applied universally
to all instances of the style throughout the document.
Character Formatting
Font Styles and Formatting: Microsoft Word offers a wide range
of font options to choose from, including different typefaces, styles
(bold, italic, underline), and sizes. You can easily modify the font
attributes to emphasize specific text elements or create visual
hierarchy within your document.
Text Effects: In addition to basic font formatting, Word provides
various text effects to add visual impact to your document. These
effects include shadow, glow, reflection, and more. However, it’s
important to use text effects sparingly and thoughtfully to maintain
readability and professionalism.
60 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Options for Clipboard, Font and Paragraph are available in the Home Tab.
PAGE 61
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
page Setup and Sections
Microsoft Word offers powerful tools for customizing page layouts and
organizing your document into sections. Let us go through the essential
features of page setup and sections, empowering you to create profes-
sional-looking documents with ease. Whether you’re working on a simple
report or a complex manuscript, understanding these concepts will enhance
your document’s visual appeal and readability.
page Setup
Margins: Margins play a crucial role in framing the content on a
page. To set or modify margins in Microsoft Word, navigate to the
“Layout” tab and select “Margins.” Here, you can choose predefined
margin settings or customize them according to your requirements.
Consider factors such as binding, printing constraints, and overall
aesthetics when determining your margin settings.
paper Size and Orientation: The choice of paper size and orientation
significantly impacts the readability and formatting of your document.
Access the “ Layout” tab, click on “Size,” and select the desired
paper size. Moreover, you can adjust the orientation between portrait
and landscape modes to optimize your document’s layout.
page Breaks: Page breaks allow you to control where content
begins and ends on each page. Utilize page breaks to start a new
section or chapter, insert a blank page, or ensure specific content
remains together. You can insert page breaks by navigating to the
“Insert” tab and selecting “Page Break.”
Sections
Sections divide your document into distinct parts, each with its own
formatting and layout settings. Sections are particularly useful when you
need different headers, footers, page numbering, or column formatting
within a single document. They allow for greater flexibility and control
over your document’s structure.
InsertingSections: To insert a section in Microsoft Word, place the
cursor where you want the new section to begin. Navigate to the
62 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
“Layout” tab, click on “Breaks,” and select the appropriate break Notes
type for your desired section. Common break types include “Next
Page” and “Continuous.” Experiment with different break types to
achieve the desired layout.
Modifying Section Settings: Once you’ve inserted sections, you
can modify their settings to customize the formatting within each
section. Right-click on the desired section break, select “Format,” and
explore the available options. These settings may include different
headers and footers, unique page numbering, distinct margins, or
varied column layouts. Adjust as per your document’s requirements.
Linking and Unlinking Sections: Linking sections allows you to
maintain consistent formatting across multiple sections. However,
there may be instances where you need to unlink a section from the
previous one. To do so, navigate to the “Header & Footer” section
under the “Design” tab, deselect the “Link to Previous” option, and
make the necessary modifications.
PAGE 63
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
64 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Working with Tables
Table is a powerful feature in Microsoft Word that allows you to organize
and present information in a structured and visually appealing manner.
Whether you’re creating a report, a research paper, or even designing a
flyer, tables can help you display data and text in an organized grid format.
Open Microsoft Word and navigate to the page where you want to
insert the table.
Click on the “Insert” tab in the ribbon at the top of the Word window.
In the “Tables” group, click on the “Table” button. A dropdown
menu will appear.
Move your cursor over the grid of cells to select the desired number
of rows and columns for your table. Click to insert the table into
your document.
Alternatively, you can choose “Insert Table” from the dropdown
menu to specify the exact number of rows and columns you want
in the table.
Once the table is inserted, you can start entering data into the
cells. Simply click inside a cell and begin typing. You can navigate
between cells using the Tab key or the arrow keys.
To add or remove rows and columns, select a cell or a range of
cells, right-click, and choose the appropriate option from the context
menu. You can also use the Table Tools Design tab that appears when
the table is selected to add, delete, or modify rows and columns.
To format the table, select the entire table or specific cells, and use
the options in the “Table Tools” tab. You can change the table’s
borders, cell background colors, text alignment, font styles, and more.
You can also merge and split cells to create more complex table
structures. To merge cells, select the cells you want to merge,
right-click, and choose “Merge Cells” from the context menu. To
split cells, select the cell or cells you want to split, right-click, and
choose “Split Cells” from the context menu.
To adjust the overall table layout, such as column width and row
height, position your cursor over the lines between the column or
PAGE 65
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Table of Contents
The table of contents is an essential element of any well-structured docu-
ment, as it provides a roadmap for readers to navigate through the content
easily. Microsoft Word offers a convenient feature that allows you to
66 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
create and update a table of contents automatically. We will explore the Notes
step-by-step process of creating a table of contents in Microsoft Word.
PAGE 67
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
68 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Inserting SmartArt
SmartArt is a powerful feature in Microsoft Word that allows you to
create visually appealing and organized diagrams, charts, and graphics.
By using SmartArt, you can enhance the visual impact of your documents
and effectively communicate complex information. We will explore how
to insert and customize SmartArt in Microsoft Word.
To insert a SmartArt graphic in Word, follow below steps:
Open Microsoft Word and navigate to the page where you want to
insert the SmartArt graphic.
Click on the “Insert” tab located at the top of the Word window.
In the “Illustrations” group, click on the “SmartArt” button. A gallery
will appear, displaying various SmartArt categories.
Browse through the different SmartArt categories and select the one that
best suits your needs. The categories include lists, processes, cycles,
hierarchies, relationships, matrices, pyramids, and more.
Once you’ve chosen a category, click on the specific SmartArt graphic
layout that you want to use. A preview will be displayed in the right pane.
Click on the “OK” button to insert the selected SmartArt graphic onto
your document.
After inserting the SmartArt graphic, you can customize it according
to your requirements. Here are some ways to customize your SmartArt
graphic:
Add or remove shapes: To add a new shape, click on the existing
shape closest to where you want to add the new one, then click on the
“Add Shape” button in the SmartArt Tools Design tab. To remove a
shape, select the shape and press the “Delete” key on your keyboard.
Change the layout: If you want to change the layout of your
SmartArt graphic, go to the SmartArt Tools Design tab and click
on the “Change Layout” button. Select the desired layout from the
gallery that appears.
Modify the text: Click on each shape in the SmartArt graphic to
enter or edit the text. You can also apply formatting options, such
as font size, colour, and alignment, from the Home tab.
PAGE 69
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Apply styles and colors: The SmartArt Tools Design tab provides
various styles and colour combinations that you can apply to your
SmartArt graphic. Experiment with different styles to find the one
that best complements your document’s design.
resize and reposition: To resize the SmartArt graphic, click on it, and
drag the sizing handles. You can also reposition the SmartArt graphic
by clicking and dragging it to a new location within the document.
70 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Spell Check
Spell check in Microsoft Word is a powerful tool that helps identify and
correct spelling errors in your documents. It works by comparing the
words in your document against an extensive built-in dictionary. Here
are some key points to remember when using the spell check feature:
Activating Spell Check: To activate spell check, navigate to the
“Review” tab in the Word ribbon and click on the “Spelling &
Grammar” button. Alternatively, you can press the “F7” key as a
shortcut.
Automatic Spell Checking: Word can automatically check your
spelling as you type, underlining potential errors in real-time.
Misspelled words will be marked with a red wavy line.
Correcting Spelling Errors: When Word identifies a spelling
error, right-click on the underlined word to see a list of suggested
corrections. Choose the correct option, and Word will automatically
update it.
Customizing Spell Check: Word allows you to customize the spell
check feature to suit your needs. You can add words to the custom
dictionary, ignore certain words, or modify the proofing options
according to your preferences.
Grammar Correction
Apart from spell check, Microsoft Word also provides grammar correc-
tion capabilities. It can help you identify grammatical errors and offer
suggestions for improvement. Consider the following aspects of grammar
correction in Word:
Grammar Checking Options: Word offers various grammar checking
options that you can enable or disable to match your writing style.
To access these options, go to “File,” then “Options,” and select
“Proofing.”
Identifying Grammar Mistakes: Similar to spell check, Word
underlines potential grammar mistakes with a blue wavy line. Right-
PAGE 71
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Thesaurus Assistance
In addition to spell check and grammar correction, Microsoft Word in-
cludes a built-in thesaurus, allowing you to find synonyms and antonyms
to diversify your writing. Here’s how to make the most of this feature:
Accessing the Thesaurus: To access the thesaurus, select a word
in your document, right-click, and choose “Synonyms” from the
context menu. A list of alternative words will appear, providing you
with options to improve your writing style and avoid repetition.
Using Synonyms and Antonyms: Word’s thesaurus not only suggests
synonyms but also provides antonyms. This feature enables you to
explore words with opposite meanings, helping you express your
thoughts more precisely.
Inserting Synonyms Directly: Word allows you to replace words
with their synonyms directly from the thesaurus pane. Simply select
the desired synonym and click on the “Insert” button to incorporate
it into your document.
72 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Select the text or location in your document where you want to Notes
create a bookmark.
Click on the “Insert” tab in the ribbon at the top of the Word window.
In the “Links” group, click on the “Bookmark” button.
Enter a name for your bookmark in the dialog box and click “Add.”
To navigate to a bookmark, use the “Go To” feature by pressing
Ctrl+G, selecting “Bookmark” from the “Go to what” dropdown,
and choosing the desired bookmark from the list.
Adding Captions
Captions provide descriptive labels for images, tables, or other objects in
your document, improving readability and understanding. To add captions
in Microsoft Word, follow below steps:
Select the object (image or table) to which you want to add a caption.
Click on the “References” tab in the ribbon.
In the “Captions” group, click on the “Insert Caption” button.
In the dialog box that appears, select the desired label from the
“Label” dropdown.
Optionally, you can modify the caption numbering format or add
a caption prefix or suffix.
Click “OK” to insert the caption below the object.
Cross-referencing
Cross-references allow you to refer to other sections, figures, tables, or
bookmarks within your document automatically. To create cross-references
in Microsoft Word, follow below steps:
Place the cursor at the location in your document where you want
to insert the cross-reference.
Click on the “References” tab in the ribbon.
In the “Captions” group, click on the “Cross-reference” button.
In the dialog box that appears, select the desired reference type
(such as “Bookmark,” “Figure,” or “Heading”).
Choose the specific item you want to refer to from the list.
PAGE 73
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Select the desired reference format, such as page number or caption.
Click “Insert” to insert the cross-reference into your document.
Mail Merge
Microsoft Word provides a powerful feature called “Mail Merge” that
enables users to create personalized mass mailings effortlessly. Whether
you’re sending invitations, newsletters, or marketing materials, mastering
the art of mail merge can save you time and effort while maintaining
a personal touch. Let us go through the process of performing a mail
merge in Microsoft Word.
74 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 75
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
76 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 77
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
78 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 79
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
80 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 81
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Linking and Embedding
Among its many features, the ability to link and embed content elevates
the versatility and functionality of Word documents. We explore the
concept of linking and embedding and how to effectively utilize these
features in Microsoft Word.
Linking
Linking enables you to create a connection between a source file and
your Word document. When you update the source file, any changes au-
tomatically reflect in the linked document. This ensures real-time updates
and consistency.
Embedding
Embedding involves inserting an entire file or object within your Word
document. Unlike linking, embedding creates a copy of the source file,
which becomes part of the Word document. This means the embedded
content remains intact even if the original file is modified or moved.
Inserting hyperlinks
Hyperlinks allow you to connect to web pages, email addresses, or other
locations within your document. To insert a hyperlink, follow below steps:
Select the text or object you want to turn into a hyperlink.
Click the “Insert” tab on the ribbon and choose “Hyperlink.”
In the “Insert Hyperlink” dialog box, enter the desired URL or
browse to locate the file.
82 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Linking to Files
Linking to external files, such as Excel spreadsheets or PowerPoint pre-
sentations, can be incredibly useful. To link a file in Word:
Position the cursor where you want to insert the link.
Click the “Insert” tab on the ribbon and select “Object” in the
“Text” group.
In the “Object” dialog box, choose the “Create from File” tab.
Browse to locate the file you want to link and select it.
Specify additional settings, such as whether to display the file as
an icon or a link.
Click “OK” to insert the linked file.
Embedding Objects
To embed an object, such as a Word document, an Excel worksheet, or
an image, follow below steps:
Position the cursor where you want to embed the object.
Click the “Insert” tab on the ribbon and choose “Object” in the
“Text” group.
In the “Object” dialog box, select the desired object type or file.
Customize the appearance and behaviour of the embedded object
as needed.
Click “OK” to embed the object in the Word document.
Unit – 3 Questions
1. Shortcut for spell check is:
(a) F8
(b) F7
(c) F9
(d) F10
2. Mail Merge can be done using:
(a) Use an Existing List
(b) Type a New List
(c) Both
(d) Only Excel files
84 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
4
Introduction to Database
Development
Database development is a field of software engineering that focuses on designing, creat-
ing, and managing databases. Databases are essential for storing, organizing, and retrieving
vast amounts of data efficiently and securely. They are used in various domains, such as
business, e-commerce, healthcare, finance, and many others.
In the development of a database, several key concepts and processes are involved:
1. Data Modelling: Data modelling is the process of defining the structure and relationships
of the data to be stored in the database. It involves creating a conceptual, logical, and
physical representation of the data. This step helps in understanding the requirements
and designing an efficient database schema.
2. Database Management Systems (DBMS): A DBMS is software that allows users to
interact with the database. It provides functionalities for creating, modifying, and
querying the database. Popular DBMSs include MySQL, Oracle, Microsoft SQL
Server, and PostgreSQL.
3. Database Design: Database design involves defining the tables, columns, data types,
relationships, and constraints that make up the database schema. The design should
ensure data integrity, performance, and scalability.
4. Structured Query Language (SQL): SQL is a programming language used to
communicate with the database. It provides a standardized way to retrieve, insert,
update, and delete data from the database. SQL queries are used to manipulate the
data and perform various operations on the database.
5. Indexing and Optimization: Indexing is a technique used to improve the performance
of database queries by creating indexes on specific columns. Optimization involves
analyzing and fine-tuning the database design, queries, and configuration settings to
enhance performance and efficiency.
6. Data Manipulation: Data manipulation involves inserting, updating, and deleting data
in the database. It also includes querying the database to retrieve specific information
based on given criteria.
7. Data Security: Database development also focuses on implementing robust security
measures to protect sensitive data. This includes authentication, authorization,
PAGE 85
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Database Terminology
Database Terminology refers to the specific vocabulary and terms used in
the field of databases. Here are some common terms and their definitions:
1. Database: A structured collection of data that is organized and
stored in a way that allows efficient retrieval, modification, and
management.
2. Table: A fundamental unit of organization in a relational database.
It consists of rows (records) and columns (fields) that define the
structure and attributes of the data.
3. record: Also known as a row, it represents a single instance or
entry in a database table, containing a set of related data.
4. Field: Also referred to as a column, it represents a specific attribute
or property of a record in a database table. Each field has a defined
data type and holds a single value.
5. primary Key: A unique identifier for each record in a database table.
It ensures the integrity and uniqueness of the data and is used to
establish relationships between tables.
86 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
6. Foreign Key: A field or set of fields in one table that refers to the Notes
primary key in another table. It establishes relationships between
tables, enabling data integrity and enforcing referential integrity
constraints.
7. Index: A database structure that improves the speed of data retrieval
operations. It contains a sorted list of values along with pointers
to the physical location of the corresponding data.
8. Query: A request or command to retrieve, manipulate, or process
data from a database. Queries are written using a specific database
query language like SQL (Structured Query Language).
9. Normalization: The process of organizing data in a database
efficiently to eliminate redundancy and improve data integrity. It
involves dividing larger tables into smaller ones and establishing
relationships between them.
10. Backup: A copy of a database taken at a specific point in time to
protect against data loss. Backups are essential for disaster recovery
and maintaining data availability.
11. Transaction: A logical unit of work performed on a database that
consists of one or more operations. It ensures the consistency and
integrity of the data by ensuring that either all operations within a
transaction are completed or none are.
12. Schema: A logical structure or blueprint that defines the organization
and structure of a database. It includes table definitions, relationships,
constraints, and permissions.
13. Data Warehouse: A large, centralized repository of data that is
collected from various sources within an organization. It is designed
to support business intelligence and reporting activities.
14. Data Mining: The process of analyzing large datasets to discover
patterns, relationships, and useful information. It involves applying
statistical and machine learning techniques to extract insights from
data.
15. Data Integrity: The accuracy, consistency, and reliability of data
stored in a database. It ensures that data meets certain quality
standards and remains valid and trustworthy throughout its lifecycle.
PAGE 87
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes These are just a few examples of the terminology used in databases. The
field of databases encompasses a wide range of concepts and terms that
are continuously evolving with advancements in technology and new
approaches to data management.
Objects in Database
In the context of databases, objects typically refer to specific entities or
instances that are stored and managed within the database. Here are some
common examples of objects in databases:
1. Tables: A table is a fundamental object in a relational database. It
represents a collection of related data organized in rows and columns.
Each row in a table represents a record or instance of the entity
being modelled, while each column represents a specific attribute
or property of that entity.
2. Views: A view is a virtual table that is derived from the data stored in
one or more underlying tables. It provides an alternative representation
of the data, presenting a subset of the data or combining data from
multiple tables. Views are useful for simplifying complex queries,
enforcing security restrictions, and presenting a customized view
of the data to users.
3. Indexes: An index is a database object that enhances the speed of
data retrieval by providing a quick access path to the data. It is
created on one or more columns of a table and contains a sorted
copy of the data in those columns, along with pointers to the actual
data. Indexes help optimize query performance by reducing the need
for full table scans.
4. Stored procedures: A stored procedure is a named set of SQL
statements that are precompiled and stored in the database. It
allows for the execution of a sequence of database operations as
a single unit. Stored procedures can be invoked by applications or
other database objects, providing a convenient and reusable way to
perform complex tasks or business logic within the database.
5. Functions: Functions are like stored procedures but return a value
and are primarily used to perform calculations or transformations
on data. They accept input parameters, process the data, and return
88 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 89
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes 2. In the navigation pane, click on the “Table Design” button. This will
open the table design view.
3. In the table design view, define the columns (fields) of the table by
specifying their names, data types, and any additional properties.
4. Enter the desired column names in the “Field Name” column.
5. Select the appropriate data type for each column from the “Data
Type” column. Access provides various data types such as Text,
Number, Date/Time, Yes/No, etc.
6. Set any additional properties for the columns, such as field size,
format, validation rules, default values, etc. This can be done by
adjusting the properties in the “Field Properties” section at the
bottom of the table design view.
7. Define the primary key by selecting the desired column and clicking
on the “Primary Key” button in the “Tools” section of the Access
ribbon.
90 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
8. Save the table by clicking on the “Save” button in the Access ribbon Notes
or by pressing Ctrl+S.
9. Provide a name for the table when prompted and click “OK” to save
the table.
PAGE 91
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
2. Modifying a Field:
In the table design view, click on the field you want to modify.
Update the properties of the field as needed, such as the data
type, field size, or other properties.
92 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
4. reordering Fields:
In the table design view, click on a field and drag it to the
desired position within the table.
5. renaming a Field:
In the table design view, right-click on the field name and select
“Rename Field.”
Enter the new name for the field.
6. Setting primary Key:
In the table design view, select the field that you want to set as
the primary key.
Click on the “Primary Key” button in the “Tools” section of the
Access ribbon.
PAGE 93
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
94 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 95
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Data Types in MS Access
In Microsoft Access, you can use a variety of data types to define the
structure of your tables. Here are the common data types available in
MS Access:
1. Text: Used for storing alphanumeric characters, such as names,
addresses, or descriptions. The maximum length can be specified
(up to 255 characters).
2. Memo: Like the Text data type but allows for longer text entries
(up to 65,536 characters).
3. Number: Used for storing numeric data, including integers, decimals,
and floating-point numbers. It supports different subtypes, such as
Byte, Integer, Long Integer, Single, Double, and Decimal.
4. Date/Time: Used for storing dates, times, or a combination of both.
It supports various formats and can handle a range of dates from
January 1, 100 to December 31, 9999.
5. Currency: Used for storing monetary values, with support for up to
four decimal places.
6. yes/No: Represents a Boolean value, allowing only two options:
Yes/True or No/False.
7. AutoNumber: Generates a unique numeric value for each record
automatically. Typically used as a primary key.
8. hyperlink: Stores web addresses (URLs) or email addresses as
clickable hyperlinks.
9. OLE Object: Allows for storing embedded objects, such as images,
documents, or other OLE-compliant data.
10. Attachment: Introduced in Access 2007, this data type allows for
storing multiple file attachments within a single field.
11. Lookup Wizard: Allows you to create a drop-down list of predefined
values for a field, which simplifies data entry and enforces data
integrity.
96 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
12. Calculated: Allows you to create a field whose value is derived Notes
from an expression involving other fields within the same table.
13. yes/No (True/False): Represents a Boolean value, allowing only
two options: Yes/True or No/False.
14. Short Text: Like the Text data type but limited to a maximum of
255 characters.
15. Long Text: Like the Memo data type, allowing for longer text entries
(up to 65, 536 characters).
These data types offer flexibility in representing various types of
data within your MS Access tables.
Indexing in MS Access
In Microsoft Access, indexing is a technique used to improve the perfor-
mance of queries and data retrieval operations by creating indexes on one
or more fields in a table. Indexes provide a quick lookup mechanism for
locating specific data within a table, like the index in a book.
To create an index on a field in MS Access, follow below steps:
1. Open Microsoft Access and navigate to the database that contains
the table you want to index.
2. In the navigation pane, click on the “Tables” tab to display the list
of tables in the database.
3. Double-click on the table name to open it in the datasheet view.
4. Click on the “Table Design” button in the “Table Tools” tab on the
ribbon. This will open the table in design view.
5. In the table design view, locate the field on which you want to create
an index.
6. Select the field by clicking on its row, and then click on the “Indexes”
button in the “Table Tools” tab on the ribbon. This will open the
“Indexes” window.
PAGE 97
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
9. Save the changes to the table by clicking the “Save” button in the
Access ribbon or by pressing Ctrl+S.
By creating an index on a field, Access will internally create a data struc-
ture that allows for faster lookup and retrieval of data based on that field.
This can significantly improve the performance of queries, especially when
searching or sorting based on indexed fields. However, it’s important to
note that indexes can slightly increase the size of the database file and
may impact the performance of data modification operations (e.g., insert,
update, delete), as indexes need to be updated along with the data.
Additionally, in MS Access, you can also use the Database Analyzer
tool to analyse the performance of your database and suggest potential
indexes to create, based on query patterns and usage.
98 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Working with Multiple Tables in MS Access
Working with multiple tables in Microsoft Access involves establishing
relationships between tables, performing joins to retrieve data from mul-
tiple tables, and designing queries, forms, and reports that incorporate
data from multiple tables. Here are some key aspects to consider:
1. Establishing relationships:
Open the database in Access and navigate to the Database Tools tab.
Click on the Relationships button to open the Relationships
window.
Add the necessary tables by selecting them from the Show Table
dialog.
Define relationships between tables by dragging and dropping
related fields between tables.
PAGE 99
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Open the Query Design view and add the desired tables to the
query.
100 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 101
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
relationships & Integrity rules in MS Access
In Microsoft Access, relationships and integrity rules are essential for
maintaining data consistency and ensuring the accuracy and reliability
of your database. Here’s an overview of relationships and integrity rules
in MS Access:
1. relationships
Relationshipsdefine the connections between tables based on
common fields, establishing links between related data.
To create relationships, open the database in Access and navigate
to the Database Tools tab.
Clickon the Relationships button to open the Relationships
window.
Add the tables you want to relate by selecting them from the
Show Table dialog.
Drag and drop the related fields between tables to create the
relationships.
You can specify cardinality (one-to-one, one-to-many, or many-
to-many) and enforce referential integrity.
2. referential Integrity
Referentialintegrity ensures that the relationships between tables
are maintained, and that the data remains consistent.
When referential integrity is enabled, Access enforces rules to
prevent actions that would violate the defined relationships.
To enable referential integrity, open the Relationships window,
select the relationship line, and click on the “Edit Relationships”
button.
In the Edit Relationships dialog, check the “Enforce Referential
Integrity” box.
102 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 103
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
1. Inner Join
An inner join returns only the matching records from both tables based
on the join condition.
The result set includes only the records that have matching values in the
joined fields of both tables.
Inner joins exclude records that do not have matching values in the
joined fields.
104 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
If a record in the right table does not have a match in the left table, the Notes
result set will contain null values for the left table’s fields.
PAGE 105
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes 3. Drag and drop the related fields between the tables to define the
join condition.
4. Right-click on the join line connecting the tables and select “Join
Properties” from the context menu.
5. In the Join Properties dialog, choose the desired join type (Inner
Join, Left Join, Right Join, Full Join, or Cross Join).
6. Click OK to save the join properties.
7. Run the query to retrieve the result set based on the specified join
properties.
By selecting the appropriate join properties, you can control how tables
are linked and how records are combined, allowing you to retrieve the
desired data from multiple tables in your MS Access queries.
106 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 107
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Select the entire row(s) of the record(s) you want to delete.
Press the Delete key or right-click and choose “Delete Record”
from the context menu.
Confirm the deletion when prompted.
108 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Enter the value you want to search for in the Find What field.
PAGE 109
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Sorting & Filtering in MS Access
Sorting and filtering are important features in Microsoft Access that allow
you to organize and view data based on specific criteria. Here’s how you
can sort and filter data in MS Access:
Sorting Data
1. Open the table or query in Datasheet View.
2. Click on the column header of the field you want to sort by. Clicking
once sorts in ascending order (A to Z or smallest to largest), and
clicking again sorts in descending order (Z to A or largest to
smallest).
3. To sort by multiple fields, hold the Shift key and click on the
additional column headers in the desired order of sorting.
Filtering Data
1. Open the table or query in Datasheet View.
2. Click on the filter icon (funnel-shaped) in the column header of the
field you want to filter by.
110 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
4. Enter the value or select the criteria for filtering and click OK.
5. To remove a filter, click on the filter icon in the column header
and select “Clear Filter from <field name>”.
Advanced Filtering
1. Open the table or query in Datasheet View.
2. Click on the Advanced button in the Sort & Filter group of the Home
tab.
PAGE 111
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
3. In the Advanced Filter/Sort dialog box, you can set multiple criteria
using AND or OR operators, specify sorting options, and save the
filter for future use.
Filter by Form
1. Open the table or query in Datasheet View.
2. Click on the Filter by Form button in the Sort & Filter group of the
Home tab.
112 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
3. A blank form appears, allowing you to enter values and criteria for Notes
multiple fields.
Filter by Selection
1. Open the table or query in Datasheet View.
2. Select the value in a specific field that you want to filter by.
3. Right-click on the selected value and choose “Filter By Selection”
from the context menu.
4. Only records with the selected value in the field will be displayed.
PAGE 113
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes These are the basic methods for sorting and filtering data in Microsoft Ac-
cess. Sorting allows you to arrange data in a specific order, while filtering
allows you to display only the records that meet certain criteria. These
features help you analyse and view your data more effectively in Access.
4. The “Show Table” dialog box will appear, displaying all the tables
and queries available in your database.
5. Select the tables or queries you want to include in your query by
double-clicking on them or clicking the “Add” button.
114 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
10. Optionally, you can specify sorting and grouping options by using
the “Sort” and “Group By” rows.
11. To run the query and view the results, click on the “Run” button
in the Design tab of the ribbon or switch to Datasheet View by
clicking on the “View” button.
12. Save the query with a name that reflects its purpose.
PAGE 115
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
116 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 117
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes Select the field for which you want to set criteria from the
“Available Fields” list.
Set the criteria using the options provided, such as “Equals,”
“Greater Than,” “Between,” etc.
Click “Next” to proceed.
9. Step 5: Query Title
Enter a name for your query in the “Query Title” field.
118 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Select, Make Table, Append, Delete, Cross Tab, Update,
parameterized Query, Find Duplicate and Find Unmatched
in MS Access
In Microsoft Access, you can create different types of queries to perform
various data manipulation tasks. Here’s a brief overview of each type
of query:
1. Select Query
Retrieves data from one or more tables or queries.
Allows you to specify the fields you want to retrieve, apply
criteria, and perform sorting.
2. Make Table Query
Creates a new table based on the results of a select query.
Allows you to specify the fields and criteria for selecting data,
and then saves the results in a new table.
3. Append Query
Adds records from one table or query to another table.
Allows you to select records from a source table or query and
append them to a destination table.
4. Delete Query
Removes records from a table based on specified criteria.
PAGE 119
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
120 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 121
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
122 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
1. Data Entry: Forms provide a structured layout for entering data into Notes
your database. Instead of manually entering data into tables, you
can input information into designated fields within a form. Forms
can have controls such as text boxes, drop-down lists, checkboxes,
and buttons that make data entry more efficient and intuitive.
2. Data Display and Navigation: Forms can be used to view and
navigate through records in your database. You can display records
one at a time, scroll through them, and search for specific records.
Forms provide a clear and organized presentation of data, making
it easier to comprehend and analyze.
3. Data Validation: Forms allow you to apply data validation rules
to ensure the accuracy and integrity of the entered data. You can
specify constraints, such as required fields, data formats, and range
checks, which help prevent incorrect or incomplete data from being
entered.
4. Customization and Layout: Forms can be customized to match
your specific needs and preferences. You can adjust the layout, font
styles, colors, and control placement to create visually appealing and
user-friendly interfaces. Customizing forms allows you to present
data in a way that is most meaningful and relevant to your users.
5. Automation and Business Logic: Forms support the execution of
actions and events based on user interactions. You can associate
buttons, combo boxes, and other controls with macros or Visual
Basic for Applications (VBA) code to perform calculations, execute
queries, update records, and trigger specific actions based on user
input.
6. Integration with reports: Forms can be integrated with reports to
generate printed or electronic output of data. You can design reports
based on the form’s underlying data source to create professional-
looking documents for sharing or distribution.
Overall, forms in MS Access provide an intuitive and interactive way to
work with your database. They simplify data entry, enhance data display
and navigation, enforce data validation, and allow for customization and
automation. Forms improve the usability of your database application and
help users efficiently interact with the underlying data.
PAGE 123
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Creating Basic Forms in MS Access
To create a basic form in Microsoft Access, you can follow below steps:
1. Open your database in Access.
2. Navigate to the “Create” tab in the Access ribbon.
3. Click on the “Form Design” button to open the Form Design view.
4. The “Field List” pane will appear on the right side of the screen,
displaying all the tables and queries in your database.
5. Select the table or query that you want to use as the data source
for your form by double-clicking on it or dragging and dropping
it onto the form design surface.
6. Access will automatically generate a basic form layout based on
the selected data source.
7. You can customize the form design by adding additional fields
from the data source, rearranging the layout, and modifying the
appearance of the form controls.
To add fields, simply drag and drop them from the Field List
pane onto the form design surface.
To rearrange the layout, click and drag the form controls to the
desired positions.
To modify the appearance of the controls, you can change
properties such as the font, size, colour, and alignment.
124 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
8. You can also add other controls to the form, such as labels, buttons,
combo boxes, and checkboxes, to enhance its functionality.
To add controls, click on the desired control from the “Controls”
group in the Design tab of the ribbon, and then click on the form
design surface to place the control.
12. The form will display the data from the selected data source, and
you can navigate through the records using the navigation buttons
provided.
By following these steps, you can create a basic form in MS Access that
allows you to interact with your database’s data in a more user-friendly
manner. You can further customize the form’s design and functionality
based on your specific requirements.
PAGE 125
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Working with Bound, Unbound and Calculated Controls
in MS Access
In Microsoft Access, you can work with different types of controls on
forms and reports, including bound controls, unbound controls, and cal-
culated controls. Here’s an explanation of each type:
1. Bound Controls
Bound controls are directly connected to a field in a table or query. They
display the value of the field and allow users to enter or modify data
that is stored in the underlying data source.
To create a bound control, you simply drag and drop a field from the
Field List pane onto the form or report design surface.
Bound controls automatically reflect any changes made to the associated
field in the data source.
2. Unbound Controls
Unbound controls are not connected to a specific field in a table or
query. They display static information or perform calculations that are
independent of the underlying data source.
Examples of unbound controls include labels, buttons, images, and text
boxes that are not linked to a specific field.
Unbound controls are useful for displaying information that doesn’t need to
be stored in the database or for performing calculations based on user input.
3. Calculated Controls
Calculated controls are a type of unbound control that perform calcula-
tions based on other field values or expressions.
You can create a calculated control by setting the control’s Control Source
property to an expression that combines fields, constants, and operators.
Calculated controls allow you to perform calculations, aggregations, or
string manipulations based on the values in other controls or fields.
The result of the calculation is displayed in the calculated control and
can be used for data analysis, reporting, or displaying calculated values
on forms.
126 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
When working with controls in MS Access, you have the flexibility to Notes
choose the appropriate type based on your requirements. Bound controls
are ideal for displaying and editing data from the underlying data source,
while unbound controls provide more flexibility for displaying static
information or performing calculations that are not directly linked to
the data. Calculated controls enable you to dynamically compute values
based on expressions involving other fields or controls. Understanding
and effectively using these control types allows you to design powerful
and interactive forms and reports in MS Access.
PAGE 127
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
128 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
edit existing data, and view data in a more user-friendly manner. Here’s Notes
a step-by-step guide on how to work with data on forms in MS Access:
1. Launch MS Access and open your database.
2. In the Navigation Pane, select the table that contains the data you
want to work with.
3. Go to the “Create” tab and click on “Form” in the Forms group.
This will create a basic form based on the selected table.
4. The form will open in “Layout View” by default. You can modify
the form’s design by adding or removing fields, adjusting their
positions, and formatting the layout.
5. Switch to “Form View” to interact with the data. You can do this
by clicking the “Form View” button in the “Views” group on the
“Home” tab.
PAGE 129
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes 7. To add a new record, click the “New (Blank) Record” button in
the navigation buttons. This will create a new record at the end of
the form.
8. To edit an existing record, simply click into the field you want to
modify and make the necessary changes.
9. To delete a record, select the record by clicking on its row selector
(the gray box on the left), and press the “Delete” key on your
keyboard.
10. You can also use the form’s sorting and filtering capabilities to
manipulate the data. Click on the column headers to sort the records
based on a specific field. Use the filter dropdowns in the column
headers to filter the data based on specific criteria.
11. To save any changes made to the data, you don’t need to explicitly
save the form. The changes are automatically saved when you move
to a different record or close the form.
By customizing your form’s design, you can add buttons, combo boxes,
check boxes, and other controls to enhance the user experience and pro-
vide additional functionality. Access also allows you to create subforms,
which are forms embedded within other forms, to display related data
from different tables.
Remember to save your database regularly to ensure that your form de-
signs and data are persisted.
130 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 131
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
132 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
test the form in “Form View” to ensure that the layout changes meet Notes
your requirements.
3. Click and drag on the main form where you want to position the
subform. This will open the “Subform Wizard” dialog box.
4. In the “Subform Wizard,” you have two options:
(i) Use an existing form as the subform: Select the option “Use
existing form” and choose the form you want to use as the
subform from the drop-down list.
(ii) Create a new form as the subform: Select the option “Create
form by using wizard” and click “Next.” Follow the wizard
steps to select the table or query for the subform’s data source,
choose the fields to display, and set any additional options.
5. Once you have selected the form or created a new form as the
subform, click “Next” and choose how the subform should be linked
PAGE 133
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes to the main form. This typically involves selecting the related fields
between the main form and subform to establish the relationship.
6. Click “Next” and specify the layout options for the subform, such
as whether to display column headings, enable datasheet view, etc.
7. Finally, click “Finish” to complete the subform creation process. The
subform will be embedded within the main form.
Now, when you view the main form in “Form View,” the subform will
display the related records based on the established relationship. You
can navigate through the main form’s records, and the subform will dy-
namically update to show the related records for each main form record.
Note: Ensure that the relationship between the main form and subform
tables is properly defined in the database design.
2. List Box
Click on the “List Box” button in the “Controls” group on the
“Design” tab.
134 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Click and drag on the form to draw the list box control.
In the “Property Sheet,” specify the control’s properties such as the
row source (the table or query that provides the values), column
count, column widths, and other appearance-related properties.
PAGE 135
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Click and drag on the form to draw the option group control.
In the “Property Sheet,” specify the control’s properties such as
the option values, captions, and other appearance-related properties.
136 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
To add option buttons to the option group, switch to “Design View” for Notes
the option group control, right-click on the control, and select “Option
Button.” Click and drag on the form to draw each option button within
the option group control. Configure the properties of each option button
in the “Property Sheet.”
By creating list boxes, combo boxes, and option groups, you can provide
users with intuitive ways to select values or make choices within your
forms in MS Access. Remember to populate these controls with appro-
priate values from your tables or queries and consider the layout and
design aspects to ensure a user-friendly experience.
PAGE 137
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
138 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Creating Basic reports in MS Access
Creating basic reports in MS Access involves selecting a table or query
as the data source and designing a simple layout to display the data.
Here’s a step-by-step guide to creating a basic report:
1. Open MS Access and navigate to the database where you want to
create the report.
2. In the Navigation Pane, select the table or query that contains the
data you want to include in the report.
3. Go to the “Create” tab and click on “Report” in the “Reports” group.
This will create a basic report based on the selected table or query.
PAGE 139
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes 10. Preview the report by clicking the “View” button in the “Views” group
on the “Home” tab. This will open the report in “Print Preview”
mode, allowing you to see how the report will look when printed
or exported.
By following these steps, you can quickly create a basic report in MS
Access to display data from a table or query. Remember to save your
changes regularly to ensure your report design is preserved.
140 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Header/Footer” button in the “Controls” group. This will add the Notes
corresponding section to the report design.
3. The header/footer section will appear at the top or bottom of the
report design, respectively. You can click and drag the section
boundaries to adjust their size.
4. To add elements to the header or footer, click on the desired section
to select it, and then use the controls available in the “Controls”
group on the “Design” tab. For example, you can add text boxes,
labels, images, or other controls to display the desired content.
PAGE 141
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes By following these steps, you can create headers and footers in MS
Access reports to include additional information or elements that appear
at the top and bottom of each page or the entire report. Remember to
customize the content and formatting of the headers and footers to meet
your specific reporting needs.
3. Click and drag on the report’s design surface to draw the control.
The control will be placed at the specified location.
4. Resize and reposition the control as needed by clicking and dragging
its edges or corners.
5. To modify the properties of the control, select the control and go to
the “Property Sheet” on the “Design” tab. Here, you can customize
various aspects such as the control’s data source, appearance, and
behaviour.
142 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
PAGE 143
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes 6. Repeat steps 2-5 to add more controls to the report. You can add
multiple controls to display different fields or information.
7. To align or distribute controls evenly, select multiple controls by
holding down the Shift key and clicking on each control, then use
the alignment and distribution buttons in the “Arrange” group on
the “Format” tab.
By following these steps, you can place controls on reports in MS Access
to display fields, labels, images, and other elements as needed. Customize
the properties and formatting of the controls to enhance the appearance
and functionality of your report.
3. In the “Group, Sort, and Total” pane, click on the “Add a group or
sort” button (represented by a + sign) to define a new grouping or
sorting level.
144 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
4. Select the field you want to use for grouping or sorting from the drop-
down list under “Group By” or “Sort By.” You can choose fields
from the underlying table or query that the report is based on.
5. Choose the desired sorting order for the selected field: Ascending
(smallest to largest) or Descending (largest to smallest).
By following these steps, you can apply sorting and grouping to your
reports in MS Access to organize and summarize data based on specific
fields or criteria. The grouping levels define how the data is structured,
while sorting determines the order of the records within each group or in
the entire report. Experiment with different grouping and sorting options
to create meaningful and informative reports.
PAGE 145
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
3. Click and drag on the report’s design surface where you want the
subreport to appear. This will create a placeholder for the subreport.
4. The “Subreport Wizard” will open automatically. Select the option
to use an existing report as the subreport or create a new report
for the subreport. Click “Next” to proceed.
5. If you choose to use an existing report, select the report from the
available list. If you choose to create a new report, select the
tables or queries to include in the subreport and specify the fields
to display. Click “Next” to continue.
6. Customize the linking fields between the main report and the subreport.
This defines how the data in the subreport is related to the data in
the main report. Click “Next” to proceed.
7. Specify any grouping and sorting options for the subreport. This
allows you to organize and summarize data within the subreport.
Click “Next” to continue.
8. Choose the layout and style for the subreport. You can select a
tabular layout or a stacked layout and customize the appearance.
Click “Next” to proceed.
9. Preview the subreport to verify its content and layout. Make any
necessary adjustments by going back to the previous steps. Click
“Finish” to complete the subreport setup.
By following these steps, you can create subreports in MS Access to
include additional reports within your main report. Subreports allow you
to present related or detailed information in a structured and organized
manner, enhancing the overall presentation of your data.
146 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Notes
Unit – 4 Questions
1. Which are the two types of keys in SQL:
(a) Primary and Secondary
(b) Primary and Foreign
(c) Main and Secondary
(d) First and Second
2. Which of these is not a type of join in SQL:
(a) Full Join
(b) Right Join
(c) Left Join
(d) Half Join
Answers to Questions
Unit – 1 Answers
1. Which one of these is not an error type in Excel:
(a) #MISTAKE
2. To edit the Names given in the Name Box, we go to:
(c) Name Manager
Unit – 2 Answers
1. Sparklines can be added:
(b) Inside a cell
2. Which option is not available in Pivot Table Summarize:
(d) MEDIAN
Unit – 3 Answers
1. Shortcut for spell check is:
(b) F7
2. Mail Merge can be done using :
(c) Both
PAGE 147
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
Alexander, M., Kusleika, R., & Walkenbach, J. Excel 2019 Bible. Wiley.
Frye, C. Microsoft Excel 2019 Step by Step. Microsoft Press.
Jelen,B. Power Excel with MrExcel: Master Pivot Tables, Subtotals,
Visualizations, VLOOKUP, Power BI, and Data Analysis. Holy
Macro! Books.
Alexander,M., Kusleika, R., & Walkenbach, J. Excel 2019 Power
Programming with VBA. Wiley.
Lambert, J. Microsoft Word 2019 Step by Step. Microsoft Press.
Gookin, D. Microsoft Word 2019 For Dummies. For Dummies.
Habraken, J. Microsoft Word 2019 Inside Out. Microsoft Press.
Bucki, L. A. Microsoft Word 2019 Bible. Wiley.
Forta, B. SQL in 10 Minutes, Sams Teach Yourself. Sams Publishing.
Viescas, J. L., & Hernandez, M. J. SQL Queries for Mere Mortals:
A Hands-On Guide to Data Manipulation in SQL. Addison-Wesley
Professional.
Faroult, S., & Robson, P. The Art of SQL. O’Reilly Media.
Self-Assessment Questions
1. Describe a scenario where using a pivot table would be beneficial
for data analysis.
2. What are the advantages of using Macros in Excel?
3. Write a note on 5 functions in Excel.
148 PAGE
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi
PAGE 149
Department of Distance & Continuing Education, Campus of Open Learning,
School of Open Learning, University of Delhi