Spreadsheet Models for Managers


Getting Access to Spreadsheet Models for Managers


ISpreadsheet Models for Managersf you use Excel to model businesses, business processes, or business transactions, this course will change your life. You'll learn how to create tools for yourself that will amaze even you. Unrestricted use of this material is available in two ways.

As a stand-alone Web site
It resides on your computer, and you can use it anywhere. No need for Internet access.
At this Web site
If you have access to the Internet whenever you want to view this material, you can purchase on-line access. Unlimited usage. I'm constantly making improvements and you'll get them as soon as they're available.

To Order On Line

Order "Spreadsheet Models for Managers, on-line edition, one month" by credit card, for USD 69.95 each, using our secure server, and receive download instructions by return email.
Or order via Google Checkout.
Order "Spreadsheet Models for Managers, on-line edition, three months" by credit card, for USD 199.00 each, using our secure server, and receive download instructions by return email.
Or order via Google Checkout.
Order "Spreadsheet Models for Managers, downloadable hyperbook edition" by credit card, for USD 199.00 each, using our secure server, and receive download instructions by return email.
Or order via Google Checkout.

To Order by Mail

Make your check payable to Chaco Canyon Consulting, for the amount indicated:
  • For the download: USD 199.00
  • For access online for three months: USD 199.00
  • For access online for one month: USD 69.95
And send it to:
Chaco Canyon Consulting
700 Huron Avenue, Suite 11J
Cambridge, MA 02138

To use the course software you'll need some other applications, which you very probably already have. By placing your order, you're confirming that you have the software you need, as described on this site.

Subscribe now!

Spreadsheet Models for Managers


Problem Set 14
Using Macros II


Be sure to check the list of worksheet functions that are needed for the homework assignments, to see which new functions (if any) might help with this one.

For a quick way to copy homework problem data into your homework solution, see "Avoid retyping homework problem data."

Remember that some problems are slight extensions of what we show you in demonstrations and the session notes, and some problems are somewhat ambiguous. This is intended to parallel what you'll frequently encounter at work. If you feel a bit confused, there are some things you can do to help clarify things.

Before attempting this homework, you might find it helpful to read about:

Numbers at the left in square brackets indicate point values.

14.1 [40] Blue square

In Problem 13.1, you wrote a macro Round100. Write another macro called TurboRound100, which meets the same requirements as Round100, except that it also accepts arrays of any size, and returns an array of the same size, with each entry rounded as if by Round100. Your returned result should contain the same numbers that would be obtained by applying Round100 to each cell in the array range. Use your macro to produce the second column of the table below (the same data as in Problem 13.1) when it receives the first column as an argument.

Retrieve homework data
x TurboRound100(x)
457.2500
-271-300
00
100100
14.2 [60] Blue square

El CapitanIn this problem you'll repeat the computations of Problem 2.3 (El Capitan Insurance), but this time you'll use macros. Copy these two tables into your worksheet, either from the Homework Data document or from your solution to Problem Set 2, or from our solution to Problem Set 2, and give them the names EffortAnalysis and WholesalerProductAnalysis. Throughout this problem, all of your macros should be capable of handling arrays of any size. That is, write your macros in such a way that they do not need to be modified if the number of wholesalers is increased or decreased, or if the number of products is changed.

Table 14.2.1
Expected effort required of veterans and rookies to brief a wholesaler on each of the five new products.
Retrieve homework data Vets Rookies
Product A 1.001.23
Product B 0.500.73
Product C 0.761.23
Product D 0.500.75
Product E 0.731.00

Table 14.2.2
Expected Unit Sales of new products by the 10 wholesalers of El Capitan Insurance.
Retrieve homework data
Wholesaler 1 2 3 4 5 6 7 8 9 10
Product A 39750391468062268863528809271
Product B 1419231706031845217796744951
Product C 75457127316269851372757128679
Product D 51597835456137935519677310407
Product E 1497790640769395115522535591
(a) [30] Gray square

Write a macro called Threshold that takes two arguments. The first argument should be the data. The second argument is the threshold. Your macro should return 1 if its first argument is equal to or greater than the threshold (the second argument) and 0 if the argument is not. Your macro should work equally well on data (first argument) consisting of single-cell numeric arguments and on arrays of numeric arguments. When your macro receives an array for the first argument, it should return an array of 1s and 0s, where each 1 or 0 signifies whether or not the corresponding array element in its first argument is less than the threshold (1 if greater than threshold, 0 if less than threshold).

Use your macro Threshold to produce the Screen550 array of Problem 2.3(b). That is, compute the array of 1s and 0s that corresponds to

Threshold(WholesalerProductAnalysis,550)

(b) [20] Gray square

Write a macro called TotalEffort that carries out the complete computation of the effort expended by the Vets and Rookies without requiring the intermediate computation of the Screen550 array as was done in part (a). Your macro should accept the following arguments:

Effort Analysis An array containing the data of Table 14.2.1.
Wholesaler Product Analysis An array containing the data of Table 14.2.2.
Minimum Units The threshold of unit sales a wholesaler must meet to be briefed by a rep.

Your macro should return an array with two rows. The top row is the total effort expended by Veterans for each of the wholesalers, and the bottom row is the total effort expended by Rookies for each of the wholesalers. This is equivalent to the computation you performed in Problem 2.3(b). What you're doing is creating a macro that replicates the work you did in Problem 2.3(b), and suppresses the display of the Screen550 array. If your department had a lot of work like this, this macro would be very handy.

(c) [10] Gray square

Recall that in Problem 2.3 (c), Marketing decided to drop Product E. You would like to build a version of TotalEffort that accepts an additional argument that determines whether or not to include the last product. Call your macro TotalEffortE. In addition to the arguments of TotalEffort, TotalEffortE must accept a fourth Boolean argument, which is TRUE if Product E is to be included and false if not. Remember: you're to write your macro in such a manner that it will work for any number of products. If the fourth argument is TRUE, your macro includes the last product. If false your macro excludes the last product.

For more about my spreadsheet consulting and training services, visit SpreadsheetAce.com.

Last Modified: Wednesday, 22-Oct-2008 05:31:20 EDT

Feeling queasy about spreadsheets?
We run our companies, in part, based on spreadsheets, yet we often wonder if they're really right. Learn more about improving the reliability and effectiveness of your financial models.
More
Sign Up for the On Line Version of This Course
With dozens of solved problems and special course tools, this course can dramatically increase your spreadsheet skills. For just USD 199.00 you receive three months of access with unlimited email support. Learn more about improving your spreadsheet sophistication and effectiveness.
More
Get the Hyperbook Edition of This Course
Identical to the edition you're viewing, but with dozens of solved problems and special course tools, and it stands alone — no Internet connection required. For just USD 199.00, it includes three months of unlimited email support. Learn more about improving your spreadsheet sophistication and effectiveness.
More