Outline
Introduction to spreadsheets
Introduction to MS Excel
Formatting
Creating formula
Functions
CAT I (Take away)
Functions II
Functions III
Functions IV
Cat II
Charts
Data Analysis
Topic 1: Spreadsheets
Definition
Spreadsheet: application package designed to store, organize and manipulate numerical data and charts.
Uses of Spreadsheets
Accounting
Statistical analysis
Data management
Tracking value of assets
Forecasting
Topic 2: Introduction to MS Excel
5.Worksheet- MS Excel working area.
6.Workbook – refers to an MS Excel spreadsheet file.
Continued
Excel Window
Navigating in a Worksheet
Labels
Any text and alphanumeric data
Used to make worksheet data more readable.
Text
Any text and alphanumeric data
Cannot be manipulated mathematically
Numbers
Numerical values that can be manipulated mathematically
Date
Calendar values
Time
Time values
Formula
User defined mathematical expression
Function
Excel inbuilt mathematical/text operations
Excel Continued
1. General
2. Number
3. Currency
4. Accounting
5. Percentage
6. Fraction
7. Scientific
8. Text
Steps for Formatting a Number
1. Parenthetical calculations first
2. Division or multiplication next in the order in which the calculations appear from left to right
3. Addition or subtraction next in the order in which the calculations appear from left to right
=5 + 2 * 2 ^ 3 - 1
To arrive at the answer of 20, Excel first performs the exponentiation (2 to the power of 3):
=5 + 2 * 8 - 1
and then the multiplication:
=5 + 16 - 1
and then the addition and subtraction:
=20
Copying a Formula
Relative: The row and column references can change when you copy the formula to another cell.
Is the default cell reference mode.
Example: A2
Absolute: The row and column references do not change when you copy the formula.
Necessary when there is a constant in a formula.
Both the column letter and row number are preceded by the dollar ($) sign
Example: $A$2
Mixed: Either the row or column reference is relative, and the other is absolute.
Example: A$2, $A2
1. #VALUE!
2. #NAME?
4. #DIV/0
5. #REF!
6. #N/A
7. #NULL!
SUM ( )
PRODUCT ()
1. ROUND( )
2. ROUNDDOWN( )
3. ROUNDUP( ):
POWER()
SQRT()
COUNT ()
Returns the number of cells that contain a numeric value or date value.
Format: = COUNT(Range)
Example: =COUNT(A1:A10)
Function ignores blank cells and cells with text data.
COUNTA ()
Returns the number of cells with any data type.
Used to determine the number of nonblank cells.
Format: = COUNT(Range)
Example: =COUNTA(A1:A10)
Function ignores blank cells
COUNTBLANK ()
Returns the number of blank cells
Format: = COUNT(Range)
Example: =COUNTBLANK(A1:A10)
The MAX( )
Pick the largest value out of a series of cells.
Format: =Max(range)
Example: =Max(A1:A10)
MIN( )
Returns smallest value out of a series of cells.
Format: =Min(range)
Example: =Min(A1:A10)
Note:
The MAX( ) and MIN( ) functions ignore any non-numeric content, which includes text, empty cells, and Boolean (true or false) values.
Excel includes dates in MAX( ) and MIN( ) calculations because it stores them internally as the number of days that have passed since a particular date.
LARGE( )
Returns the k-th largest value in a list e.g. the 5th largest value in a list.
Example: =Large(A1:A10,5)
SMALL()
Returns the k-th smallest value in a list e.g. the 5th smallest value in a list.
Example: =SMALL(A1:A10,5)
Takes two arguments: range and position in the list (range).
RANK( )
Function finds where a specific value falls in the list.
Format : =RANK(number, range, [order_type])
Example :
=RANK(A1,A1:A10) – ascending order
=RANK(A1,A1:A10,1) – descending order
AVERAGE( )
Finds the mean of a list of values
Format: =AVERAGE(A1:A10)
Takes one argument: the range of values.
Function ignores all empty cells or text values.
MEDIAN( )
Finds the median of a list of values.
If the list is ordered in ascending order, the median is the value that lies in the middle position.
Format: =MEDIAN(A2:A12)
MODE( )
Returns the value that appears the highest number of times in a list (range) of values.
Format: =MODE(A1:A10)
Takes one argument: the range.
It ignores text values and empty cells
CONCATENATE( ) function
LEN( ) Function
=LEN("Hello")
The concatenation operator (&)
Joins text together.
TODAY() Function
The function displays the current date in a cell:
=TODAY()
DAY()Function
Function takes a date argument and returns a number representing the day (1 to 31).
MONTH()
Function takes a date argument and returns a number representing the month (1 to 12).
YEAR()
Function takes a date argument and returns a number representing the year (1900 to 9999).
Example, if you place the date 1/1/2007 in cell A1, the following formula displays a result of 2007:
=YEAR(A1)
The NETWORKDAYS() Function
The NETWORKDAYS() function calculates the number of work days between two dates, excluding weekend days (Saturdays and Sundays).
As an option, you can specify a range of cells that contain the dates of holidays, which are also excluded.
Format:
=NETWORKDAYS(StartDate,EndDate,[HolidayRange])
Example:
=NETWORKDAYS(A15,16,B2:B11)
WORKDAY() function
The WORKDAY() function gives an offset work day.
Example: function to determine the date that is ten working days from January 4, 2008:
=WORKDAY(1/4/2008,10)
The WEEKDAY() function
The WEEKDAY() function accepts a date argument and returns an integer between 1 and 7 that corresponds to the day of the week.
Sunday -1,Monday-2…………Saturday-7
=WEEKDAY(11/1/2011)
Date and Time values can be involved in calculations like addition, subtraction, and so on. For example, consider this formula:
=A2-A1+1
If A2 contains the value 10/30/2007, and A1 contains the value 3/20/2007, the result is 224, which is the number of days between these two dates.
is the horizontal lookup function.
HLOOKUP( ) works by scanning the values in a single row from left to right. Once it finds the entry you're looking for, it can then retrieve other information from the same column.
Format:
=HLOOKUP(SearchValue, TableRange, rowNumber, [rangeLookup])
Example:
VLOOKUP()
Is the vertical lookup function.
VLOOKUP( ) works by scanning the values in a single column from top to bottom.
Once it finds the entry you're looking for, it can then retrieve other information from the same row.
Format:
VLOOKUP(search_for value, table_range, column_number)
Financial Concepts
FV( ): Future Value Function
The FV( ) function lets you calculate the future value of an investment, assuming a fixed interest rate.
It lets you factor in regular payments, which makes it perfect for calculating how money's accumulating in a retirement or savings account.
Format:
=FV(rate, nper, payment, [pv], [type])
Rate -the interest rate your investment's earning.
nper -the number of interest payments.
If your account receives interest once a year and you invest your money over a two-year period, then the nper will be 2.
If you're making regular contributions, this value also specifies the number of contributions you're making. FV( ) assumes that every contribution's made on the same day as the interest's generated.
3. payment -the amount of the contribution you want to make regularly.
Set this to 0 if you don't want to add anything.
4. pv -the present value, or the initial balance of your account.
If you omit this value, then Excel assumes you start with nothing. As a result, you'll need to include something other than 0 for the payment.
5. type - indicates the timing of the payment. If you specify 0 (or omit this value), then the payment's made at the end of the period.
If you specify 1, then the payment's made at the beginning, giving your interest just a little bit more time to compound.
N/B:- make sure both the payment and the initial balance (pv) are negative numbers (or zero values). In Excel's thinking, the initial balance and the regular contributions are money you're handing over, so these numbers, consequently, need to be negative. The final value is positive because that's the total you're getting back.
the formula that calculates the return on a $10,000 investment after one year earning 5 percent annual interest:
=FV(5%, 1, 0, -10000,0)
what happens if you switch to an account that pays monthly interest?
You now have 12 interest payment periods per year, and each one pays a twelfth of the total 5 percent interest
=FV(5%/12, 12, 0, -10000)
The new total earned is a slightly improved $10,511.62.
Loan Repayment
FV( ) works just as well on loan payments.
Example -you take out a $10,000 loan and decide to repay $200 monthly. Interest is set at 7 percent and calculated monthly.
FV() can tells you your outstanding balance that is, the amount that you still owe, after three years as follows:
=FV(7%/12, 3*12, -200, 10000)
PV( ): Present Value Function
The PV( ) function calculates the initial value of an investment or a loan (which is also called the present value).
Format:
=PV(rate, nper, payment, [fv], [type])
the real purpose of PV( ) is to answer hypothetical questions.
Consider this formula:
=PV(10%/12, 25*12, 0, 1000000)
The question Excel answers here is: In order to end up with $1,000,000, how much money do I need to invest initially, assuming a 10 percent annual interest rate (compounded monthly) and a maturation period of 25 years? The PV( ) function returns a modest result of $82,939.75.
You can supplement your principal with a regular investment. The following formula assumes a monthly payment of $200, paid at the beginning of each month. Note that you should type in a negative number, because it's money you're giving up:
=PV(10%/12, 25*12, -200, 1000000)
PMT( ) Function
The PMT( ) function calculates the amount of the regular payments you need to make, either to pay off a loan or to achieve a desired investment target.
You specify the present value and future value of the investment and the rate of interest over its lifetime, and the function returns the payment you'd need to make in each time period. Here's how the function breaks down:
Format:
=PMT(rate, nper, pv, [fv], [type])
If you don't specify a future value, then Excel assumes it's 0 (which is correct if you're performing the calculation to see how long it'll take to pay off a loan).
Once again, the type argument indicates whether you make payments at the beginning of the payment period (1) or at the end (0).
Example :- If you have a 7 percent interest rate (compounded monthly) and a starting balance of $10,000, how much do you need to pay monthly to top it up to $1,000,000 in 30 years? The PMT( ) function provides your answer:
=PMT(7%/12, 12*30, -10000, 1000000)
The result$753.16is a negative number because this is money that you're giving up each month.
A loan calculation is just as easy, although, in this case, the present value becomes positive, since it represents money you received when you took out the loan. To determine the payments needed to pay back a $10,000 loan (that comes with a 10 percent annual interest rate) over five years, you need this formula:
=PMT(10%/12, 12*5, 10000, 0)
Assuming you make payments at the end of each month, the monthly payment is $212.47. If you add a type argument of 1 to pay at the beginning of the month, then this amount decreases to $210.71.
NPER( ): Number of payment Periods Function
The NPER( ) function calculates the amount of time it will take you to pay off a loan or meet an investment target, provided you already know the initial balance, the interest rate, and the amount you're prepared to contribute for each payment.
Format :
=NPER(rate, pmt, pv, [fv], [type])
Example : If you're ready to contribute $150 a month into a savings account that pays 3.5 percent interest, you can use the following formula to determine how long it'll take to afford a new $4500 plasma television, assuming you start off with an initial balance of $500:
=NPER(3.5%/12, -150, -500, 4500)
The answer is 25.48 payment periods. Remember, a payment period in this example is one month, so you need to save for over two years.
A similar calculation can tell you how long it'll take to pay off a line of credit. Assuming the line of credit's $10,000 at 6 percent, and you pay $500 monthly, here's the formula you would use:
=NPER(6%/12, -500, 10000, 0)
In this case, the news isn't so good: It'll take 21 months before you're rid of your debt.
A chart is a visual (graphical) representation of numeric values.
1 Click a cell in the data list you want to summarize.
2 Click the Insert tab.
3 Click the type of chart you want to create.
4 Click the chart subtype you want to use.
Show or Hide a Chart Legend
1 Click the chart you want to format.
2 Click the Layout tab.
3 Click Legend.
4 Click a legend display option.
Add Titles
1 Click the chart you want to format.
2 Click the Layout tab.
3 Click Chart Title.
4 Click the title display option you want.
5 Click the title, and then type the new title for the chart.
Add and Remove Data Labels
1 Click the chart you want to format.
2 Click the Layout tab.
3 Click Data Labels.
4 Click a data label option.
Show or Hide Chart Gridlines
1 Click the chart you want to format.
2 Click the Layout tab.
3 Click Gridlines.
4 Click the set of gridlines you want to change.
5 Click a gridline display option.
Add a New Series
1 Click the chart you want to change.
2 Click the Design tab.
3 Click Select Data.
4 Click Add.
5 Type the name you want to assign to the series.
6 Click in the Series Values field.
7 Select the cells you want to add.
8 Click OK.
9 Click OK.