Você está na página 1de 5

MSF 503

Problem Set #2

Durango-Cohen

For problem set #2, download the file MSF_Problem_Set_2_F12.xlsm from Blackboard. The file is located under the Assignments folder. Problem 1: You have just been hired as the new manager for a start-up business. As you first task,

youve been asked to examine a projected income statement (shown in the Problem 1 worksheet) for the companys operations and calculate the units sold break-even point. Define Names for each entry in the income statement, as done in class. a) Complete the income statement shown in the Problem 1 worksheet. Assume that the company produces 1.5% more units than its projected number of Units Sold. b) Based on your income statement, calculate the number of units the company would have to sell at its current sale price to break even. c) Change the Units Sold back to 102,391. Based on your income statement, calculate the per unit sale price that would have to be charged for the company to break even.

d)

Use a one-variable data table to calculate the total revenue and net income if the company sets the sale price of $300 up to $500 in increments of $50. Make sure to label the headers of your table as Total Revenue and Net Income. Format the table.

e) Use a two-variable data table to calculate the Net Income for the units sold from 50,000 to 200,000 units in increments of 25,000 and sales price of $300 up to $500 in increments of $50. Format the table. f) Create scenarios based on the possibilities displayed below: Report the income, revenue, and total expenses for each scenario in a scenario summary report. Make sure that all variables are clearly labeled. Changing Values Scenario 1 Scenario 2 Units Sold 75,000 150,000 Price per Unit $415.00 $375.00 Salaries and Benefits $3,200,000 $3,900,000 Advertising $700,000 $1,000,000 Administrative $450,000 $800,000 Miscellaneous $450,000 $700,000

Problem 2: In class we created a two-variable data table in the What-If Tutorial, shown below.

i.

Using the Data Tables, re-create the table above, and create the plot shown below.

Hint: To create the table, go to the Insert Menu, then under the Charts group select Scatter Plot with Straight Lines. Once the plot is generated, youll need to right click on the chart and choose the Select Data option (see figure below) to modify the data.

Move the Chart (right click on chart, click on Move Chart, and choose option to place it on a new sheet). Label sheet Problem 2.

Problem 3: Re-create the plot shown in the notes, using the data from the one-variable data table developed in class.

Add title, axes labels and number formats, and legends.

Move the chart so that it appears as a separate sheet. Name the sheet Problem_3 Please see the practice exercise at the end of the assignment. You do not need to turn them in. It might be helpful to them first before attempting the problems. Problem 4: The purpose of this macro is to make sure you understand how to use both message box and input boxes to output information to the screen and to get information from the user, respectively, as well as to write text/information to a spreadsheet. Create a macro that will: 1. Select worksheet Problem_3 2. Write as cell A1s value: Output of Macro for Problem 3. 3. Use an input box to ask the user for their name. Assign the name to a variable. User_name = Inputbox(Please enter your Name:) 4. Use an input box to ask the user for their age. Assign the name to a variable. 5. Write The users name is: on cell B2. 6. Write the users name to cell C2. 7. Write Age: to cell B3. 8. Write the users age to cell C3. 9. Use a message box to write: This concludes Problem 3s macro! to the screen.

Problem 5: The purpose of this macro is for you to practice creating For Next Loops. Create a macro that will: 1. Ask the user for an integer between 1 and 10. Store the input as my_integer.

2. Ask the user for a second number between 1 and 100. Sore the input as my_number.

3. Create a For Next Loop that will write from 1 to my_integer, across rows, starting in cell B2.

4. Write Number is = followed by my_number to cell A6, and write Product to cell A5. 5. Create a For Next Loop that will write the product of my_integer and my_number, starting in cell B6.

The exercises below are not to be turned in. They are practice exercises.
1. Using Excels macro-recorder, record the VB code for formatting a cell to Times New Roman font, bold type, and the color red. 2. In a new Excel spreadsheet, type 10 in row 1 column A cell location and 10 in row 2 column A cell location. Using Excels macro-recorder, record the VB code for adding the cells together in row 3 column A cell location. 3. Write a macro to put in 10 in cell A1, and 10 in cell A2. Add the formula =A1*A2 to cell A3. 4. Using Excels macro-recorder, record the VB code for the following actions. 1. Write the number 20 in cell B2, the number 25 in cell B3. 2. Select both B2 and B3, and drag it down to auto-fill to 50.

3. Click on Cell B2. Now press the END key, followed by the Down Arrow key. 4. Stop recording. What line of VBA code makes you go down to the last filled-in cell in a column? 5. Type the following subroutine into the VBE. Sub Practice_Exercise_3() i=3 Cells(1, 4).Value = "The value of i is :" Cells(1, 5).Value = i Cells(1, 6).Value = "Product of i and j" For j = 2 To 5 Cells(j, 4).Value = "The value of j is :" Cells(j, 5).Value = j Cells(j, 6).Formula = "=$E$1 * " & "E" & j Next j Columns.AutoFit End Sub Step-in (using F8) to see what each step does.

Você também pode gostar