Code for a function that behaves in same manner as excel sum

Assignment Help Finance Basics
Reference no: EM13846059

1. A bank offers different interest rates on deposit accounts. The rate is based on the size of the periodical deposit (CF) and the following table. Write a future value function BANKFV (CF, r, n)

For Periodical Deposits

The interest rate is

<=100

r

<=500

r+0.5%

<=1000

r+1.1%

<=5000

r+1.7%

>5000

r+2.1%

2. Write a payment schedule calculator macro. The macro is to ask the user for the sum of the loan, the number of payments, and the interest rate. Assume payment at the end of the period.

Hints:

You may want to use the worksheet function PMT

The following macro and its output might be interest

 

Sub StringConcat()

     Dim S As String

     S = "Col1" & Chr(9) & "Col2" ' Chr (9) is the Tab

     S = S & Chr(13) & "aaa" & Chr(9) & "bbb"

     MsgBox S

End Sub

3.  Develop code for a function that behaves in the same manner as Excel's SUM function. The function should sum all numerical values in an array.

4. Develop code for a function that behaves in the same manner as Excel's NPV function that requires two inputs, the first an array of cash flows and the second the discount rate.

E.g Function NetPV( cvec,rate)

5.The spreadsheet shows cash flow over five years for an investment proposal. After an outflow at the start, the cumulated cash flows turn positive during the third year , the time at which this happens being known as the project's payback period (here 2.4 years).

The intermediate calculations determining the payback period are set out in the worksheet. They centre on cumulating cash flows at yearly intervals and testing to determine the time at which the cumulative sum first turns positive. Develop a Payback Function, say PayBack (cvec) that returns the payback period for any array of cash flows.

Reference no: EM13846059

Questions Cloud

Write short notes on eurocurrency market : Eurocurrency market
What is the fundamental attribution error : Navigate through the Everyday Psychology Interactive (https://snhu-media.snhu.edu/files/imedia/psy530/m2/psy530_m2_everyday_psychology_interactive_output/story.html). What is the fundamental attribution error
Evaluate the suitability of organisations current strategy : Evaluate the suitability of the organisation's current strategy based on the outcomes of your analysis. Identify and discuss the strategy that the organisation is implementing/has implemented by examining its strategy statement.
Calculate the expected net present value : Calculate the expected net present value (ENPV) of the new product
Code for a function that behaves in same manner as excel sum : Develop code for a function that behaves in the same manner as Excel's SUM function. The function should sum all numerical values in an array.
Calculate the deseasonalized sales and the seasonal index : The Fast Track Ski Shoppe sells ski goggles during the four months of the ski season. Average demand follows: a. Calculate the deseasonalized sales and the seasonal index for each of the four months.
Find the industry ratios for the company : Watch the Industry Averages and Financial Ratios video and use the industry classification from the financial services website to locate the company's SIC code on the U.S. Department of Labor's website. Find the industry ratios for the company usin..
Question regarding the required adjusting entries : The appraised value of the land on which the warehouse is located was unchanged. The warehouse (building) was valued on December 31,2014, at $82,600. The useful life and the salvage value of the warehouse (building) were unchanged. The following i..
Can validation and verification methods be found : Can validation and verification methods be found that tie in with the requirements definition process? They should not require that a complete specification (or even a design) has to be provided before any conflicts can be discovered.

Reviews

Write a Review

Finance Basics Questions & Answers

  A european call option to buy a share

The market price of ZYX stock has been volatile and you expect that volatility to continue for a few weeks based on recent news.  Due to this belief you decide to purchase calls and puts to manage your exposure.  You purchase a one-month call option ..

  The demand for milk is more elastic than demand for water

The demand for milk is more elastic than the demand for water. Assume the government levies an equivalent tax on milk also water.

  How to do forecasting eps if sales drop

How to do Forecasting EPS if sales drop where Fixed operating costs are $2.5 million and the variable cost ratio is 65%

  Balance the alignment of organizational goals

How can you balance the alignment of organizational goals with compliance of legal requirements when implementing a financial plan?

  Calculate the contribution margin for each copy

Fixed expenses for each new edition of the book, Calculate the contribution margin for each copy of the book?

  What is the level of incremental sales

Suppose that 60% of FFL's current overnight photo customers, half would start taking their film to a competitor that offers one hour photo pocessing if FFL fails to offer the one hour service. What is the level of incremental sales?

  Find the npv

Machine used has a 3 year tax life, depreciated by the straight line method over the 3 year life and would have zero salvage value, no new capital required.

  Minimize the total shipping cost

The company wants to know the number of tons of carpet to ship from each plant to each outlet in order minimize the total shipping cost. Solve this transportation problem.

  What is the break-even level of earnings before interest

The debt and equity option would consist of 25,000 shares of stock plus 280,000 of debt with an interest rate of 7%. What is the break-even level of earnings before interest and taxes between these two options?

  Investment grade and speculative grade

Explain the difference between "investment grade" and "speculative grade" corporate debt. What information do rating agencies use to determine their ratings and distinguish between the two types of debt?

  What is the price of the convertible bond

The bonds of Generic Labs, Inc., have a conversion premium of $75. Their conversion price is $20. The common stock price is $18.40.

  Can goals like avoiding unethical or illegal behavior

Can goals like avoiding unethical or illegal behavior be in conflict with the goal of the firm? How does this complicate the agency problem?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd