Unit III Excel
Unit III Excel
INTRODUCTION TO EXCEL…………………………………... 3
OVERVIEW OF EXCEL…………………………………………...4
OFFICE BUTTON……………………………………….......... 5
RIBBONS………………………………………………………………. 6
WORKING WITH CELLS…………………………………….... 7-8
FORMATTING TEXT……………………………………………... 9-11
CONDITIONAL FORMATTING……………………………..... 12-13
TO INSERT ROWS & COLUMNS………………………….... 14
EDITING – FILL……………………………………………………….15
SORTING…………………………………………………………..... 16
CELL REFERENCING……………………………………........ 17-19
FUNCTIONS……………………………………………………..….. 20-26
FUNCTION AUDITING…………………………………………...27
SHORTCUT KEYS……………………………………….......... 28-30
MS EXCEL 08-03-2025 2
INTRODUCTION TO MS-EXCEL
The Cursor movement keys or Enter key are used to activate the
cell of sheets and movement in sheet.
ADVANTAGES OF USING AN ELECTRONIC WORKSHEET
Inventory Control
Hotel Management
TYPES OF BAR ON EXCEL WINDOW
(1) Title Bar - At the top of an Excel window, there is title bar. The left
edge of this bar has the application control menu box next to which
the name of the open document is displayed. On the right edge of the
title bar, the minimize, Restore/Maximize and close buttons are
placed.
2) Menu Bar - The Menu Bar is located just below the title bar. It contains
all the commands used in Excel grouped under main heads.
4) Formula Bar – The formula bar displays the constant value or formula
used in the active cell. The formula bar is also used to editing the cell
contents.
7) Scroll Bar – The scroll bar appears at the left for vertical
scrolling and at the bottom right for horizontal scrolling.
8) Split Bar – The split bar is located at the top of the vertical
scroll bar and to the right of the horizontal scroll bar.
9) Name Bar – The name bar is the left hand of the formula
bar. It identifies the selected cells, chart item or drawing
object. The purpose is as follows :
* To name a selected cell or range
* To move to a selected name cell, click its name in the
box. Type the name in the name bar and press enter key.
OFFICE BUTTON CONTAINS..
NEW-TO OPEN NEW WORKBOOK.
(CTRL+N)
OPEN-TO OPEN EXISTING DOCUMENT
(CTRL+O)
MS EXCEL 08-03-2025 12
THE THREE PARTS
RIBBONS OF THE RIBBON ARE
TABS
GROUPS
COMMANDS
MS EXCEL 08-03-2025 13
WORKING WITH CELLS
MS EXCEL 08-03-2025 16
FORMATTING TEXT
MS EXCEL 08-03-2025 17
FORMATTING TEXT
MS EXCEL 08-03-2025 18
CONDITIONAL FORMATTING
MS EXCEL 08-03-2025 19
CONDITIONAL FORMATTING
MS EXCEL 08-03-2025 20
TO INSERT ROWS & COLOUMS
NOTE:
1. The new row always
appears above the
selected row.
MS EXCEL 08-03-2025 21
EDITING- FILL
IN THE LOWER RIGHT HAND CORNER OF THE ACTIVE
CELL IS EXCEL’S “FILL HANDLE”.WHEN YOU HOLD
YOUR MOUSE OVER THE TOP OF IT, YOUR CURSOR WILL
TURN TO A CROSSHAIR.
MS EXCEL 08-03-2025 23
CELL REFERENCING
A RELATIVE
CELL
REFERENCE AS
(A1) IS BASED
ON THE
RELATIVE
POSITION OF
IN CELL (C1) SUM FUNCTION IS USED. THE CELL. IF
THEN FUNCTION FROM CELL (C1) IS COPY TO CELL (D3). THE POSITION
WHEN THE POSITION OF THE CELL IS CHANGED FROM
OF THE CELL
(C1) TO (D3),THEN THE REFERENCE IS ALSO CHANGED
FROM (A1,B1) TO (B3,C3). THAT
CONTAINS THE
REFERENCE
CHANGES, THE
REFERENCE
ITSELF IS
CHANGED.
MS EXCEL 08-03-2025 24
CELL REFERENCING
AN ABSOLUTE
CELL
REFERENCE AS
($A$1) ALWAYS
REFERS TO A
CELL IN A
SPECIFIC
IN CELL (C1) SUM FUNCTION IS USED.
LOCATION. IF
THEN FUNCTION FROM CELL (C1) IS COPY TO CELL (D3).
WHEN THE POSITION OF THE CELL IS CHANGED FROM (C1) TO THE POSITION
(D3),THEN THE ABSOLUTE REFERENCE REMAINS THE OF THE CELL
SAME(A1,B1).$ IS USED FOR CONSTANT ROW OR COLUMN. THAT CONTAINS
THE FORMULA
CHANGES, THE
ABSOLUTE
REFERENCE
REMAINS THE
SAME.
MS EXCEL 08-03-2025 25
CELL REFERENCING
A MIXED
REFERENCE HAS
EITHER AN
ABSOLUTE
COLUMN AND
RELATIVE ROW OR
IN CELL (C1) SUM FUNCTION IS USED. ABSOLUTE ROW
THEN FUNCTION FROM CELL (C1) IS COPY TO CELL (D3). AND RELATIVE
WHEN THE POSITION OF THE CELL IS CHANGED FROM COLUMN. AN
(C1) TO (D3),THEN ROW REFERENCE IS CHANGED(FROM 1 ABSOLUTE
TO 3) BUT COLUMN REFERENCE REMAINS SAME(A,B). COLUMN
REFERENCE TAKES
THE FORM $A1,
$B1.AN ABSOLUTE
ROW REFERENCE
TAKES THE FORM
A$1, B$1.
MS EXCEL 08-03-2025 26
Excel Charts
Charts are visual representations of data used to make it more understandable. A
chart in Excel is a visual representation of data or values that allows us to make an
interpretation or comparison visually. Charts in Excel help summarize or report large
amounts of data, making it easier to interpret.
•Pie chart
•Column chart
•Line chart
Different charts are used for different types of data.
Show trends over time. Column chart, line chart, point chart
MS EXCEL 08-03-2025 28
Column charts
Column charts are useful for comparing discrete data or showing trends over time.
Column charts use vertical data markers to compare individual values.
This type of graph emphasizes the variations of the data over time. The data
categories will appear on the horizontal axis and the values will appear on the vertical
axis. Column charts are similar to bar charts. The main difference is that the
categories appear on the vertical axis in bar charts.
MS EXCEL 08-03-2025 29
Line charts
Line charts are useful for showing trends over time and comparing many data series.
Line charts plot data at regular points connected by lines. A line chart shows the
relationships of changes in data. This chart is similar to area charts. The line charts
emphasize trends in the data and not the change amounts like area charts.
MS EXCEL 08-03-2025 30
Pie charts
Pie charts are useful for highlighting proportions.
They use segments of a circle to show the relationship of parts to the whole. To
highlight actual values, use another chart type, such as a stacked chart. Pie charts
plot a single data series. If you need to plot multiple data series, use a 100 percent
stacked chart. They show the percentages of each of the parts for the total.
MS EXCEL 08-03-2025 31
Bar charts
Bar charts are useful for plotting many data series.
Bar charts use horizontal data markers to compare individual values.
A bar chart emphasizes the comparison between items in a specific period. This chart
type includes cones, cylinders, and pyramids.
MS EXCEL 08-03-2025 32
Area charts
Area charts are useful for emphasizing the magnitude of change over time. Stacked
area charts are also used to show the relationship of parts to the whole.
Area charts are like line charts, but the areas below the lines are filled with colors or
patterns. Area charts suggest that the values are important over time. An area chart is
like a line chart. However, since the area between the lines is filled in, the area chart
places greater importance on the magnitude of the values than a line chart.
MS EXCEL 08-03-2025 33
XY Plots (Scatter)
Scatter plots help show the relationship between different data points. This type of chart
uses numeric values for both axes instead of categories on either axis as in previous
charts.
Types of scatter plots -Scatter with smooth lines and markers, Scatter chart with
smooth lines, Scatter with straight lines and markers, Scatter chart with straight lines,
Bubble chart, and 3-D Bubble
MS EXCEL 08-03-2025 34
Waterfall chart
You can create a waterfall chart for analysis of the evolution of a variable in data of the
period and accumulated data. The following example talks about a company's net
income. The Waterfall chart is color-coded in Blue and Orange. Here, orange denotes
the amount spent, and blue denotes the revenues earned and the overall profit made
by the company.
MS EXCEL 08-03-2025 35
Combo chart
A combo chart or combination chart is an interesting feature of Excel. It allows you to
insert more than one typology in the same graph with two axes, which is beneficial for
comparing variables.
The above example shows the marks obtained by a group of students against the
maximum marks (100). The red bar on the X-axis denotes the maximum marks and the
blue bars denote the marks obtained by the students.
MS EXCEL 08-03-2025 36
Create a Chart
Switch Row/Column
If you want the animals, displayed on the vertical axis, to be displayed
on the horizontal axis instead, execute the following steps.
1. Select the chart. The Chart Tools contextual tab activates.
2. On the Design tab, click Switch Row/Column.
Result :
Result:
Chart Title
Legend Position
By default, the legend appears to the right of the chart. To move the legend
to the bottom of the chart, execute the following steps.
1. Select the chart. The Chart Tools contextual tab activates.
2. On the Layout tab, click Legend, Show Legend at Bottom.
Result:
Data Labels
You can use data labels to focus your readers' attention on a single data series or data
point.
1. Select the chart. The Chart Tools contextual tab activates.
2. Click an orange bar to select the Jun data series. Click again on an orange bar to
select a single data point.
3. On the Layout tab, click Data Labels, Outside End.
Result:
FUNCTIONS
Functions are predefined formulas that perform calculations by using specific
values, called arguments, in a particular order or structure. Functions can be
used to perform simple or complex calculations. Functions are many types –
1. Math Functions
2. Statistical Functions
3. Date and Time Functions
4. Logical Function
5. Text Functions
MATH FUNCTIONS
iv) EXP – Returns e raised to the power of number. The constant e equals
2.71828, the base of the natural logarithm.
Syntax : EXP(number)
Number is the exponent applied to the base e.
4) MEDIAN: Returns the median of the given numbers. The median is the
number in the middle of a set of numbers; that is, half the numbers have
values that are greater than the median, and half have values that are less.
Syntax: MEDIAN(number1,number2,...)
Number1, number2, ... are 1 to 30 numbers for which you want the median.
5) MODE: Returns the most frequently occurring, or repetitive, value in an array or
range of data. Like MEDIAN, MODE is a location measure.
Syntax : MODE(number1,number2,...)
Number1, number2, ... are 1 to 30 arguments for which you want to calculate the
mode. You can also use a single array or a reference to an array instead of
arguments separated by commas.
1) DATE : Returns the sequential serial number that represents a particular date. If
the cell format was General before the function was entered, the result is formatted
as a date.
Syntax : Date(year,month,day)
Year : The year argument can be one to four digits.
Month : is a number representing the month of the year.
Day : is a number representing the day of the month.
2) DAY : Returns the day of a date, represented by a serial number. The day
is given as an integer ranging from 1 to 31.
Syntax: DAY(serial_number)
Serial_number is the date of the day you are trying to find.
3) MONTH: Returns the month of a date represented by a serial number. The
month is given as an integer, ranging from 1 (January) to 12 (December).
Syntax: MONTH(serial_number)
Serial_number is the date of the month you are trying to find.
4) HOUR: Returns the hour of a time value. The hour is given as an integer,
ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.).
Syntax: HOUR(serial_number)
Serial_number is the time that contains the hour you want to find.
1) AND :Returns TRUE if all its arguments are TRUE; returns FALSE if one or
more argument is FALSE.
Syntax: AND(logical1,logical2, ...)
Logical1, logical2, ... are 1 to 30 conditions you want to test that can be either
TRUE or FALSE.
3) NOT: Reverses the value of its argument. Use NOT when you
want to make sure a value is not equal to one particular value.
Syntax: NOT(logical)
Logical is a value or expression that can be evaluated to TRUE
or FALSE.
TEXT FUNCTIONS
1) CHAR: Returns the character specified by a number. Use CHAR to translate code
page numbers you might get from files on other types of computers into characters.
Syntax: CHAR(number)
Number is a number between 1 and 255 specifying which character you want. The
character is from the character set used by your computer.
2) CODE: Returns a numeric code for the first character in a text string. The returned
code corresponds to the character set used by your computer.
Syntax: CODE(text)
Text - is the text for which you want the code of the first character.
4) LEFT : returns the first character or characters in a text string, based on the
number of characters you specify.
Syntax: LEFT(text,num_chars)
Text is the text string that contains the characters you want to extract.
5) RIGHT: RIGHT returns the last character or characters in a text string, based
on the number of characters you specify.
Syntax: RIGHT(text,num_chars)
Text is the text string containing the characters you want to extract.
Num_chars specifies the number of characters you want RIGHT to extract.
START DATE-
Date from which u want to
calculate difference.
= END DATE-
= Date up to which u want to
= calculate difference.
=
INTERVAL-
=
Form in which u want to
=
calculate difference.
“ D ” - D AY S
“M”- MONTHS This says that I
“Y”- YEARS am 19 years 6
“YM”- MONTHS OVER YEAR months & 18
“ M D ” - D AY S O V E R M O N T H days old
MS EXCEL 08-03-2025 57
FUNCTIONS
SYNTAX OF SUMIF
=SUMIF(RANGE,CRITERIA,SUM_RANGE)
RANGE-
Range of cells on which conditions
are applied.
CRITERIA-
Condition that defines which cell
or cells will be added.
=
= SUM RANGE-
Actual cells to sum.
NOTE:-
If sum range is not used then range
is used for sum.
WITHOUT
SUM_RANGE
MS EXCEL 08-03-2025 58
IF Function : Returns one value if a condition you specify evaluates to
TRUE and another value if it evaluates to FALSE.
Use IF to conduct conditional tests on values and formulas.
Syntax: IF(logical_test,value_if_true,value_if_false)
LOGICAL TEXT-
Any value or expression that can
= be evaluated to TRUE or FALSE.
=
= VALUE IF TRUE-
= Value that is returned if logical
= text is TRUE.
=
= VALUE IF FALSE-
Value that is returned if logical
text is FALSE.
MS EXCEL 08-03-2025 59
Conditional Formatting in Excel
If statements in spreadsheets can be very long and complicated. Consider this
problem. You have a spreadsheet of student exam marks. Suppose you want
to add the grades as well. If the student scored above 80 it's an A; if the
student scored between 60 and 79, it's a B; if the student scored between
45 and 59, it's a C; if the student scored between 30 and 44, it's a D; and if
the student scored less than 30, it's Fail.
Well, it might look like this:
=IF(B2>=80, "A", IF(B2>=60, "B", IF(B2>=45, "C", IF(B2 >=30, "D", "Fail"))))
4. COUNTIF
=COUNTIF(RANGE,CRITERIA)
1. 2. 3. 4.
COUNT ONLY COUNT NO. OF
COUNT CELLS COUNT CELLS
CELLS THAT CELLS THAT
THAT ARE NOT THAT ARE
CONTAINS MEET GIVEN
EMPTY. BLANK.
NUMBER. CONDITION.
MS EXCEL 08-03-2025 61
TEXT FUNCTIONS
SYNTAX OF FUNCTIONS
1. LOWER FUNCTION
=LOWER(TEXT)
2. UPPER FUNCTION
=UPPER(TEXT)
3. PROPER FUNCTION
=PROPER(TEXT)
1. 2. 3.
MS EXCEL 08-03-2025 62
TEXT FUNCTIONS
SYNTAX OF FUNCTIONS
1. LEFT FUNCTION
=LEFT(An ,3) =RIGHT(An ,3) =MID(An ,2,3) =LEFT(TEXT,NUM_CHARS)
2. RIGHT FUNCTION
=RIGHT(TEXT,NUM_CHARS)
3. MID FUNCTION
=MID(TEXT,STARTNUM,NUM_CHAR)
1. 2. 3.
USES OF FUNCTIONS
MS EXCEL 08-03-2025 64
FUNCTION AUDITING
TRACE PRECEDENTS SHOW ARROW THAT INDICATE WHAT
CELLS AFFECT THE VALUE OF THE
CURRENTLY SELECTED CELL.
MS EXCEL 08-03-2025 68