SCENARIO.SUMMARY macro

Equivalent to clicking the Scenarios command on the Tools menu and then clicking the Summary button. Generates a table summarizing the results of all the scenarios for the model on your worksheet.

Syntax

SCENARIO.SUMMARY(result_ref, report_type)

SCENARIO.SUMMARY?(result_ref, report_type)

Result_ref    is a reference to the result cells you want to include in the summary report. Normally, result_ref refers to one or more cells containing the formulas that depend on the changing cell values for your model—that is, the cells that show the results of a particular scenario.

Report_type    is a number specifying the type of report desired.

Report_type

Type of Report

1 or omitted

A scenario summary report (Microsoft Excel version 4.0)

2

A scenario PivotTable report. Requires result_ref.

Remarks

Return to index