Excel Spreadsheet Basics Explained
Excel Spreadsheet Basics Explained
Q. What is a spreadsheet?
Ans. A spreadsheet is a “number manipulator” i.e., it is the computer
equivalent of a paper ledger sheet. It consists of a grid made from columns
and rows to make the handling of numbers easier. It is an environment that
makes number manipulation easy and convenient.
Spreadsheets are made up of
● columns
● rows
Q. What is a COLUMN?
Ans. In a spreadsheet the COLUMN is defined as the vertical space that is
going up and down the window. Letters (A,B,C through XFD) are used to
designate each COLUMN'S location. After column Z comes column AA,
which is followed by AB, AC and so on. After column AZ comes BA, BB, and
so on. After column ZZ is AAA, AAB, and so on.
Q. What is a ROW?
Ans. In a spreadsheet the ROW is defined as the horizontal space that is going
across the window. Numbers are used to designate each ROW'S location.
Rows are numbered from 1 through 1,048,576
Q. What is a Cell?
Ans. In a spreadsheet the CELL is defined as the space where a specified row
and column intersect. Each CELL is assigned a name according to its
COLUMN letter and ROW number.
1
EXCEL NOTES
● car loan
● interest
● # of payments
● Monthly Pmt.
Values are entries that have a specific fixed value. If someone asks you how old
you are, you would answer with a specific answer. Sure, other people will have
different answers, but it is a fixed value for each person.
Examples: the constants are
● 12,000
● 9.6%
● 60
● =SUM(A1:A3)
● =25*30
2
EXCEL NOTES
The "matches" that Spreadsheet uses in its "guess" is nothing but the
contents of the cells in the column, above where you are making your
entry. For instance, if you have information in cells A1 through A6 and you
are entering a value in cell A7, Spreadsheet looks at what you are typing. If
the first few characters uniquely match something in any of the six cells
previously entered in the column, then Spreadsheet offers to AutoComplete
A7 with the contents of the cell that matched.
Spreadsheet does not try to match with cells that contain only numbers,
dates, or times. The cells must contain either text or a combination of text
and numbers.
3
EXCEL NOTES
1. You can click on the first cell you want to select and then drag the mouse
pointer to include the rest of the cells.
2. You can also select a range of cells by clicking the first cell and then
clicking the last cell while holding down the shift key.
3. Take the cursor to the first cell you want to select and keep the shift key
press and then use arrow keys to select the remaining cells.
4. Take the cursor to the first cell and then press F8 key and then using
arrow keys select the remaining cells.
4
EXCEL NOTES
Activate the destination cell right click and choose paste from the shortcut
menu. Or Press the enter key.
3. You can also use the shortcut key Control+ C to Copy and Control +V to
Paste.
4. Drag and Drop method can also be used to copy cells or range of cells.
Select the cell or range of cells keep the Control key pressed and move
the mouse to one of the selection border, now the mouse pointer is
augmented with a small plus sign and then simply drag the selection to its
new location while you continue pressing the control key. The original
selection remains behind and Spreadsheet makes a new copy when you
release the mouse button.
5
EXCEL NOTES
Match entire cell Limit search results to cells where an exact match
contents occurs
EXAMPLE: Smith will locate Smith but not Chris
Smith.
Exercises:
6
EXCEL NOTES
1)Click the Insert Worksheet control, which is located to the right of the last
sheet tab. This method inserts the new sheet after the last sheet in the
workbook.
2)Press Shift+F11. This method inserts the new sheet before the active sheet.
3) Right-click a sheet tab, choose Insert from the shortcut menu, and click the
General tab of the Insert dialog box. Then select click the Worksheet icon and
click OK. This method inserts the new sheet before the active sheet.
7
EXCEL NOTES
1)Right-click the sheet tab and choose Delete from the shortcut menu.
2)Choose Home Cells Delete Sheet. If the worksheet contains any data, Spreadsheet asks you to confirm that you wan
You can delete multiple sheets with a single command by selecting the
sheets that you want to delete. To select multiple sheets, press Ctrl
while you click the sheet tabs that you want to delete. To select a
group of contiguous sheets, click the first sheet tab, press Shift, and
then click the last sheet tab. Then use either method to delete the
selected sheets.
The default names Spreadsheet uses for worksheets—Sheet1, Sheet2, and so on.
To change a sheet’s name, double-click the sheet tab. Spreadsheet highlights
the name on the sheet tab so that you can edit the name or replace it with a new
name.
Sheet names can be up to 31 characters, and spaces are allowed. However, you
can’t use the following characters
in sheet names:
: colon
/ slash
\ backslash
? question mark
* asterisk
It is convenient to use shorter sheet names so that you can see these names in
sheet tabs.
In some situations, you may want to hide one or more worksheets. Hiding a
sheet may be useful if you don’t want others to see it or if you just want to get it
out of the way. When a sheet is hidden, its sheet tab is also hidden. You can’t
hide all the sheets in a workbook, so at least one sheet must remain visible. To
8
EXCEL NOTES
hide a worksheet, right-click its sheet tab and choose Hide. The active worksheet
(or selected worksheets) will be hidden from view.
To unhide a hidden worksheet, right-click any sheet tab and choose Unhide.
Spreadsheet opens its Unhide dialog box that lists all hidden sheets. Choose the
sheet that you want to redisplay and click OK. You can’t select multiple sheets
from this dialog box, so you need to repeat the command for each sheet that you
want to unhide.
To prevent others from unhiding hidden sheets, inserting new sheets, renaming
sheets, copying sheets, or deleting sheets, protect the workbook’s structure:
After performing these steps, several commands will no longer be available when
you right-click a sheet tab: Insert, Delete, Rename, Move or Copy, Hide, and
Unhide.
A header is information that appears at the top of each printed page. A footer is
information that appears at the bottom of each printed page. By default, new
workbooks do not have any headers or footers.
You can specify headers and footers by using the Header/Footer tab of the Page
Setup dialog box. But this task is much easier if you switch to Page Layout View,
where you can click the section labeled Click To Add Header or Click To Add
Footer.
If you’re working in Normal view, you can choose Insert Header &
Footer. Spreadsheet switches to Page Layout View and activates the
center section of the page header.
You can then type the information and apply any type of formatting you like.
Note that headers and footers consist of three sections: left, center, and right.
For example, you can create a header that prints your name at the left margin,
the worksheet name centered in the header, and the page number at the right
margin.
When you activate the header or footer section in Page Layout View, the Ribbon displays a new context tab called Hea
You can choose from a number of predefined headers or footers by using either of the two drop-down lists in the Head
9
EXCEL NOTES
Ans. In most formula reference one or more cells by using the cell or range
address. Cell references come in four styles; the dollar sign differentiates them:
Relative: The reference is fully relative. When the formula is copied, the cell
reference adjusts to its new location.
Example: A1
Absolute: The reference is fully absolute. When the formula is copied, the cell
reference does not change.
Example: $A$1
Row Absolute: The reference is partially absolute. When the formula is copied,
the column part adjusts, but the row part does not change.
Example: A$1
Example: $A1
When cell reference is either row absolute or column absolute then it is known as
mixed reference
To use a reference to a cell in another worksheet in the same workbook, use this
format:
SheetName!CellAddress
In other words, precede the cell address with the worksheet name, followed by
an exclamation point. Here’s an example of a formula that uses a cell on the
Sheet2 worksheet: =A1*Sheet2!A1
This formula multiplies the value in cell A1 on the current worksheet by the value
in cell A1 on Sheet2.
For example, here’s a formula that refers to a cell on a sheet named All
Depts:
10
EXCEL NOTES
=A1*’All Depts’! A1
=[WorkbookName]SheetName!CellAddress
In this case, the workbook name (in square brackets), the worksheet name, and
an exclamation point precede the cell address. The following is an example of a
formula that uses a cell reference in the Sheet1 worksheet in a workbook named
Budget:
=[[Link]]Sheet1!A1
If the workbook name in the reference includes one or more spaces, you must
enclose it (and the sheet name) in single quotation marks. For example, here’s a
formula that refers to a cell on Sheet1 in a workbook named Budget For 2008:
11
EXCEL NOTES
Spreadsheet Functions:
FV:
The future value (FV) calculates how much a known quantity of money will be
worth at some point of time in the future. The syntax for the FV function is as
follows
Examples:
1) Suppose you wants to start saving account for a child’s college education,
starting from the first month of child’s birth and wants to know what would be
the amount after 18 years at a given rate of interest compounded annually,
then he must use FV function.
If you invest Rs.100 every month and the rate of interest is 5% then the
future amount can be computed using the function
= FV(5%/12,18*12,-100,0,0)
2) Suppose you want to compute how much your Rs.20,000 will be worth after
15 years when rate is 8%, you can use Future value function as follows
=FV(8%,15,0,-20000,0)
Here the payment (pmt) is 0 because the amount is deposited as lump sum.
12
EXCEL NOTES
3) Suppose you are going to make a monthly payment of Rs.900 against Rs.1,
50,000 mortgages. And your mortgage interest rate is 5.75%, the following
formula will compute how much you will still owe to your house in 5 years.
=FV(0.0575/12,5*12,-900,150000,0)
Q. Write future value function to find how much money will be accumulated
when you invest Rs.2000 in a year for 40 years and earn 8% interest, When
iii) Start with Rs.30000 and invest at the end of every year.
Ans. i) =FV(8%,40,-2000)
ii) =FV(8%,40,-2000,0,1)
iii) =FV(8%,40,-2000,-30000,0)
Q. You now have Rs.250000/-in the bank. At the end of each of the next 20
years you withdraw Rs. 15000. If you earn 8% per year on this investment,
how to find how much money will be there in 20 years using Spreadsheet?
PV:
The PV function (Present Value function) returns the present value of future cash
flows. We know that money in the future has different value than money today.
This function tells us how much that future money is worth right now.
The syntax is
13
EXCEL NOTES
Example:
1) Suppose you want to take car loan of Rs.4,00,000 and a company offers an
installment of Rs.9100 per month for 5 years to pay back this loan, assuming
that interest rate is 12% P.A., the following formula will compute the present
value of the amount.
=PV(12%/12,5*12,-9100)
2) Suppose somebody wants to give you Rs.1,00,000 but you can collect it only
after 5 years. Assuming 8% growth rate, you want find much this gift worth
today. The following formula will compute the present value of the amount.
This function returns 68,058.32. This result means that if you have
Rs. 68.058.32 and you have invested it at 8%, it would be worth Rs.
100000 in 5 years.
3) Suppose that your friend wants you to invest Rs. 50,000/- in his business. If
you invest this amount he will pay you Rs.200 per month for 5 years and
Rs.60000 at the end of 5 years. At the same time your bank gives you 10%
interest. Now you want to determine which one is good deal. Now you
compute the present value using the formula:
=PV(10%/12,60,200,60000,1)
This function returns Rs. 45,958.83. Therefore you can make more
money by investing in Bank.
Q. Write present value function table for an annuity of Rs.3000 per year for 5
years assuming rate as 12% per year.
14
EXCEL NOTES
iii) Additional Rs.500 is paid when payment is made at the end of the
year.
Ans. i) =PV(12%,5,-3000,0,0)
ii) =PV(12%,5,-3000,0,1)
iii) =PV(12%,5,-3000,-500,0)
Q. You have just won the lottery. At the end of each of the next 20 years you will
receive a payment of Rs. 50,000. If the cost of the capital is 10% per
year,How to find the present value of your lottery using Spreadsheet?
Ans. =PV(10%,20,50000,0,0)
Q. I deposit Rs.2000 per month (at the end of each month) over the next 10
years. My investment earns 0.8 percent per month. I would like to have Rs
1,000,000/- in 10 years. Write Spreadsheet function to find how much I should
deposit now?
IN ANY CELL
Q. A player receives Rs. 100000 at the end of each of next 7 years. He gets 6%
per year on his investments. Write Spreadsheet function to find the preset value
of his future revenue.?
Ans:=PV(6%,7,-100000,0,0)
PMT:
Examples:
1) Suppose you want buy a refrigerator worth Rs. 44,000/- and you want to know
how much you have to pay as monthly payments when you are making down
15
EXCEL NOTES
payment of Rs. 4000/- and the dealer is offering 4% financing for a 2 year
loan.
=PMT(4%/12,2*12,40000,0,0)
2) Suppose Mr. X is Retiring at the age of 60 years and has Rs. 20,00,000 with
him. He wants to take out a fixed monthly amount for 20 more years and still
want Rs. 5,00,000 left to leave to heirs. If he assumes that he will get a
minimum of 4% annual return
IPMT (Interest payment) function can be used to find the interest part of a
payment.
PPMT (Principal payment) function can be used to find the principal part of a
Payment.
These two functions are useful when you need to determine the interest/principal
breakdown of a particular payment.
Example:
Suppose you are borrowing a loan 0f Rs.10,000/- for a period of 2 years and
rate of interest is 13%per year. You want a table showing month, principal
part of payment, interest part of payment and installment amount. You may
enter 1 on cellA2 and using fill handle of this cell drag till A13 and fill series.
=ppmt(13%/12,A2,24,-10000,0,0) in cell B2
=ipmt(13%/12,a2,24,-10000,0,0) in cell C2
16
EXCEL NOTES
=B2+C2 in cell D2
Ans:
NPER:
The NPER function returns the number of payment periods for a loan, given the
loan’s amount, interest rate, and periodic payment amount.
=NPER(0.06/12,117.43,-5000)
=NPER(8%,-10000,100000,0,0)
=NPER(2%,-20000,500000,-50000,0)
17
EXCEL NOTES
RATE
The Rate function computes the interest or Discount Rate on future cash flows.
The transactions where the interest rate is not specifically stated, the RATE
function can be used to compute the implicit interest rate.
Example:
1) Suppose a money lender lends 30 day loan of Rs 1000/- and asks you to repay
Rs.1250. You want to find the actual interest rate, and then you can use RATE
function as follows:
Here nper is 1 because you are repaying the entire amount along with the
interest.
2) Suppose you have a balance of Rs. 40,000 in a bank and every fortnight, you
are depositing Rs. 200/- and after 26 payments it becomes Rs 62,000/- and
you want to know the rate of growth then use the RATE function as follows.
NPV:
The NPV function returns the sum of a series of cash flows, discounted to the
present day using a single discount rate. The cash flows don’t have to be the
same amount, but they must be at regular intervals. The syntax is:
Cash inflows are represented as positive values and the cash outflows are
represented as negative values. If the discounted negative flow exceeds the
discounted positive flows the function will return a negative amount and vice
versa. Here the rate argument is the discount rate. If the NPV is positive, this
indicates that the future cash flow provides a better rate of return than the
18
EXCEL NOTES
specified discount rate. The positive amount returned by NPV is the amount that
the investor could add to the initial cash flow to get the exact rate of return. A
negative NPV indicates that the investor does not get the required discount rate.
Therefore, to achieve the desired rate the investor would have to reduce the
initial cash flow by the amount returned by the negative NPV.
Example:
Year Rent
1 45000
2 32000
3 25000
4 19000
5 41000
6 34000
7 33000
8 21600
9 35600
10 45700
If you assume that Rent values are entered in cells B2 through B11 and your
investment of Rs.200000is entered in cell B1 as negative value, then NPV can
be used to check whether the investment will provide expected return or not
using the formula:
This function will return Rs.3, 493.37, which is positive value. So we may
conclude that the investment returns more than the expected returns.
19
EXCEL NOTES
Suppose you assume that you are going to get rent of Rs.300000 for a
property during the first year and Rs.350000 during the second year.
Rs.400000 during subsequent 3years and you want to decide how much initial
investment should be made to produce 10% return, here you can use NPV as
follows:
Here since it is a practice in real estate to collect the rent in advance, we shall
enter the first year rent in cell B2 and subsequent years in cells B3 through
B6, enter the formula:
Suppose you want to find out how much money you want to invest on a
property from which you are going to get a rent of 360000 during the first 3
years and 372000 during subsequent 4 years and thereafter you would like to
sell the property for Rs.450000 and still want to make 10% return on
investment. You can use NPV as follows:
Here you enter the values 360000 in cells B2 through B4 and 372000 in cells
B5 through B8 and 822000 in cell B9. The entry in the cell B9 includes the
terminal value of Rs.450000.
IRR:
IRR function returns the discount rate that makes the net present value of an
investment zero. In other words IRR is a special case of NPV.
Note: The range argument must not contain an empty cell. Here guess
argument is a random value which acts as a ‘seed’ for the computation
process. One essential requirement of the IRR function is that there must
be both positive and negative income flows.
Example:
20
EXCEL NOTES
Suppose you have invested a capital of Rs.10, 000 entered in cell A1, during
the first year and your return would be Rs.8000 for the first year, Rs.1500
entered in cells A2 through A6 for subsequent four years and loss of Rs.1500
entered in cell A7 during the last year, then to compute IRR use the formula.
Lookup functions enable to “look up” values from work sheets ranges.
Spreadsheet allows you to perform both vertical lookups (VLOOKUP) and
horizontal lookups (HLOOKUP). In a vertical lookup, the lookup operation starts in
the first column of the worksheet range.
In a horizontal lookup, the operation starts in the first row of a worksheet range.
LOOKUP functions:
This function returns a value either from a row or column or from an array. The
LOOKUP function has the following Syntax
LOOKUP(lookup_value,lookup_vector,result_vect
or)
result_vector is the single column or the single row that contains the
values to be returned. It must be the same size as the lookup_vector.
Example:
1) Suppose Roll no. , Name of [Link] students are entered in cells A5:A1000,
B5:B1000 respectively. And you want search and find name of roll no. say 81.
Assuming that A1 is an input cell for roll no. and you want see the name in cell
B1 then you enter the formula
VLOOKUP functions:
21
EXCEL NOTES
Vertical lookup, searches for a value in the first column of a table and returns a
value in the same row from a column you specify in the table. The lookup table is
arranged vertically. The syntax for the VLOOKUP function is
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
Col_index_num : The column no. within the table from which the
matching value is returned.
Example:
1) Suppose Employee id, Name and basic pay workers are re entered in cells
A5:A24, B5:B24 and C5:C24 respectively. And you want search and find name
and bonus of an employee where bonus is 30% of basic using cell A1 as input
cell for employee id . and name and bonus to be displayed in B1 and C1
respectively, then you enter the formula
=VLOOKUP(A1,$A$24:$C$24,2,FALSE) in cell B1
=VLOOKUP(A1,$A$24:$C$24,3,FALSE)*30% in cell C1
2)The following table shows offers from telecom company based on no. of
connections.
No. of Monthly
connections rentals/connection
1-5 300/-
6-10 250/-
11-20 200/-
Above 20 150/-
To write a formula that yields total cost of purchasing any no. of connection is
as follows: no. of con rate
Enter 0 300
6 250
22
11 200
21 150
EXCEL NOTES
In cells A3:B7.
=VLOOKUP(A1,$A$4:$B$7,2,TRUE)*A1 in B1
If you enter no. of connections in cell A1 then total cost is displayed in cell B1.
For example if you enter 13 in cell A1 then 1300 is displayed in cell B1.
Marks Grad
e
0-30 E
31-50 D
51-70 C
71-80 B
81- A
100
Suppose in a worksheet roll no. and Marks 100 students are entered in cells
A5:A105, and B5:B104, you may use VLOOKUP function to decide letter Grade
to appear in Cells C5:C104 . Enter the above table in the form shown below in
cells E5:F10
Mark Grad
s e
0 E
31 D
51 C
71 B
HLOOKUP functions:
23
EXCEL NOTES
The HLOOKUP work just like the VLOOKUP function except that the lookup table
is arrange horizontally instead of vertically. The Syntax is similar to VLOOKUP.
HLOOKUP(lookup_value,table_array,row_index_num,range_looku
p)
Where: Lookup_value: The value to be looked up in the first row of the lookup
table.
Row_index_num :The row no. within the table from which the matching
value is returned.
Example:
Sales Discount
s
Below 10,000 2%
10000
Sales 0 10000 50000 0
Discoun
t 2% 5% 10% 20%
In Cell C5 enter the formula
=HLOOKUP(B5,$B$1:$E$2,2,TRUE)*B5 and press enter key.
IF Function
24
EXCEL NOTES
It returns one value if a condition you specify evaluates to True and another
value if it evaluates to False.
Example:
In a worksheet sales is entered in cells A5: A24 and you want to compute
commission on sales @ 3% of sales when ever sales is less than 10,000 and 5%
otherwise, and you want this appear in cells B5:B24, then enter the formula
COUNTIF Function
This function is used to count number of cells in a range that meets a given
criterion, the syntax is,
COUNTIF (range, criterion)
Where: Range is the range of cells in which you want to count cells meeting a
given criterion
Example:
1) Suppose in Cells A1: A31, Sales of a shop during 31 days of a month has been
entered and you want to find on how many days sales exceeds Rs.2,00,000.
Enter the formula
2) Suppose date of joining of employees are entered in cells D5:D49, and you
want to find no. of employees who have joined before 01/01/2000 in cell D55,
Enter the formula =COUNTIF(D5:D49,”<01/01/2000”) and press enter key.
3) Suppose marks of students are entered in cells say B10:B50 and you want to
find number of cells where mark is exactly 100. Enter the formula
SUMIF Function:
25
EXCEL NOTES
This function is used to find the total of cells in a range that meets a given
criterion, the syntax is,
SUMIF (range, criterion,
[sum_range])
Where: Range is the range of cells in which you want to sum cells meeting a
given criterion
Sum_range is the range of cells that are added, if sum range is omitted it
is assumed to be the same as range.
Example: Suppose Name of Dept and Basic pay are entered in cells C5:C54 and
D5:D54 respectively and you want to find the total of Basic pay of only those in
“SALES” department then enter the formula
ROUND Function
ROUND(number,
Syntax num_digits)
Num_digits specifies the number of digits to which you want to round number.
If num_digits is less than 0, then number is rounded to the left of the decimal
point
Examples
26
EXCEL NOTES
ROUNDDOWN Function
Syntax ROUNDDOWN(number,num_di
gits)
Remarks
If num_digits is less than 0, then number is rounded down to the left of the
decimal point.
Example
EXAMPLES
ROUNDUP Function
27
EXCEL NOTES
Remarks
ROUNDUP behaves like ROUND, except that it always rounds a number up.
Example
=ROUNDUP(3.2,0) will display 4
CEILING Function
Returns number rounded up, away from zero, to the nearest multiple of
significance. For example, if you want to avoid using 25 Paise in your prices and
your product is priced at Rs.4.42, use the formula =CEILING(4.42, 0.5) to round
prices up to the nearest 50 paise.
Syntax
28
EXCEL NOTES
Remarks
If number and significance have different signs, CEILING returns the #NUM! error
value.
EXAMPLES
FLOOR Function
Syntax
Remarks
29
EXCEL NOTES
Example
INT Function
INT(number
Syntax )
Examples
MAX Function
MAX(number1,
number2………)
Syntax
Number1, number2,…… are 1 to 30 numbers for which you want to find the
maximum value. You can specify arguments that are numbers, empty cells,
logical values, or text representations of numbers. Arguments that are error
values or text that cannot be translated into number cause errors.
30
EXCEL NOTES
Examples
MIN Function
MIN(number1, number2,
………)
Syntax
Number1, number2,… are 1 to 30 numbers for which you want to find the
minimum value, you can specify arguments that are number, empty cells, logical
values, or text representation of numbers. Arguments that are error values or
text that cannot be translated into number cause errors.
Examples
MOD Function
Returns the remainder after number is divided by divisor. The result has the
same signs as divisor.
MOD(number,
Syntax divisor)
Number is the number for which you want to find the remainder
31
EXCEL NOTES
Divisor is the number by which you want to divide number. If divisor is 0, MOD
returns the #DIV/0!
Examples
SQRT Function
SQRT(number
Syntax )
Number is the number for which you want the square root. If number is
negative, SQRT returns the #NUM! error value.
Examples
ABS Function
Returns the absolute value of a number. The absolute value of a number is the
number without its sign
ABS(numbe
Syntax r)
Number…. Is the real number of which you want the absolute value.
Examples
32
EXCEL NOTES
AVERAGE Function
AVERAGE(number1, number2,
Syntax ………..)
Number1, number2…. are 1 to 30 arguments for which you want the average.
If reference argument contains text, logical values, or empty cells, those values
are ignored; however, cell with the value zero are included.
When averaging cells, keep in mind the difference between empty cell and those
containing the value zero. Empty cells are not counted, but zero values are
counted.
If A1:A5 is named scores and contains the numbers 10, 7, 9, 27, and 2 then;
LEFT Function
LEFT(text,
num_chars)
Syntax
Text is the text string that contains the character you want to extract.
33
EXCEL NOTES
If num_chars is greater than the length of text, LEFT returns all of text.
If it is omitted, it is assumed to be 1.
Examples
RIGHT Function
Returns the last (or right most) character or characters in a text string.
RIGHT(text,
Syntax num_chars)
Text is the text string containing the characters you want to extract
If num_chars is greater than the length of text, RIGHT returns all of text.
Examples
MID Function
MID(text, start_num,
num_chars)
Syntax
34
EXCEL NOTES
Start_num is the position of the first character you want to extract in text. The
first character in text has start_num 1, and so on.
If start_num is greater than the length of text, MID returns “” (empty text).
If start_num is less than the length of text, but start_num plus num_chars
exceeds the length of text, MID returns the character up to the end of text.
Examples
LEN Function
LEN(text)
Returns the number of characters in a text string
Text is the text whose length you want to find. Space count as character.
Examples
UPPER Function
UPPER(text
Converts all lowercase letters in text string to uppercase. )
Text is the text you want converted to uppercase. Text can be a reference or
text string
Examples
Text is the text you want to convert to lowercase. LOWER does not change
character in text that are not letters. Text cab be a reference or text string
Examples
35
EXCEL NOTES
PROPER Function
Capitalize the first letter in a text string and other letter in text that follow any
character other than a letter. Convert all other letters to lowercase letters.
PROPER(text
Syntax )
Text is the text enclosed in quotation marks, a formula that returns text, or a
reference to a cell containing the text you want to partially capitalize
Examples
TRIM Function
Removes all spaces from text except for single spaces between words. Starting
as well as ending blank space are removed. Except a single all other spaces
between two words are also removed. Syntax
TRIM(text)
Example
TODAY Function
Returns the current date in American format i.e. mm/dd/yy. (however, it depends
on regional settings of Windows). Syntax
TODAY( )
Example
36
EXCEL NOTES
NOW( )
Numbers to the right of the decimal point in the serial number represent the
time; number to the left represent the date. For example, the serial number
367.5 represents the date-time combination 12:00 P.M, January 1, 1901
The NOW function changes only when the worksheet is calculated or when a
macro that contains the function is run. It is not updated continuously.
Examples
DATE Function
DATE(year, month,
Syntax day)
Month is number representing the month of the year. If month is greater than 12,
then month adds that number of months to the first month in the year specified.
Day is a number representing the day of the month. If day is greater than the
number of days in the month specified, then day adds that number of days to the
first day in the month. For example. DATE(91,1,35) returns the serial number
representing February 4, 1991
Examples
37
EXCEL NOTES
TIME Function
TIME(hour, minutes,
Syntax second)
Hours is a number from 0 (zero) to 23 representing the hour. However, you can
type hour as 25 and it will be taken as 1AM of the next day.
Examples
DAY Function
Returns the day of the month corresponding to serial number or date-text. The
day is given as an integer ranging from 1 to 31
Syntax DAY(serial_number)
38
EXCEL NOTES
1 January, 1900 =1
2 January, 1900 =2
31 January,1900 =31
1 February,1900 =32
2 February,1900 =33
Examples
MONTH Function
Returns the month corresponding to serial number or date text. The month is
given as an integer, ranging from 1 (January) to 12 (December).
MONTH(serial_numb
Syntax er)
Examples
39
EXCEL NOTES
YEAR Function
Returns the year corresponding to serial number or data text. The year is given
as an integer in the range 1900-9999
YEAR(serial_number)
Syntax
Examples
WEEKDAY Function
Returns the day of the week corresponding to serial number or date text. The
day is given as an integer, ranging from 1 (Sunday) to 7 (Saturday)
WEEKDAY(serial_number,
Syntax return_type)
Examples
DAYS360 Function
40
EXCEL NOTES
Returns the number of days between two dates based on a 360-day year (twelve
30-day months), which is used in some accounting calculation. Use this function
to help compute payments if your accounting system is based on twelve 30-day
month
Start_date and end_date are the two dates between which you want to know the
number of days. If start_date occurs after end_date, DAYS360 returns a negative
number.
Method is logical value that specifies whether to use the U.S or European method
in the calculation
Method defined
TRUE European method. Starting dates or ending dates that occur on the 31 st of
a month becomes equal to the 30th of the same month.
To determine the number of days between two dates in a normal year, you can
use normal subtraction, for example, “12/31/93”-“01/01/93” equal 364
Example
41