Shishu Manu
Shishu Manu
Submitted to Submitted by
Dr. Shikha Gupta GOURAV BEHURA
(Associate Professor) Enrolment no. 01219288822
BATCH 2022-2025
1
CERTIFICATE
Date:
2
ACKNOWLEDGEMENT
I express my sincere gratitude to the worthy Director of Lingaya”s Lalita Devi Institute
of Management & Sciences, for providing me an opportunity of doing this project under
his leadership.
I also extend my sincere indebtedness to Dr. Shikha Gupta who provided her valuable
suggestion and precious time in accomplishing my project.
I also take the opportunity to express my sincere gratitude to each and every person ,
who directly or indirectly helped me throughout the project and without anyone of them
this project would not have been possible. The immense learning from this project
would be indelible forever.
GOURAV BEHURA
01219288822
3
Table of content
Topic Page no
CERTIFICATE 2
ACKNOWLEDGEMENT 3
TABLE OF CONTENTS 4-6
UNIT 1: - 7 – 11
INTRODUCTION TO MS EXCEL
a. What is Excel
b. Features of MS Excel
c. How to open MS Excel
d. Spreadsheet Details
e. How to open a new spreadsheet or workbook
UNIT 2: - 12 – 19
a. LOGICAL FUNCTIONS
b. STATISTICAL FUNCTION
c. SUM FUNCTION
d. SUBTOTAL FUNCTION
e. PMT FUNCTION
f. IRR FUNCTION
g. PASTE SPECIAL
UNIT 3 :- 20 – 23
4
BASIC COMMANDS
a. VLOOKUP FUNCTION
b. HLOOKUP FUNCTION
c. DATE AND TIME FUNCTION
UNIT 4 :- 24 – 60
ADVANCED FUNCTIONS
a. SHOPPING CART
b. DROP DOWN MENU
c. DATA VALIDATION
d. CONDITIONAL FORMATTING
e. SCENARIO MANAGER
f. GOAL SEEK
g. DATA FILTERING
h. DATA ANALYSIS
UNIT 5 :- 61 – 66
DATA TABLE
a. PIVOT TABLE
b. PIVO CHART
UNIT 6 :- 67 – 74
UNIT 7 :- 75 – 78
SHORTCUT KEYS
UNIT 8 :- 79 – 83
5
TYPES OF ERRORS
a. #DIV/0 ERROR
b. #N/A ERROR
c. #NAME? ERROR
d. #NULL! ERROR
e. #NUM! ERROR
f. #REF! ERROR
g. #VALUE! ERROR
h. ###### ERROR
i. CIRCULAR REFERENCE ERROR
6
INTRODUCTION TO MS EXCEL
1.1 What is Excel ?
The first version was released in 1985 and has gone through several
changes over the years. However, the main functionality mostly remains
the same.
Analysis
Data entry
Data management
Accounting
Budgeting
Data analysis
Visuals and graphs
Programming
Financial modeling
a. Features of MS Excel
It is the most popular spreadsheet program in the world
It is easy to learn and to get started.
The skill ceiling is high, which means that you can do more advanced
things as you become better
It can be used with both work and in everyday life, such as to create a
family budget
7
It has a huge community support
It is continuously supported by Microsoft
Templates and frameworks can be reused by yourself and others,
lowering creation costs.
There are 10,48,576 no. of rows ( horizontal lines) and 16,384 no. of
columns ( vertical lines ) present in excel.
c. Spreadsheet Details
8
1. TitleBar: The title bar displays the name of the spreadsheet and
application.
6. Row Headings: Every excel spreadsheet contains 65,536 rows and each
row present in the spreadsheet is named by a number.
9
any formula or to duplicate the value of one cell to another (by using =
A1).
10
Step 3: After selecting the New option a New Workbook dialogue box
will appear and then in Create tab, click on the blank Document.
Logical functions are used to compare more than one condition or multiple
conditions. It returns the result as TRUE or FALSE by evaluating the
arguments.These functions are used for calculating the result and help to
elect any one of the given data. Based on the requirement, the contents in
the cell are evaluated using the respective logical condition. Here in this
tutorial, the types of Logical Functions used are:
11
The AND function tests single or multiple conditions. It returns the value
true if all the values evaluate to true and return false if any one of the value
evaluates to false.
Syntax
2.1.2 OR FUNCTION
Syntax
12
2.1.3 NOT FUNCTION
NOT is one of the logical functions which return the reversed logical value.
An inbuilt function in Excel is used along with the formula based on the
requirement.
Syntax
2.1.4 IF FUNCTION
The IF function checks whether a condition is met, and returns one value
if true and another value if false.
13
2.2 STATISTICAL FUNCTION
The function COUNT() counts the total number of cells in a range that
contains a number. It does not include the cell, which is blank, and the
ones that hold data in any other format apart from numeric.
14
2.2.3 MIN FUNCTION
The MIN function will return the smallest numeric value within a given
set of data or an array.
The LARGE function is similar to the MAX function but the only
difference is it returns the nth largest value within a given set of data or
an array.
15
2.2.5 SMALL FUNCTION
The SMALL function is similar to the MIN function, but the only
difference is it return nth smallest value within a given set of data or an
array.
The MAX function will return the largest numeric value within a given
set of data or an array.
16
2.3 SUM FUNCTION
The SUM() function, as the name suggests, gives the total of the selected
range of cell values. It performs the mathematical operation which is
addition.
17
2.5 PMT FUNCTIONS
The Excel IRR function returns the internal rate of return for a series of
periodic cash flows represented by positive and negative numbers. In all
calculations, it's implicitly assumed that: There are equal time intervals
between all cash flows. All cash flows occur at the end of a period
18
2.7 PASTE SPECIAL
When you copy text that has different formatting into an Office program,
the program, such as PowerPoint or Word, automatically reformats that
text to match the text of the destination. However, you can use Paste
Special to maintain the original formatting or paste it as a link or a
picture.
Click the first cell in the area where you want to paste what you
copied. On the Home tab, under Edit, click Paste, and then click Paste
Special. Paste all cell contents and formatting, including linked data.
Paste only the formulas as entered in the formula bar.
3. BASIC COMMANDS
19
Formula :-
lookup_value: The value for which we are trying to retrieve the result
from the table_array (2nd argument). It is a mandatory argument.
table_array: It will be either range or table_array where we search for
the lookup_value. It is a mandatory argument.
col_index_num: In a given table_array, it is the column we are looking
for the result. It is a mandatory argument.
[range_lookup]: In this optional argument, we need to specify the kind
of match we need:
o 0 or FALSE – It will search for the exact match of the lookup_value in
the table_array. If nothing is specified, 1 or TRUE will be the default
mode.
o 1 or TRUE – It will search for the approximate match of
the lookup_value in the table_array
20
3.1.2 HLOOKUP
Formula:-
lookup_value: The value for which we are trying to retrieve the result
from the table_array (2nd argument). It is a mandatory argument.
table_array: It will be either range or table_array where we search for
the lookup_value. It is a mandatory argument.
21
row_index_num: In a given table_array, it isthe row we are looking for
the result. It is a mandatory argument.
[range_lookup]: In this optional argument, we need to specify the kind
of match we need:
o 0 or FALSE – It will search for the exact match of the lookup_value in
the table_array. If nothing is specified, 1 or TRUE will be the default
mode.
o 1 or TRUE – It will search for the approximate match of
the lookup_value in the table_array.
3.2.1 DATE
22
3.2.2 TODAY
The TODAY() function returns today's date, exactly as its name suggests.
3.2.3 NOW
NOW() function returns the current date and time. As well as TODAY, it
does not have any arguments. If you wish to display today's date and
current time in your worksheet.
23
4. ADVANCED FUNCTIONS
2. Multiply the two cells under QUANTITY and PRICE i.e. G3*H3 in
the cell I3.
24
3. Now write the formula of Vlookup in the cell H4 under the Price.
25
As now the Shopping Cart is ready to use .
1. Select the cell in the worksheet where you want the drop-down list.
2. Go to the Data tab on the Ribbon, then Data Validation .
26
3. On the Settings tab, in the Allow box, click List .
4. Click in the Source box, then select your list range. We put ours on a
sheet, in range C2:C5
2. Select Data Validation then Data Validation Dialog box will appear.
27
3. Now go to the settings in the appeared dialog box and select OPTION-
“LIST” in Allow.
28
4.3 DATA VALIDATION
Whole Number - It allows only whole numbers. For example, you can
specify that the user must enter the number between 0 to 30.
List - The user will have to create a drop-down list to choose from.
Input Message TabYou can set the input message to explain what data is
allowed in a given cell. This tab is optional.
29
Check the 'show input message when the cell is selected'.
Enter a title.
Check the ‘Show error alert after invalid data is entered’ box.
Enter a title.
30
Now, when you try to enter the value beyond the range, you will get an
error message.
Now that we are familiar with the basic concepts, let’s look at a step-by-
step process to implement data validation in excel.
31
Select the cell you want to validate. Go to the Data tab > Data tools, and
click on the Data Validation button.
A data validation dialogue box will appear having 3 tabs - Settings, Input
Message, and Error Alerts.
32
Step 3 - Under Allow, Select The Criteria
Under Allow, select an option from Whole Number, Decimal, List, Date,
Time, Text Length, and Custom.
Under Data, select a condition and set required values based on what you
choose for Allow and Data.
You can enter the input message if you want. This step is optional.
33
You can also set your custom error message. This step is optional.
Step 7 - Click Ok
Click OK. Now, if you try entering a value outside the specified range
(10, 50), it will result in an error.
1. Select the cells you want to apply conditional formatting to. Click the
first cell in the range, and then drag to the last cell.
2. Click HOME > Conditional Formatting > Highlight Cells Rules > Text
that Contains. In the Text that Contains box, on the left, enter the text you
want highlighted.
34
3. Select the color format for the text, and click OK.
35
4.5 SCENARIO MANAGER
After you have all the scenarios you need, you can create a scenario
summary report that incorporates information from all the scenarios.
36
Scenarios are managed with the Scenario Manager wizard from the What-
If Analysis group on the Data tab.
1. Assume that your worst case budget scenario is Gross Revenue of 50,000
and Costs of Goods Sold of 13,200, leaving $36,800 in Gross Profit. To
define this set of values as a scenario, you first enter the values in a
worksheet, as shown in the following illustration:
2. You then use the Scenario Manager dialog to save these values as a
scenario. Goto the Data tab > What-If Analysis > Scenario Manager >
Add.
3. In the Scenario name dialog, name the scenario Worst , and specify that
cells B2 and B3 are the values that change between scenarios.
37
4. Best Case budget scenario is Gross Revenue of $150,000 and Costs of
Goods Sold of $26,000, leaving $124,000 in Gross Profit. To define this
set of values as a scenario, you create another scenario, name it Best
Case.
38
5. Add the Scenario name dialog, name the scenario Best , and specify that
cells B8 and B9 are the values that change between scenarios.
39
2. A scenario summary report based on the preceding two example
scenarios would look something like the following:
40
4.6 GOAL SEEK
Goal seeking is the process of finding the correct input value when only
the output is known. The function of goal seeking can be built into
different kinds of computer software programs like Microsoft Excel. Goal
seeking is finding the correct input when only the output is known.
41
4. In cell B4, type =PMT(B2/12,B3,B1). This formula calculates the
payment amount.
42
1. On the Data tab, in the Data Tools group, click What-If Analysis, and
then click Goal Seek.
2. In the Set cell box, enter the reference for the cell that contains the
formula that you want to resolve. In the example, this reference is cell B4.
3. In the To value box, type the formula result that you want. In the
example, this is -9000. Note that this number is negative because it
represents a payment.
43
4. In the By changing cell box, enter the reference for the cell that contains
the value that you want to adjust. In the example, this reference is cell B3.
5. Click OK.
44
4.7 DATA FILTERING
Use filters to temporarily hide some of the data in a table, so you can
focus on the data you want to see.
45
4. Select Text Filters or Number Filters, and then select a comparison,
like Between.
46
4.8 When you Create and format tables, filter controls are
automatically added to the table headers.
STEPS:-
1. Select the column header arrow for the column you want to filter.
2. Uncheck (Select All) and select the boxes you want to show.
4.Click OK.
47
How to Insert a Picture Into a Cell Using VBA in Excel
In order to create a macro to insert pictures into Excel cells using VBA,
you actually don't need any advanced Visual Basic knowledge. All you
need to do is enable Developer tools, create the macro and paste the right
code.
Steps to Create a macro in Excel using VBA
1. Enabling Developer Tools
In order to use VBA in Excel, you need to enable Developer tools in
Excel. This will enable the Developer tab in the ribbon, which is disabled
by default.
1. Open Excel.
3. Click on Options at the bottom of the screen. This will open the Excel
Options window.
48
Creating the Macro and Inserting the Code
Now it's time to get down to creating the macro. Alternatively, you could
also create a button using VBA for this task, but we're going to stick with
macros.
1. In Excel, go to the Developer tab.
3. In the new window, enter a name for your macro under Macro name.
We're going to use insertPhotoMacro.
4. Click Create.
49
Once you click Create, the VBA window will open up and display the
code for your macro. Right now, the code will consist of two lines:
A Sub to initiate the macro, and an End Sub to end it.
50
Let's add some code to this macro. Add the following code between the
two lines:
Dim photoNameAndPath As Variant
Dim photo As Picture
51
photoNameAndPath = Application.GetOpenFilename(Title:="Select
Photo to Insert")
If photoNameAndPath = False Then Exit Sub
Set photo = ActiveSheet.Pictures.Insert(photoNameAndPath)
With photo
.Left = ActiveSheet.Range("A1").Left
.Top = ActiveSheet.Range("A1").Top
.Width = ActiveSheet.Range("A1").Width
.Height = ActiveSheet.Range("A1").Height
.Placement = 1
End With
Your final code should be something like the below:
52
You don't need to worry about saving your progress. Every change you
make in VBA is instantly saved.
Now it's time to see the code at work.
1. Close the VBA window.
5. Click Run.
53
Now a prompt will pop open asking you to locate the image file you want
to insert. Select your image and then click Open. You should now see
your photo in the A1 cell!
Notice that the inserted picture is shrunk to fit cell A1. You can alter this,
and also change the code to insert the picture in other cells or even a
range of cells. In the next section, we're going to break down the code
and explain the parameters at work.
3. Breaking Down the Code
To make this VBA code work for you the way you want, you need to
understand it. Once you do, you can alter the code to insert photos in any
54
cell in any size. We're going to go through the code bit by bit to make it
easier to understand.
Sub insertPhotoMacro()
Dim photoNameAndPath As Variant
Dim photo As Picture
photoNameAndPath = Application.GetOpenFilename(Title:="Select
Photo to Insert")
If photoNameAndPath = False Then Exit Sub
Set photo = ActiveSheet.Pictures.Insert(photoNameAndPath)
With photo
.Left = ActiveSheet.Range("A1").Left
.Top = ActiveSheet.Range("A1").Top
.Width = ActiveSheet.Range("A1").Width
.Height = ActiveSheet.Range("A1").Height
.Placement = 1
End With
End Sub
Once the code starts, we use the Dim statement to determine the
variable's type. We've got two variables
here: photoNameAndPath and photo itself. We've determined the former
as a Variant and the latter as a Photo.
From there, the photoNameAndPath variable runs and it opens an
application to get the whereabouts of the picture file. This is done
through Application.GetOpenFileName. The Title parameter is optional,
and the content in it is displayed as the window name.
Using If photoNameAndPath = False Then Exit Sub, we specify that if an
invalid or blank address is given, the process should be terminated.
However, if a proper file is fed, then Set photo =
55
ActiveSheet.Pictures.Insert(photoNameAndPath) indicates that the
picture should be set as the photo variable we defined earlier, and it
should be inserted into the active spreadsheet.
Finally using With photo and the five lines following it, we elaborate on
the image's positioning. .Left and .Top indicate the start locations,
while .Width and .Height indicate the end locations. If you're looking to
insert the image in other cells, or in a range, then these are the lines you
should alter.
.Placement indicates whether the picture should be sized with the cells or
inserted in free form. Setting it to 1 will size it with the cells.
Ultimately, we use End With and then End Sub to close the macro. Note
that you can change the photoNameAndPath and photo variables to
whatever other name you like. Just remember to keep the names
consistent throughout the code.
Step 1.Click the File tab, click Options, and then click the Add-Ins category.
56
Step 2.In the Manage box, select Excel Add-ins and then click Go. ...
Step 3.In the Add-Ins box, check the Analysis ToolPack check box, and then click
OK.
57
5.DATA TABLE
Pivot tables are among the most useful and powerful features in Excel.
We use them in summarizing the data stored in a table. They organize and
rearrange statistics (or "pivot") to
draw attention to the valuable facts. You can take an extremely large data
set and see the relevant information you need in a clean, concise,
manageable way.
For creating pivot table , you need to follow the following steps:
58
Step 1. Put your data in unique columns. This is the most important steps
as if your data is not in correct manner you will nit get the desired results
.
Step 2. Insert a pivot table: Go to the "Insert" tab in the Excel ribbon and
click on the "PivotTable" button. This will open the "Create PivotTable"
dialog box.
59
Srep 3. Choose your data source: In the dialog box, Excel will
automatically detect the range of your selected data. Ensure that the
correct range is displayed under "Select a table or range."
Click ok. Then it will create a pivot table worksheet.
60
Question 1.- How many items were sold by each company in a year
61
Question 3- create a report detailing the $ sales by region , country &
store, in the following format:
Pivot chart in excel is an in-built program tool that helps you summarize
selected rows and columns of data in a spreadsheet. The visual
representation of a PivotTable or any tabular data helps summarize and
analyze the datasets, patterns, and trends.
62
n the above image , you can see the pivot chart which is made from the
data in the pivot table
Here , we have only selected country and item column and only 6
countries are choosen to be shown in the graph.
Excel provides you different types of charts that suit your purpose. Based
on the type of data, you can create a chart. You can also change the chart
type later.
Column Chart
Line Chart
Pie Chart
Doughnut Chart
Bar Chart
Area Chart
XY (Scatter) Chart
63
Bubble Chart
Stock Chart
Surface Chart
Radar Chart
Combo Chart
We can find the Charts group under the Insert tab on the Ribbon.
Step 1: Select the required data in which you have to insert pie chart.
Step 4: Click the arrow to see the different types of pie chart available in
your document.
64
6.2 STEPS TO MAKE CLUSTERED BAR CHART
Step 1: Select the required data in which we have to insert the bar chart.
Step 2: On the insert on the ribbon display options icon on the top right
corner of your document.
65
6.3 STEPS TO MAKE CLUSTERED COLUMN
Step 1: Select the required data in which we have to insert the bar chart.
Step 2: On the insert on the ribbon display options icon on the top right
corner of your document.
66
6.4 STEPS TO MAKE STACKED BAR CHART
Step 1: Select the required data in which we have to insert the bar chart.
Step 2: On the insert on the ribbon display options icon on the top right
corner of your document.
67
6.5 STEPS TO MAKE 100% STACKED BAR CHART
Step 1: Select the required data in which we have to insert the bar chart.
Step 2: On the insert on the ribbon display options icon on the top right
corner of your document.
68
6.6 STEPS TO MAKE STACKED COLUMN
Step 1: Select the required data in which we have to insert the bar chart.
Step 2: On the insert on the ribbon display options icon on the top right
corner of your document.
69
6.7 STEPS TO MAKE 100% STACKED COLUMN
Step 1: Select the required data in which we have to insert the bar chart.
Step 2: On the insert on the ribbon display options icon on the top right
corner of your document.
7. SHORTCUT KEYS
70
Copy selection. Ctrl+C
71
7.1. ADVANCE SHORTCUT
KEYS FOR EXCEL
72
7 CTRL+SHFT+# This shortcut will apply the Date
format with the dd/mm/yyyy
(day, month, and year).
73
14 CTRL+9 This shortcut will hide the
selected rows from your Excel
worksheet.
74
8. TYPES OF ERRORS
This error means “no value available” or “not available.” It indicates that
the formula cannot find the value that we suppose it may return.
When the source data and the lookup value are not of the same data type:
75
8.3 – #NAME? Error
This error is usually displayed when cell references are not specified
correctly.
We get this error when we do not use the space character appropriately.
The space character is called the “intersect operator,” which specifies the
range that intersects each other at any cell.
76
In the below image, we have used the space character, but the ranges
A2:A12 and B2:B12 are not intersecting; that is why this error is
displayed.
This error is usually displayed when a number for any function argument
is found invalid.
This error stands for reference error. This error usually comes when
77
1. We accidentally deleted the cell which we referenced in the formula.
2. We cut and paste the referenced cell in different locations.
As we deleted cell B7, then cell C7 shifted left to take the place of B7,
and we got a reference error in the formula as we deleted one of the
referenced cells of the formula.
This error comes when we use the wrong data type for a function or
formula. For example, we can add only numbers. But if we use any other
data type like text, this error will be displayed.
78
8.8 – ###### Error
This error is displayed when the column width in excel is not enough to
show the stored value in the cell.
In the below image, dates and times are written in the cells. But, as
column width is not enough, ##### is being displayed.
79
8.9 – Circular Reference Error
This type of error comes when we reference the same cell in which we
are writing the function or formula.
80