Ba hw1 BasicModeling f24
Ba hw1 BasicModeling f24
Use good spreadsheet model design principles such as separation of model inputs
and outputs, appropriate cell formatting depending on the type of value in the cell,
range names, comments or text boxes, and others as described in the PMS-Ch2-
SpreadsheetModeling.pdf file available from the Readings section of this module in
Moodle, and screencasts for the Break Even model in Module 2 and in my Module 2
PPT slides. Feel free to develop your own model building style. There are many ways to
create well designed, readable, clear spreadsheet models. Be creative. Use text boxes or
cell comments to provide any answers or explanation required by the assignment.
IMPORTANT: Read the entire assignment before starting. You’ll see that I’ve included
some helpful screenshots.
Deliverables
When you are done, you will end up with TWO different Excel files and a pdf. You will
submit all of them via Moodle.
−1.8
D=10,000,000 S
where D is the monthly demand for the product and S is the selling price. The
form of this function is called a power function. We’ll learn more about this
function soon. So, if we increase our selling price, we believe demand will
decrease. Similarly, a decrease in selling price suggests an increase in demand.
Let’s call this equation the Selling Price Function (or SPF, for short).
Assume for now that this business can meet the demand for its product each
month. Your goal is to build a spreadsheet model that will allow you to do things
1
Business Analytics – HW1 Fall 2024
like find the break even selling price (i.e. the value of selling price that gives a
profit of zero) and do some sensitivity analysis to some of the key inputs.
1a – Inf Diagram) Develop an influence diagram for this problem to use as the
blueprint for a spreadsheet model you’ll build to help you find the breakeven
selling price. You can draw it by hand or use any electronic drawing/diagramming
tool you’d like. Figure out a way to get your influence diagram into a pdf file
and name it: BreakEven-InfDiagram-<your last name>.pdf. So, my file would
be called BreakEven-InfDiagram-isken.pdf.
1d – 1-way Data Table) Once your base model is done, create a one-way Data
Table to show how profit and demand are related to selling price. Profit and
demand are the outputs and selling price is the input. Let price range from $80 to
$180 in steps of $10. In addition, create a graph based on your Data Table so
that it is easy to visualize the relationship between selling price and profit. Make
sure your graph has all axes labeled, has titles, has axes properly formatted, and
looks good. Apply Conditional Formatting to your Data Table so that it is easy to
distinguish between positive and negative profit values. Include a text box that
discusses the shape of this relationship. Is it linear? Is it nonlinear? Why do you
think the graph has the shape it does?
1e – Break Even) Use Goal Seek to find the break even selling price. So that I
can tell you did the Goal Seek correctly, take a screen capture of the Goal Seek
dialog box when it is filled in and paste the screen capture into your worksheet.
You will know that you’ve got this right by confirming your result with the Data
Table output. Put the resulting break even selling price into a cell so that I can
2
Business Analytics – HW1 Fall 2024
see you found the right price. Then you can set the original selling price back to
$140.
1f – 2-way Data Table) You are also interested in the sensitivity of profit to
different combinations of selling price and the variable production cost. So,
create a 2-way Data Table for these two input variables. Let price range from $80
to $180 in steps of $10 and let the variable production cost vary from $85 to $110
in steps of $5. Again, use Conditional Formatting on the resulting table to allow
the user to quickly see where profits are positive and negative.
Since this is our first assignment, I’m going to paste in a high level screenshot of
my “answer” to the first analysis. However, do NOT feel that your modeling style
has to match mine. Of course, you must have some sort of logical style and
layout to your model.
Base model
OK, now we are going to extend this model a bit. Make sure your base model file
is saved. Then do a Save As… and save a copy as a “macro enabled workbook”,
naming it BreakEven-ExtendedModel-<your last name>.xlsm (YES, you need
to change the file type to a Macro-enabled Workbook). You’ll use this new
copy in the next problem.
3
Business Analytics – HW1 Fall 2024
2a – Capacity Issues) Modify your model to take the following complication into
account. If SPFPredictedDemand (from the SPF) is greater than 1000 but less
than or equal to 1200 we have to use overtime to be able to meet demand. In this
case, we decide to model this by increasing the unit production cost from $90 to
$110 for all units of demand above 1000 and less than or equal to 1200. So,
if demand is equal to 1050, we pay $90 unit production cost on the first 1000
units and pay $110 on the last 50 units. If demand is greater than 1200, we can
only satisfy demand for 1200 units and we simply lose all the demand above that.
Of course, we have to pay the overtime costs for all those above 1000 and less
than or equal to 1200, as just described.
modify the one way data table to also include the number of units sold
use Goal Seek to find the new break even selling price.
Write a few short comments describing the differences in the results obtained
with this extended model as compared to the original base model. For example,
does the break even selling price change? Does this result make sense? Why or
4
Business Analytics – HW1 Fall 2024
why not? Does the shape of the selling price vs profit graph change? Explain the
new shape.
Record a Macro of you using Goal Seek to find the break even selling price.
When the Goal Seek is done stop the macro recorder. Then attach that Macro to
a button from the Forms Toolbox so that you can update the break even selling
price at the click of a button. We did this in class with the Break Even model.
Note the value of the break even selling price.
Now, record a Macro of you using Goal Seek to find the selling price that results
in a profit of whatever is in B74. Name the macro PriceForTargetProfit. You will
see that you will NOT be able to reference B74 in the Goal Seek dialog box –
you’ll just have to type it (that’s a bummer of a shortcoming in Excel).
IMPORTANT: Use $2,000 as your target value in Goal Seek.
Then attach that Macro to a button from the Forms Toolbox so that you can rerun
the PriceForTargetProfit macro at the click of a button. I did this in the screencast
for the Break Even model. Here’s a screenshot of my work.
5
Business Analytics – HW1 Fall 2024
EXTRA CREDIT: To reiterate, even if I change the value in B74 above from
$2,000 to $2,500 (which WILL update the label in A74), when I press the Update
Selling Price button, the Goal Seek will still be done for a target of $2,000. You
can see why by viewing the Macro that you recorded. So, even though we
haven’t learned VBA yet, it’s not terribly difficult to view the recorded code and
figure out a way to modify it so that your Update Selling Price button will
actually use whatever target value is in B74. If you figure this out, you’ll see one
of Excel’s many oddities. There are some things you can do by invoking Excel
functionality via VBA that you can’t do when you invoke the exact same
functionality via the Excel GUI. Go figure…
Make sure your file is saved as a Macro Enabled Workbook (i.e. has a .xlsm
extension).
Deliverables
You will end up with two Excel model files (the first is an xlsx files and the other
is an xlsm file) and your Influence Diagram pdf via Moodle. Create a folder
called ba_hw1_<your last name>. Mine would be called ba_hw1_isken. Put all
three of your assignment files into that folder.
Then compress that folder to create a zip file. Mine will end up being named
ba_hw1_isken.zip. Then upload the zip file to Moodle using the HW1
Assignment upload link that you’ll find in the Homework Assignments section of
our Moodle site. Due to some idiosyncrasies of the Moodle grading module, it’s
very important in my class that you always just submit a zipped folder containing
all of your files.
That’s it. Hope you learned a bit about basic Excel modeling building and
spreadsheet engineering. We have just scratched the surface of where we’ll go in
this class…