Excel Project File
Excel Project File
Excel Project File
B.Com (Hons.)-308
1
Question 1.
What is Microsoft Excel? Mention some features of Excel.
Answer 1.
Microsoft Excel is a spreadsheet developed by Microsoft for Windows, Mac OS, Android
and iOS. It features calculation, graphing tools, pivot tables, and a macro programming
language called Visual Basic for Applications. It has been a very widely applied
spreadsheet for these platforms, especially since version 5 in 1993, and it has replaced
Lotus 1-2-3 as the industry standard for spreadsheets. Excel forms part of Microsoft
Office.
The list of uses for spreadsheet software is endless. However here is a short list of uses
ADVANTAGES OF SPREADSHEETS :
Spreadsheets are preferable to manual calculation and recording of data for a variety of
reasons Calculations are correct, Calculations are completed automatically, Information
is organized and easy to access , Information is easy to edit , Data can be easily sorted
and filtered ,Data can be quickly analyze , Reports can be made more visual by using
charts and graphs
Question 2.
2
How many data formats are available in Excel?
Name some of them.
Answer 2.
Eleven data formats are available in Microsoft Excel for data Storage. Example:
3
Question 3.
Specify the order of operations used for evaluating formulas in Excel.
Answer 3.
Perform multiplication (*) and division (/), which are of equal precedence.
Perform addition (+) and subtraction (-), which are of equal precedence.
4
Question 4.
Explain Macro in MS-Excel?
Answer 4.
5
6
7
Question 5.
Is it possible to prevent someone from copying the cell from your
worksheet?
Answer 5.
Yes, it is possible. In order to protect your worksheet from getting copied, you need to
go into
By entering password, you can secure your worksheet from getting copied by others.
8
QUESTION 6.
Answer 6.
In Microsoft Excel, a chart is often called a graph. It is a visual representation of data
from a worksheet that can bring more understanding to the data than just looking at the
numbers.
A chart is a powerful tool that allows you to visually display data in a variety of different
chart formats such as Bar, Column, Pie, Line, Area, Doughnut, Scatter, Surface, or
Radar charts. With Excel, it is easy to create a chart.
Here are some of the types of charts that you can create in Excel.
Pie Chart
9
Bar Chart
Column Chart
10
Line Chart
11
Question 7.
Explain few useful functions in Excel.
Answer 7.
Logical Functions
Text Functions
Excel provides a large number of built-in functions that can be used to perform specific
calculations or to return information about your spreadsheet data. These functions are
grouped into categories like text, logical, math, etc.
12
Question 8.
What does a red triangle at the top right of a cell indicate?
Answer 8.
A red triangle in the top right corner of a cell indicates that a user comment has
been added to the cell.
To read the comment, hover the mouse cursor over the cell containing the red
triangle; a text box containing the comment will appear next to the cell.
13
Question 9.
Explain pivot tables and its uses, with the help of an example.
Answer 9 .
A pivot table is a data summarization tool that can be used to summarize, analyze,
explore and present your data.
1) Summarizing data like finding the average sales for each region for each product
from a product sales data table.
14
3) Creating a pivot report with sub-totals and custom formats.
5) Filtering, sorting, drilling-down data in the reports without writing one formula or
macro.
6) Linking data sources outside excel and be able to make pivot reports out of such
data.
15
16
Question 10.
ANSWER 10.
The SUBSTITUTE function has a 4th optional argument. You can use this argument to
indicate which occurrence you want to substitute.
If you know the position of the text to be replaced, use the REPLACE function.
17
Question 11.
Difference between COUNT, COUNTA, COUNTIF and COUNTBLANK in MS-Excel.
Answer 11 .
Count
To count the number of cells that contain numbers, use the COUNT function.
ADITYA
Count If
To count cells based on one criteria (for example, greater than 9), use the following
COUNTIF function.
ADITYA
18
The COUNTBLANK function counts the number of blank cells.
ADITYA
The COUNTA function counts the number of nonblank cells. COUNTA stands for count all.
ADITYA
19
Question12.
Answer 12.
The Microsoft Excel IF function returns one value if the condition is TRUE, or another
value if the condition is FALSE.
20
Question 13.
What is the use of LOOKUP function in Excel? Show the use of
V lookup, H lookup function with the help of an example.
Answer 13.
The array form of the LOOKUP function searches the specified value in the first column
or row of the array and retrieves a value from the same position in the last column or
row of the array.
LOOKUP(lookup_value, array)
Where:
Array - a range of cells where you want to search for the lookup value. The values in the
first column or row of the array (depending on whether you do V-lookup or H-lookup)
must be sorted in ascending order. Uppercase and lowercase characters are deemed
equivalent.
21
VLOOKUP
The VLOOKUP function performs a vertical lookup by searching for a value in the first
column of a table and returning the value in the same row in the index_number position.
Syntax
The syntax for the VLOOKUP function in Microsoft Excel is:
VLOOKUP( value, table, index_number, [approximate_match] )
22
HLOOKUP
The Microsoft Excel HLOOKUP function performs a horizontal lookup by searching for a
value in the top row of the table and returning the value in the same column based on
the index_number.
The HLOOKUP function is a built-in function in Excel that is categorized as a
Lookup/Reference Function. It can be used as a worksheet function (WS) in Excel. As a
worksheet function, the HLOOKUP function can be entered as part of a formula in a cell
of a worksheet.
Syntax
The syntax for the HLOOKUP function in Microsoft Excel is:
23
Question 14.
Which function is used to determine the day of the week for a date?
Answer 14.
24
Note: use the MONTH function to get the month of a date.
25
Question 15 .
Define Cell reference , type of cell references and how is it useful in calculation?
Answer 15.
A cell reference, or cell address, is an alphanumeric value used to identify a specific cell
in a spreadsheet. Each cell reference contains one or more letters followed by a
number. The letter or letters identify the column and the number represents the row.
In a standard spreadsheet, the first column is A, the second column is B, the third
column is C, etc. These letters are typically displayed in the column headers at the top
of the spreadsheet. If there are more than 26 columns, the 26th column is labeled Z,
followed by AA for column 27, AB for column 28, AC for column 29, etc.
26
There are three types of cell references.
Absolute – This means the cell reference stays the same if
you copy or move the cell to any other cell. This is done by
anchoring the row and column, so it does not change when
copied or moved.
Mixed – This means you can choose to anchor either the row
or the column when you copy or move the cell, so that one
changes and the other does not. For example, you could
anchor the row reference then move a cell down two rows and
across four columns and the row reference stays the same.
27
Question 16 .
How to group worksheets in excel, give an example.
Answer 16.
To group worksheets, hold down CTRL and click the sheet tabs of the sheets you
want to group.
Release CTRL.
Now you can edit multiple worksheets at the same time.
28
Question 17.
What is template in excel? Take an example Personal Monthly Budget.
Answer 17.
Click File > New.
Click Personal.
29
30
Question 18.
Give the keyboard shortcuts in excel.
Answer 18.
Keyboard Shortcuts
Keyboard shortcuts allow you to do things with your keyboard instead of your mouse to
increase your speed.
Basic
Select cell B2.
1. To select the entire range, press CTRL + a (if you press CTRL + a one more
time Excel selects the entire sheet).
2. To copy the range, press CTRL + c (to cut a range, press CTRL + x).
3. Select cell A6 and press CTRL + v to paste this range .
31
4. To undo this operation, press CTRL + z
Moving
Select cell B2.
1. To quickly move to the bottom of the range, hold down CTRL and press ↓
2. To quickly move to the right of the range, hold down CTRL and press →
32
Selecting
Select cell A1.
1. To select cells while moving down, hold down SHIFT and press ↓ a few times.
2. To select cells while moving to the right, hold down SHIFT and press → a few times.
33
Formulas
Select cell F2.
1. To quickly insert the SUM function, press ATL + =, and press Enter.
2. Select cell F2, hold down SHIFT and press ↓ two times.
34
3. To fill a formula down, press CTRL + d (down).
Formatting
Select the range B2:F4.
35
4. Press Enter.
Question 19.
Write Date & Time functions available in excel, with example.
Answer 19.
Date & Time Functions
To enter a date in Excel, use the "/" or "-" characters. To enter a time, use the ":" (colon).
You can also enter a date and a time in one cell.
36
Note: Dates are in US Format. Months first, Days second. This type of format depends
on your windows regional settings. Learn more about Date and Time formats.
Year, Month, Day
Note: use the MONTH and DAY function to get the month and day of a date.
Date Function
37
2. To add a number of years, months and/or days, use the DATE function.
Note: the DATE function accepts three arguments: year, month and day. Excel knows that 6 + 2
= 8 = August has 31 days and rolls over to the next month (23 August + 9 days = 1 September).
To get the current date and time, use the NOW function.
38
Note: use the TODAY function to get the current date only. Use NOW()-TODAY() to get
the current time only (and apply a Time format).
Hour, Minute, Second
Note: use the MINUTE and SECOND function to return the minute and second.
Time Function
To add a number of hours, minutes and/or seconds, use the TIME function.
Question 20.
39
Write text functions available in excel, with example.
Answer 20.
Text Functions
Excel has many functions to offer when it comes to manipulating text strings.
Join Strings
To join strings, use the & operator.
Left
To extract the leftmost characters from a string, use the LEFT function.
Right
To extract the rightmost characters from a string, use the RIGHT function.
40
Mid
To extract a substring, starting in the middle of a string, use the MID function.
Len
To get the length of a string, use the LEN function.
Find
To find the position of a substring in a string, use the FIND function.
Substitute
To replace existing text with new text in a string, use the SUBSTITUTE function.
41
Question 21.
Write statistical functions available in excel, with example
Answer 21.
Statistical Functions
Average
To calculate the average of a range of cells, use the AVERAGE function.
Average if
To average cells based on one criteria, use the AVERAGEIF function. For example, to
calculate the average excluding zeros.
Note: <> means not equal to. The AVERAGEIF function is similar to the SUMIF function.
42
Median
To find the median (or middle number), use the MEDIAN function.
Mode
To find the most frequently occurring number, use the MODE function.
Standard Deviation
To calculate the standard deviation, use the STEDV function.
43
Min
To find the minimum value, use the MIN function.
Max
To find the maximum value, use the MAX function.
44
Question 22.
Write Financial functions available in excel, with example
Answer 22.
PMT - Calculates loan repayments based on constant payments and a constant
interest rate
RATE - Returns the interest rate per period of a loan or investment
PV - Returns the present value of an investment based on a constant interest rate
and payments
FV - Returns the future value of an investment based on constant payments and a
constant interest rate
IPMT - Calculates the interest paid during a period of a loan or investment
PPMT - Calculates the principal payment made in a period of an investment
IRR - Returns the internal rate of return on a series of regular investments
XIRR - Returns the internal rate of return on a series of irregular payments on an
investment
NPV - Returns the net present value of an investment based on a series of cash
flows and a discount rate
XNPV - Returns the net present value of an investment based on a series of cash
flows, the dates of the cash flows and a discount rate
45
*NOTE: Examples for financial functions are shown later on in a separate section of the file
Question 23.
Write Logical functions available in excel, with example
Answer 23.
Logical Functions
If Function
The IF function checks whether a condition is met, and returns one value if TRUE and
another value if FALSE.
1. Select cell C1 and enter the following function.
The IF function returns Correct because the value in cell A1 is higher than 10.
And Function
The AND Function returns TRUE if all conditions are true and returns FALSE if any of
the conditions are false.
1. Select cell D1 and enter the following formula.
46
The AND function returns FALSE because the value in cell B1 is not higher than 5. As a
result the IF function returns Incorrect.
Or Function
The OR function returns TRUE if any of the conditions are TRUE and returns FALSE if
all conditions are false.
1. Select cell E1 and enter the following formula.
The OR function returns TRUE because the value in cell A1 is higher than 10. As a
result the IF function returns Correct.
General note: the AND and OR function can check up to 255 conditions.
47
Question 24.
Define Index and match functions with syntax .Show working
of both the functions.
Answer 24.
Match
SYNTAX
=MATCH (lookup_value, lookup_array, [match_type])
Explanation: Yellow found at position 3 in the range E4:E7. The third argument is
optional. Set this argument to 0 to return the position of the value that is exactly equal to
lookup_value (A2) or a #N/A error if not found.
48
Index
SYNTAX
=INDEX(array, row_num, [column_num])
The INDEX function below returns a specific value in a two-dimensional range.
Explanation: 92 found at the intersection of row 3 and column 2 in the range E4:F7.
49
Explanation: 97 found at position 3 in the range E4:E7.
Question 25.
Define Solver Tool Also Show working of Solver by taking
some relevant example.
Answer 25.
Solver is a Microsoft Excel add-in program you can use for what-if analysis. Use Solver
to find an optimal (maximum or minimum) value for a formula in one cell — called the
objective cell — subject to constraints, or limits, on the values of other formula cells on a
worksheet. Solver works with a group of cells, called decision variables or simply
variable cells that are used in computing the formulas in the objective and constraint
cells. Solver adjusts the values in the decision variable cells to satisfy the limits on
constraint cells and produce the result you want for the objective cell.
50
51
Question 26.
Take the example of book store and show the use of goal seek,
scenario in Ms Excel.
52
Answer 26.
ADITYA
53
ADITYA
54
Question 27.
Mini Project : Create a central library system using various data
validations rules ,if condition, functions and formulas. Create graphs ,
V lookup and pivot table using existing data.
Answer 27.
ADITYA JAIN
55
ADITYA
56
Question 28.
Take the sales for 8 periods and forecast the sales for next 4
periods, using forecast and trend functions.
Answer 28.
Forecast function is used to predict the future values based on existing trend of values
2006 20000
2007 35000
2008 30000
2009 24000
2010 40000
2011 38000
2012 35000
2013 45000
57
58
Text Functions
Excel has many functions to offer when it comes to manipulating text strings.
Join Strings
To join strings, use the & operator.
Left
To extract the leftmost characters from a string, use the LEFT function.
Right
To extract the rightmost characters from a string, use the RIGHT function.
Mid
To extract a substring, starting in the middle of a string, use the MID function.
59
Note: started at position 5 (p) with length 3.
Len
To get the length of a string, use the LEN function.
Find
To find the position of a substring in a string, use the FIND function.
Substitute
To replace existing text with new text in a string, use the SUBSTITUTE function.
60
Date & Time Functions
To enter a date in Excel, use the "/" or "-" characters. To enter a time, use the ":" (colon).
You can also enter a date and a time in one cell.
Note: Dates are in US Format. Months first, Days second. This type of format depends
on your windows regional settings. Learn more about Date and Time formats.
Year, Month, Day
Note: use the MONTH and DAY function to get the month and day of a date.
61
Date Function
2. To add a number of years, months and/or days, use the DATE function.
Note: the DATE function accepts three arguments: year, month and day. Excel knows
that 6 + 2 = 8 = August has 31 days and rolls over to the next month (23 August + 9
days = 1 September).
62
Current Date & Time
To get the current date and time, use the NOW function.
Note: use the TODAY function to get the current date only. Use NOW()-TODAY() to get
the current time only (and apply a Time format).
Hour, Minute, Second
Note: use the MINUTE and SECOND function to return the minute and second.
Time Function
To add a number of hours, minutes and/or seconds, use the TIME function.
63
Logical Functions
If Function
The IF function checks whether a condition is met, and returns one value if TRUE and
another value if FALSE.
1. Select cell C1 and enter the following function.
The IF function returns Correct because the value in cell A1 is higher than 10.
And Function
The AND Function returns TRUE if all conditions are true and returns FALSE if any of
the conditions are false.
1. Select cell D1 and enter the following formula.
64
The AND function returns FALSE because the value in cell B1 is not higher than 5. As a
result the IF function returns Incorrect.
Or Function
The OR function returns TRUE if any of the conditions are TRUE and returns FALSE if
all conditions are false.
1. Select cell E1 and enter the following formula.
The OR function returns TRUE because the value in cell A1 is higher than 10. As a
result the IF function returns Correct.
General note: the AND and OR function can check up to 255 conditions.
65
Statistical Functions
Average
To calculate the average of a range of cells, use the AVERAGE function.
Average if
To average cells based on one criteria, use the AVERAGEIF function. For example, to
calculate the average excluding zeros.
Note: <> means not equal to. The AVERAGEIF function is similar to the SUMIF function.
66
Median
To find the median (or middle number), use the MEDIAN function.
Mode
To find the most frequently occurring number, use the MODE function.
Standard Deviation
To calculate the standard deviation, use the STEDV function.
67
Min
To find the minimum value, use the MIN function.
Max
To find the maximum value, use the MAX function.
68
Mathematical Functions
Count
To count the number of cells that contain numbers, use the COUNT function.
Count If
To count cells based on one criteria (for example, greater than 9), use the following
COUNTIF function.
69
Sum
To sum a range of cells, use the SUM function.
Sum If
To sum cells based on one criteria (for example, greater than 9), use the following
SUMIF function
70
.
71