Unit III Excel
Unit III Excel
AMIT KOHLI
MS EXCEL 02/02/25
RBSMTC, 1Agra
INDEX
INTRODUCTION TO 3
EXCEL…………………………………... 4
OVERVIEW OF 5
EXCEL…………………………………………... 6
OFFICE 7-8
BUTTON……………………………………….......... 9-11
12-13
RIBBONS……………………………………………………14
…………. 15
WORKING WITH 16
CELLS…………………………………….... 17-19
FORMATTING 20-26
TEXT……………………………………………... 27
CONDITIONAL 28-30
FORMATTING…………………………….....
MS EXCEL 02/02/25 2
INTRODUCTION TO MS-EXCEL
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)
GROUPS
COMMANDS
MS EXCEL 02/02/25 13
WORKING WITH CELLS
MS EXCEL 02/02/25 16
FORMATTING TEXT
TO REMOVE CONDITIONAL
FORMATTING:
Click the Conditional Formatting command.
Select Clear Rules.
Choose to clear rules from the entire worksheet
or the selected cells.
MS EXCEL 02/02/25 19
CONDITIONAL
FORMATTING
To Insert Columns:
Select the column to the right of where you want the column to
appear.
Click the Insert command in the Cells group on the Home tab. The
column will appear.
MS EXCEL 02/02/25 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 02/02/25 23
CELL REFERENCING
A RELATIVE
CELL
REFERENCE
AS (A1) IS
BASED ON
THE
RELATIVE
IN CELL (C1) SUM FUNCTION IS USED. POSITION OF
THEN FUNCTION FROM CELL (C1) IS COPY TO THE CELL. IF
CELL (D3).
THE
WHEN THE POSITION OF THE CELL IS CHANGED
FROM (C1) TO (D3),THEN THE REFERENCE IS POSITION OF
ALSO CHANGED FROM (A1,B1) TO (B3,C3). THE CELL
THAT
CONTAINS
THE
REFERENCE
CHANGES,
MS EXCEL 02/02/25
THE 24
CELL REFERENCING
AN
ABSOLUTE
CELL
REFERENCE
AS ($A$1)
ALWAYS
REFERS TO A
IN CELL (C1) SUM FUNCTION IS USED.
CELL IN A
THEN FUNCTION FROM CELL (C1) IS COPY TO CELL
(D3). SPECIFIC
WHEN THE POSITION OF THE CELL IS CHANGED FROM LOCATION. IF
(C1) TO (D3),THEN THE ABSOLUTE REFERENCE THE POSITION
REMAINS THE SAME(A1,B1).$ IS USED FOR OF THE CELL
CONSTANT ROW OR COLUMN. THAT
CONTAINS
THE FORMULA
CHANGES,
THE
MS EXCEL 02/02/25 ABSOLUTE25
CELL REFERENCING
A MIXED
REFERENCE
HAS EITHER AN
ABSOLUTE
COLUMN AND
RELATIVE ROW
IN CELL (C1) SUM FUNCTION IS USED. OR ABSOLUTE
THEN FUNCTION FROM CELL (C1) IS COPY TO CELL ROW AND
(D3). RELATIVE
WHEN THE POSITION OF THE CELL IS CHANGED COLUMN. AN
FROM (C1) TO (D3),THEN ROW REFERENCE IS ABSOLUTE
CHANGED(FROM 1 TO 3) BUT COLUMN COLUMN
REFERENCE REMAINS SAME(A,B). REFERENCE
TAKES THE
FORM $A1,
$B1.AN
ABSOLUTE ROW
MS EXCEL 02/02/25
REFERENCE26
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 02/02/25 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 02/02/25 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 02/02/25 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 02/02/25 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 02/02/25 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 02/02/25 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 02/02/25 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 02/02/25 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 02/02/25 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 :
Resul
t:
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,...)
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.
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.
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.
= END DATE-
= Date up to which u want to
= calculate difference.
=
INTERVAL-
=
Form in which u want to
=
calculate difference.
“D”- DAYS This says
“M”- MONTHS that I am 19
“Y”- YEARS years 6
“YM”- MONTHS OVER YEAR months & 18
“MD”- DAYS OVER MONTH days old
MS EXCEL 02/02/25 57
FUNCTIONS
SYNTAX OF SUMIF
=SUMIF(RANGE,CRITERIA,SUM_RANG
E)
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
WITHOUT range is used for sum.
SUM_RANG
E
MS EXCEL 02/02/25 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.
IN COLUMN B DIFFERENT CONDITIONS
ARE USED AND BASED ON THIS, IN
COLUMN C DIFFERENT RESULTS ARE
SHOWN.
MS EXCEL 02/02/25 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:
=COUNTA(VALUE1,VALUE2,
…)
3. COUNTBLANK
1. 2. 3.
=COUNTBLANK(RANGE)
4.
COUNT ONLY COUNT
COUNT NO.
4. COUNT COUNTIF
OF CELLS
CELLS THAT CELLS THAT
CELLS THAT THAT MEET
CONTAINS ARE NOT =COUNTIF(RANGE,CRITERIA)
ARE BLANK. GIVEN
NUMBER. EMPTY.
CONDITION.
MS EXCEL 02/02/25 61
TEXT FUNCTIONS
SYNTAX OF
FUNCTIONS
1. LOWER FUNCTION
=LOWER(TEXT)
2. UPPER FUNCTION
=UPPER(TEXT)
3. PROPER FUNCTION
=PROPER(TEXT)
1. 2.
3.
TO CONVERT TO CONVERT
TO CAPITALISED
TEXT FROM TEXT FROM
EACH WORD OF
CAPITAL TO SMALL TO
TEXT.
SMALL. CAPITAL.
MS EXCEL 02/02/25 62
TEXT FUNCTIONS
SYNTAX OF
FUNCTIONS
=LEFT(An ,3) =RIGHT(An ,3) =MID(An ,2,3)
1. LEFT FUNCTION
=LEFT(TEXT,NUM_CHARS)
2. RIGHT FUNCTION
=RIGHT(TEXT,NUM_CHARS)
3. MID FUNCTION
1. 2.
=MID(TEXT,STARTNUM,NUM
3. RETURN
RETURN RETURN _CHAR)
CHARACTER
SPECIFIED NO. SPECIFIED NO.
FROM MIDDLE OF
OF CHARACTER OF CHRACTER
TEXT,GIVEN A
FROM START OF FROM END OF
STARTING
TEXT. TEXT.
POSITION.
MS EXCEL 02/02/25 63
OTHER FUNCTIONS
USES OF
FUNCTIONS
= NOW RETURNS CURRENT DATE AND
TIME.
=
TODAY RETURNS CURRENT DATE ONLY.
=
MOD RETURNS THE REMAINDER
AFTER A NO.
= IS DIVIDED BY A DIVISOR.
MS EXCEL 02/02/25 64
FUNCTION AUDITING
TRACE SHOW ARROW THAT INDICATE
PRECEDENTS WHAT CELLS AFFECT THE VALUE
OF THE CURRENTLY SELECTED
CELL.