copy of session 1 with exercises

Upload: boyapati-sandeepkumar

Post on 05-Apr-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Copy of Session 1 With Exercises

    1/108

    Contents

    Text

    maths

    logical

    date&timelook up

    informational

    subsector

  • 7/31/2019 Copy of Session 1 With Exercises

    2/108

    MainPage

    COUNTIF

    What is the number of stocks with market cap greater than AUD 500Mn?

    Stock Industry MarketCap Stock Price

    AUD Mn AUDSXL Bank 500 2.00

    SFH Insurance 1280 9.00

    TAP Capital Goods 150 1.25

    TPM Mining 680 2.50

    TGR Capital Goods 225 1.50

    TEN Mining 30 0.70

    VBA Mining 1150 7.00

    VTA Insurance 20 0.50

    WDS Bank 750 2.60

    WTP Capital Goods 85 0.75

    AVO Energy 900 6.00

    BMN Automotive 50 0.30

    BPT Energy 15 0.15 > 200

    Result countif # 5 7 5

    SUMIF / SUMIFS

    1 What is the total market cap of all the stocks in the mining sector?

    2 What is the total market cap of all the financial services stocks?

    3 What is the total market cap of all the stocks in the mining sector whose stock price is gre

    Stock Industry MarketCap Stock Price

    AUD Mn AUD

    SXL Bank 500 2.00 1250

    SFH Insurance 1280 9.00

    TAP Capital Goods 150 1.25

    TPM Mining 680 2.50

    TGR Capital Goods 225 1.50

    TEN Mining 30 0.70

    VBA Mining 1150 7.00

    VTA Insurance 20 0.50

    WDS Bank 750 2.60

    WTP Capital Goods 85 0.75

    AVO Energy 900 6.00

    BMN Automotive 50 0.30

  • 7/31/2019 Copy of Session 1 With Exercises

    3/108

    BPT Energy 15 0.15

    RESULT

    1 sumif AUD Mn 1860

    2 sumif AUD Mn 1250

    3 sumifs AUD Mn 375 460

    SUBTOTAL

    What is the average market cap of stocks in the list?

    normal func subtotal func

    Max 1280 1280

    Sum 5835 5835

    Average 449 449

    Stock Industry MarketCap Stock Price

    AUD Mn AUD

    SXL Bank 500 2.00

    SFH Insurance 1280 9.00

    TAP Capital Goods 150 1.25

    TPM Mining 680 2.50

    TGR Capital Goods 225 1.50

    TEN Mining 30 0.70VBA Mining 1150 7.00

    VTA Insurance 20 0.50

    WDS Bank 750 2.60

    WTP Capital Goods 85 0.75

    AVO Energy 900 6.00

    BMN Automotive 50 0.30

    BPT Energy 15 0.15

    RESULT subtotal # 5835

    302.57

    SUMPRODUCT

    1

    FUNCTI

    1

  • 7/31/2019 Copy of Session 1 With Exercises

    4/108

    Calculate the portfolio performance

    Stock IndustryPortfolio

    Weightage

    Yearly

    Performance

    % %

    SXL Bank 5.0 15

    SFH Insurance 10.0 12TAP Capital Goods 15.0 10

    TPM Mining 5.0 8

    TGR Capital Goods 5.0 -5

    TEN Mining 12.0 -2

    VBA Mining 4.0 0

    VTA Insurance 3.0 50

    WDS Bank 10.0 1

    WTP Capital Goods 5.0 6

    AVO Energy 6.0 5

    BMN Automotive 10.0 11

    BPT Energy 10.0 -10

    RESULT sumproduct % 5.66

    Rank

    Rank the yearly performance of stocks

    Stock Industry

    Portfolio

    Weightage

    Yearly

    Performance

    Rank

    % % #

    SXL Bank 5.0 15.0 2 2 2

    SFH Insurance 10.0 12.0 3 3 3

    TAP Capital Goods 15.0 10.0 5 5 5

    TPM Mining 5.0 8.0 6 6 6

    TGR Capital Goods 5.0 -5.0 12 12 12

    TEN Mining 12.0 -2.0 11 11 11

    VBA Mining 4.0 0.0 10 10 10

    VTA Insurance 3.0 50.0 1 1 1

    WDS Bank 10.0 1.0 9 9 9

    WTP Capital Goods 5.0 6.0 7 7 7

    AVO Energy 6.0 5.0 8 8 8

    BMN Automotive 10.0 11.0 4 4 4

    BPT Energy 10.0 -10.0 13 13 13

  • 7/31/2019 Copy of Session 1 With Exercises

    5/108

    interest rate

    time

  • 7/31/2019 Copy of Session 1 With Exercises

    6/108

    ter than $1?

  • 7/31/2019 Copy of Session 1 With Exercises

    7/108

    1300

    2550

    1 Varp

    Min

    ProductStdDev

    StdDevp

    Sum

    Var

    N_NUM Function

    Average

    Count

    CountA

    Max

    0

  • 7/31/2019 Copy of Session 1 With Exercises

    8/108

    1

    9

    7

    8

    4

    13

    10

    10

    10

    10

    10

    10

    10

  • 7/31/2019 Copy of Session 1 With Exercises

    9/108

  • 7/31/2019 Copy of Session 1 With Exercises

    10/108

    Mainpage

    Simple If

    Name Sales Target Result

    Alan 1000 5000 Not AchievedBob 6000 5000 Achieved

    Carol 2000 4000 Not Achieved

    Units 2010 2011

    Assumed yearly Mining quantity mt 3

    Coal Reserve (End of Year) mt 10 7

    Coal mined mt 3

    Step 1 Check the resource availablility

    Step 2 Check If the previous end of ye

    Nested If

    Units 2010 2011

    Year of starting operations Yr 2011

    Assumed yearly Mining mt 2

    Coal Reserve (End of Year) mt 6 4

    Coal mined mt 2

    Step 1 Check if the year is '2012'

    Step 2 Check the resource availablility

    Step 3 Check If the previous end of ye

    OR / AND

    1 Select projects that have IRR of more than

    2 Select Projects that have IRR of more than

  • 7/31/2019 Copy of Session 1 With Exercises

    11/108

    3 Select Projects with payback period of less

    Project CodeInvmnt. Year 1 Cashflow

    Year 2

    Cashflow

    Rs. Crores

    P001 -10 1 2

    P002 -25 2 2P003 -100 10 20

    P004 -500 200 200

    P005 -46 10 10

    P006 -175 120 150

    P007 -110 -10 10

    P008 -750 100 150

    P009 -60 5 7

    P010 -480 80 90

    * payback period indicative only for calcula

  • 7/31/2019 Copy of Session 1 With Exercises

    12/108

    Not Achieved

    2012 2013 2014 2015

    3 3 3 3

    4 1 0 0

    3 3 1 0

    in the previous year

    r resource is greater than the previous mining capacity

    2012 2013 2014 2015

    2 2 2 2

    2 0 0 0

    2 2 0 0=IF(F14E16,F13,E15))

    in the previous year

    r resource is greater than the previous mining capacity

    12% OR +ve NPV

    12% AND +ve NPV

  • 7/31/2019 Copy of Session 1 With Exercises

    13/108

    han 10 yrs and that satisfies the criteria 1

    Year 3

    Cashflow

    Year 4

    Cashflow

    Year 5

    Cashflow

    period* NPV IRR 1

    # Yrs Rs. Crores % OR

    3 4 4 4.0 0.03 10% Accept

    2 2 2 15.0 -15.83 -24% Discard50 100 10 3.5 34.27 21% Accept

    250 200 250 0.5 297.06 32% Accept

    11 11 13 5.0 -4.36 6% Discard

    200 250 100 1.5 401.06 81% Accept

    30 50 10 16.0 -43.57 -5% Discard

    300 300 300 4.5 74.05 13% Accept

    25 25 23 12.0 0.43 10% Accept

    100 120 130 6.0 -86.44 3% Discard

    ion purpose

  • 7/31/2019 Copy of Session 1 With Exercises

    14/108

  • 7/31/2019 Copy of Session 1 With Exercises

    15/108

    2 3

    AND

    Discard

    DiscardAccept

    Accept

    Discard

    Accept

    Discard

    Accept

    Discard

    Discard

  • 7/31/2019 Copy of Session 1 With Exercises

    16/108

    MainPage

    today's retuirn of my p

    CONCATENATE

    today's retuirn of my p

    Data

    brook trout yest 1500species today 1900 27.00

    32

    Result Stream population for Data brook trout is species/mile

    LEN

    Find the length of the string

    Sectors Length

    Food Beverage & Tobacco - 1510 30

    Real Estate - 2010 18

    Energy - 1010 13

    Materials - 4562 16

    Banks - 2496 12

    Insurance - 1560 16

    Capital Goods - 1789 20

    Software & Services - 1963 26

    Technology Hardware - 1690 26

    LEFT

    Balance sheet Date Day

    20090630 2009

    Extract the year of Balance sheet date

  • 7/31/2019 Copy of Session 1 With Exercises

    17/108

    20090630 2009

    20091231 2009

    20090630 2009

    20090630 2009

    LEN & LEFT

    Sectors Length

    Food Beverage & Tobacco - 1510

    Real Estate - 2010

    Energy - 1010

    Materials - 4562

    Banks - 2496

    Insurance - 1560

    Capital Goods - 1789

    Software & Services - 1963

    Technology Hardware - 1690

    Remove redundant text from the list

  • 7/31/2019 Copy of Session 1 With Exercises

    18/108

    RIGHT

    Balance sheet Date Day

    20090630 30

    20090630 30

    20091231 31

    20090630 30

    20090630 30

    20090630 30

    20091231 31

    20090630 30

    20090331 31

    MID

    Balance sheet Date Month

    20090630 06

    20090630 06

    20091231 12

    20090630 06

    20090630 06

    20090630 06

    20091231 12

    20090630 06

    20090331 03

    Extract the exact day from the Balance sheet date

    Extract the 'Month' data from the Balance sheet date

  • 7/31/2019 Copy of Session 1 With Exercises

    19/108

    VALUE

    Balance sheet Date Month Month

    20090630 06 6

    20090630 06 6

    20091231 12 12

    20090630 06 6

    20090630 06 6

    20090630 06 6

    20091231 12 12

    20090630 06 6

    20090331 03 3

    0 9

    Convert 'Month' text data to a Numeric value

  • 7/31/2019 Copy of Session 1 With Exercises

    20/108

    ortfolio is - 27

    ortfolio is

  • 7/31/2019 Copy of Session 1 With Exercises

    21/108

    Date, Year, Month, Day and Weekday functions

    Date string Date function20090630 30-Jun-09

    Year #NUM! 2009Month #NUM! 6Day #NUM! 30

    Weekend #NUM! 3

    NETWORKDAYS

    Date Holiday

    1/1/03 New Year's Day

    1/20/03 Martin Luther King Jr. Day

    2/17/03 Presidents' Day

    5/26/03 Memorial Day

    7/4/03 Independence Day

    9/1/03 Labor Day

    11/11/03 Veterans Day

    10/13/03 Columbus Day

    11/27/03 Thanksgiving Day

    12/25/03 Christmas Day

    First Day Last Day Working Days

    Wednesday 1/1/2003 Tuesday 1/7/2003 4

    Wednesday 1/1/2003 Wednesday 12/31/2003

  • 7/31/2019 Copy of Session 1 With Exercises

    22/108

    VLOOK UP

    Income is Greater

    Than or E ual To

    But Less Than

    or E ual To

    Tax Rate

    $0 $2,650 15.00%$2,651 $27,300 28.00%$27,301 $58,500 31.00%$58,501 $131,800 36.00%$131,801 $284,700 39.60%$284,701 45.25%

    VLOOK UP (with False)

    col 1 col 2 col 3 col 4

    Jan 10 20 30Feb 80 90 100

    Mar 97 69 45

    Type a month to look for :

    Which column needs to be picked out :

    The result is :

    HLOOK UP

    Income is Greater

    Than or Equal To$0 $2,651 $27,301

    But Less Than $2,650 $27,300 $58,500

    Tax Rate 15.00% 28.00% 31.00%

    Note: This is set up to work with whole numbers only (no decimals).

    HLOOK UP (using False)

    Jan Feb

    10 80

    20 90

  • 7/31/2019 Copy of Session 1 With Exercises

    23/108

    30 100

    40 110

    50 120

    Type a month to look for :

    Which row needs to be picked out :

    The result is :

    INDEX

    Item Price

    Sweater 10

    Jacket 30

    Pants 25

    Jacket 25

    MATCH

    Item PriceSweater 10

    Jacket 30

    Pants 25

    Jacket 2

    MATCH INDEX

  • 7/31/2019 Copy of Session 1 With Exercises

    24/108

    Date Weekday Amount

    1/1/2003 Wednesday 23

    1/2/2003 Thursday 1791/3/2003 Friday 1491/4/2003 Saturday 1961/5/2003 Sunday 131

    1/6/2003 Monday 1791/7/2003 Tuesday 1341/8/2003 Wednesday 1791/9/2003 Thursday 1931/10/2003 Friday 1911/11/2003 Saturday 1761/12/2003 Sunday 1891/13/2003 Monday 1631/14/2003 Tuesday 1211/15/2003 Wednesday 1001/16/2003 Thursday 1091/17/2003 Friday 151

    1/18/2003 Saturday 1381/19/2003 Sunday 1141/20/2003 Monday 156

    Comparison of Functions

    Range1 Range2

    Bill 50Ellen 25Frank 200James 300Jill 400John 100Ted 150

  • 7/31/2019 Copy of Session 1 With Exercises

    25/108

    Enter Income: $21,566The Tax Rate is: 28.00%

    col 5 col 6

    40 50110 120

    51 77

    Feb

    4

    100

    $58,501 $131,801 $284,701

    $131,800 $284,700

    36.00% 39.60% 45.25%

    Enter Income: $21,566

    The Tax Rate is: 28.00%

    Mar row 1 The row numbers are not needed.

    97 row 2 they are part of the i llustrat ion.

    69 row 3

  • 7/31/2019 Copy of Session 1 With Exercises

    26/108

    45 row 4

    51 row 5

    77 row 6

    Feb

    4

    100

  • 7/31/2019 Copy of Session 1 With Exercises

    27/108

    Date: 1/19/2003

    Amount: 114

    Value: James

    MATCH & INDEXVLOOKUP:

  • 7/31/2019 Copy of Session 1 With Exercises

    28/108

  • 7/31/2019 Copy of Session 1 With Exercises

    29/108

  • 7/31/2019 Copy of Session 1 With Exercises

    30/108

  • 7/31/2019 Copy of Session 1 With Exercises

    31/108

  • 7/31/2019 Copy of Session 1 With Exercises

    32/108

  • 7/31/2019 Copy of Session 1 With Exercises

    33/108

  • 7/31/2019 Copy of Session 1 With Exercises

    34/108

  • 7/31/2019 Copy of Session 1 With Exercises

    35/108

  • 7/31/2019 Copy of Session 1 With Exercises

    36/108

  • 7/31/2019 Copy of Session 1 With Exercises

    37/108

  • 7/31/2019 Copy of Session 1 With Exercises

    38/108

  • 7/31/2019 Copy of Session 1 With Exercises

    39/108

  • 7/31/2019 Copy of Session 1 With Exercises

    40/108

  • 7/31/2019 Copy of Session 1 With Exercises

    41/108

  • 7/31/2019 Copy of Session 1 With Exercises

    42/108

  • 7/31/2019 Copy of Session 1 With Exercises

    43/108

  • 7/31/2019 Copy of Session 1 With Exercises

    44/108

  • 7/31/2019 Copy of Session 1 With Exercises

    45/108

  • 7/31/2019 Copy of Session 1 With Exercises

    46/108

  • 7/31/2019 Copy of Session 1 With Exercises

    47/108

  • 7/31/2019 Copy of Session 1 With Exercises

    48/108

  • 7/31/2019 Copy of Session 1 With Exercises

    49/108

  • 7/31/2019 Copy of Session 1 With Exercises

    50/108

  • 7/31/2019 Copy of Session 1 With Exercises

    51/108

  • 7/31/2019 Copy of Session 1 With Exercises

    52/108

  • 7/31/2019 Copy of Session 1 With Exercises

    53/108

  • 7/31/2019 Copy of Session 1 With Exercises

    54/108

  • 7/31/2019 Copy of Session 1 With Exercises

    55/108

  • 7/31/2019 Copy of Session 1 With Exercises

    56/108

  • 7/31/2019 Copy of Session 1 With Exercises

    57/108

  • 7/31/2019 Copy of Session 1 With Exercises

    58/108

  • 7/31/2019 Copy of Session 1 With Exercises

    59/108

  • 7/31/2019 Copy of Session 1 With Exercises

    60/108

  • 7/31/2019 Copy of Session 1 With Exercises

    61/108

  • 7/31/2019 Copy of Session 1 With Exercises

    62/108

  • 7/31/2019 Copy of Session 1 With Exercises

    63/108

  • 7/31/2019 Copy of Session 1 With Exercises

    64/108

  • 7/31/2019 Copy of Session 1 With Exercises

    65/108

  • 7/31/2019 Copy of Session 1 With Exercises

    66/108

  • 7/31/2019 Copy of Session 1 With Exercises

    67/108

  • 7/31/2019 Copy of Session 1 With Exercises

    68/108

  • 7/31/2019 Copy of Session 1 With Exercises

    69/108

  • 7/31/2019 Copy of Session 1 With Exercises

    70/108

  • 7/31/2019 Copy of Session 1 With Exercises

    71/108

  • 7/31/2019 Copy of Session 1 With Exercises

    72/108

  • 7/31/2019 Copy of Session 1 With Exercises

    73/108

  • 7/31/2019 Copy of Session 1 With Exercises

    74/108

  • 7/31/2019 Copy of Session 1 With Exercises

    75/108

  • 7/31/2019 Copy of Session 1 With Exercises

    76/108

  • 7/31/2019 Copy of Session 1 With Exercises

    77/108

  • 7/31/2019 Copy of Session 1 With Exercises

    78/108

  • 7/31/2019 Copy of Session 1 With Exercises

    79/108

  • 7/31/2019 Copy of Session 1 With Exercises

    80/108

  • 7/31/2019 Copy of Session 1 With Exercises

    81/108

  • 7/31/2019 Copy of Session 1 With Exercises

    82/108

  • 7/31/2019 Copy of Session 1 With Exercises

    83/108

  • 7/31/2019 Copy of Session 1 With Exercises

    84/108

  • 7/31/2019 Copy of Session 1 With Exercises

    85/108

  • 7/31/2019 Copy of Session 1 With Exercises

    86/108

  • 7/31/2019 Copy of Session 1 With Exercises

    87/108

  • 7/31/2019 Copy of Session 1 With Exercises

    88/108

  • 7/31/2019 Copy of Session 1 With Exercises

    89/108

  • 7/31/2019 Copy of Session 1 With Exercises

    90/108

  • 7/31/2019 Copy of Session 1 With Exercises

    91/108

  • 7/31/2019 Copy of Session 1 With Exercises

    92/108

  • 7/31/2019 Copy of Session 1 With Exercises

    93/108

  • 7/31/2019 Copy of Session 1 With Exercises

    94/108

  • 7/31/2019 Copy of Session 1 With Exercises

    95/108

  • 7/31/2019 Copy of Session 1 With Exercises

    96/108

  • 7/31/2019 Copy of Session 1 With Exercises

    97/108

  • 7/31/2019 Copy of Session 1 With Exercises

    98/108

  • 7/31/2019 Copy of Session 1 With Exercises

    99/108

  • 7/31/2019 Copy of Session 1 With Exercises

    100/108

  • 7/31/2019 Copy of Session 1 With Exercises

    101/108

  • 7/31/2019 Copy of Session 1 With Exercises

    102/108

  • 7/31/2019 Copy of Session 1 With Exercises

    103/108

  • 7/31/2019 Copy of Session 1 With Exercises

    104/108

  • 7/31/2019 Copy of Session 1 With Exercises

    105/108

  • 7/31/2019 Copy of Session 1 With Exercises

    106/108

  • 7/31/2019 Copy of Session 1 With Exercises

    107/108

  • 7/31/2019 Copy of Session 1 With Exercises

    108/108

    IS Functions

    Formula Description (Result)

    TRUE Checks whether 4 is a number (TRUE)

    TRUE Checks whether cell is blank or not (TRUE)FALSE Checks if errors like #null, #div, etc except #n/a

    TRUE Checks if errors like #null, #div, etc including #n/a

    TRUE Checks if a value in a cell is even

    TRUE Checks whether TRUE is a logical value (TRUE)

    FALSE Checks whether "TRUE" is a logical value (FALSE)

    FALSE Checks whether value is #n/a

    Cell

    Data

    5-Mar

    TOTAL

    Formula Description (Result)

    30 The row number of cell E14 (14)

    D2 The format code of the first string (D2, see above)

    TOTAL