gain. We decide to create the one-way table in columns G:I. In cell H2 we enter the
formula reference for the year-end price for the data table. This reference formula is
simply given as =E13 which is the cell containing the closing price at the end of 12
months in our simulation in the cell range A2:E13. In cell I2, we enter the following
formula, which computes the yearly gain between the beginning price at the start of the
first month and the closing price at the end of the twelfth month:
=(E13_$B$2)*100/$B$2
In column G from cells G3:G254, we enter numbers from 1 to 250, each indicating a
simulated run for 12 months. These ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.