<p id="isPasted">Lets say you want to compare prices of Gold & Coffee over last few years. Gold price in 2011 (oct) is $1,655 per ounce. And now (sept 2012) it is $1,744. Like wise, Silver price in 2011 is $32.06 and in 2012 it is $33.61. How do we compare such diverse numbers?</p><p>Enter indexing.</p><p>First we need to calculate price of Gold and Silver in 2012 assuming their starting price is 100. This can be done with simple arithmetic.</p><p>We will get this:</p><p style="margin: 10px 0px; padding: 0px; border: none; box-sizing: border-box; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.2px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><img data-fr-image-pasted="true" data-aspectratio="360/95" src="https://img.chandoo.org/c/indexing-values-an-example.png" title="Indexing values using simple formulas - an example" data-src="https://img.chandoo.org/c/indexing-values-an-example.png" alt="Indexing values using simple formulas - an example" width="360" height="95" style="padding: 0px; border: none; transition: opacity 0.3s; opacity: 1; box-sizing: border-box; border-radius: 0px; box-shadow: none; height: auto; max-width: 100%;" class="fr-fic fr-dii fr-draggable"></p><p>Now, we can easily compare the prices. Looking at the indexed prices, we can conclude that both Gold & Silver prices have gone up by similar percentage (~5%).</p><p>When to use Indexing?</p><p>There are many good reasons to use indexed values. Some of the common reasons are,</p><ul style="margin: 0px; padding: 0px; border: none; list-style: circle; box-sizing: border-box; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.2px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><li style="margin: 0px 0px 0px 20px; padding: 0px 0px 0px 10px; border: none; box-sizing: border-box;">To compare values which are vastly apart – ex: price movements of gold, silver & coffee</li><li style="margin: 0px 0px 0px 20px; padding: 0px 0px 0px 10px; border: none; box-sizing: border-box;">To understand growth (or non growth). Subtract 100 from any indexed value to know how much it has grown (or shrunk) compared to base value.</li><li style="margin: 0px 0px 0px 20px; padding: 0px 0px 0px 10px; border: none; box-sizing: border-box;">To understand change with respect to a bench mark – ex: performance of a company with respect to stock market index.</li></ul><p>For more detailed discussion on indexation & its applications, refer to this article by Paresh.</p><p>Indexed Chart Example – Commodity prices in last 5 years</p><p>Lets say you are a savvy commodity investor and want to understand how the prices of gold, silver, bananas and coffee have changed since 2007. Now, each of them have a different range of values and comparing all of them in same chart can be very confusing.</p><div data-google-query-id="CMbWnMWMtowDFWJynQkd0SEhJg" style="margin: 0px; padding: 0px; border: none; box-sizing: border-box; z-index: 1;"><img data-fr-image-pasted="true" data-pin-nopin="true" src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMjU5MiAwLjU4NjMwOUMxMC45NDk4IDAuNjc2MTIzIDEwLjM2OCAwLjg5ODU1NSAxMC4xNDE1IDEuMzQzNjJDOS45MjgxOSAxLjc2MjIxIDEwLjA2OSAyLjMzNzU0IDEwLjE5NzUgMi42N0MxMC41MDY3IDIuNTgwMjkgMTEuMDg5OSAyLjM1Nzg2IDExLjMxNjUgMS45MTIzOEMxMS41NDMyIDEuNDY3MzEgMTEuMzczMSAwLjg4MTIwOCAxMS4yNTkyIDAuNTg2MzA5VjAuNTg2MzA5Wk05LjkwMDYxIDMuMjU1OU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zIwNTIgNy44Njg1MlYyLjY0NzY5QzUuNzE5NDcgMi42NDc2OSA1LjcxODMxIDIuNjQ3NzkgNS43MTcyNiAyLjY0Nzc5IiBmaWxsPSIjOTE5MTkxIi8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOC43OTAwMSAyLjY0Nzc5QzguNzI0MzMgMS4yODM0MyA3LjU4NTQ5IDAuMTk0ODc4IDYuMTc4MjIgMC4xNjE2MjFWNS4zODI1NkM2LjE3OTI4IDUuMzgyNTYgNi4xODAzMyA1LjM4MjQ2IDYuMTgxMzggNS4zODIzNkM2LjI0Njk2IDYuNzQ2NzIgNy4zODYwMSA3LjgzNTM3IDguNzkzMTcgNy44Njg1MlYyLjY0NzY5QzguNzkyMTIgMi42NDc2OSA4Ljc5MTA2IDIuNjQ3NzkgOC43OTAwMSAyLjY0Nzc5IiBmaWxsPSIjOTE5MTkxIi8+Cjwvc3ZnPgo=" alt="" style="width: 20px; height: 20px; cursor: pointer;" class="fr-fil fr-dib fr-draggable fr-error">Let us index the values to 100 and then compare.</div><p></p><p>Step 1: Arrange your data.</p><p>Lets assume we have our data like this:</p><p data-slot-rendered-content="true" style="margin: 10px 0px; padding: 0px; border: none; box-sizing: border-box; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.2px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><img data-fr-image-pasted="true" data-aspectratio="395/275" src="https://img.chandoo.org/c/data-for-indexation.png" title="Data for indexation - commodity prices for last 5 years" data-src="https://img.chandoo.org/c/data-for-indexation.png" alt="Data for indexation - commodity prices for last 5 years" width="395" height="275" style="padding: 0px; border: none; transition: opacity 0.3s; opacity: 1; box-sizing: border-box; border-radius: 0px; box-shadow: none; height: auto; max-width: 100%;" class="fr-fic fr-dii fr-draggable"><img data-fr-image-pasted="true" data-pin-nopin="true" src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMjU5MiAwLjU4NjMwOUMxMC45NDk4IDAuNjc2MTIzIDEwLjM2OCAwLjg5ODU1NSAxMC4xNDE1IDEuMzQzNjJDOS45MjgxOSAxLjc2MjIxIDEwLjA2OSAyLjMzNzU0IDEwLjE5NzUgMi42N0MxMC41MDY3IDIuNTgwMjkgMTEuMDg5OSAyLjM1Nzg2IDExLjMxNjUgMS45MTIzOEMxMS41NDMyIDEuNDY3MzEgMTEuMzczMSAwLjg4MTIwOCAxMS4yNTkyIDAuNTg2MzA5VjAuNTg2MzA5Wk05LjkwMDYxIDMuMjU1OUw5LjgxMjMgMy4wODUyQzkuNzg4OTMgMy4wMzk3MyA5LjI0MjA5IDEuOTYyNzggOS42NzMwMyAxLjExNjg4QzEwLjEwMzYgMC4yNzA3NzggMTEuMzEzNiAwLjA0MzkzMjEgMTEuMzY0OCAwLjAzNDY5NEwxMS41NTc2IDBMMTEuNjQ1OSAwLjE3MDY5OUMxMS42NjkzIDAuMjE2MTcxIDEyLjIxNiAxLjI5MzAyIDExLjc4NDkgMi4xMzkxMkMxMS4zNTQ4IDIuOTg0ODIgMTAuMTQ0NyAzLjIxMTg3IDEwLjA5MzMgMy4yMjExMUw5LjkwMDYxIDMuMjU1OVoiIGZpbGw9IiM5MTkxOTEiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2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Y5QzguNzkyMTIgMi42NDc2OSA4Ljc5MTA2IDIuNjQ3NzkgOC43OTAwMSAyLjY0Nzc5IiBmaWxsPSIjOTE5MTkxIi8+Cjwvc3ZnPgo=" alt="" style="width: 20px; height: 20px; cursor: pointer;" class="fr-fil fr-dib fr-draggable">Step 2: First indexed value is 100 for all items</p><p>Step 3: Calculate next indexed value using simple formula.</p><p>See this illustration to understand how to calculate the indexed values.</p><p style="margin: 10px 0px; padding: 0px; border: none; box-sizing: border-box; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.2px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><img data-fr-image-pasted="true" data-aspectratio="420/220" src="https://img.chandoo.org/c/excel-formula-for-indexing.png" title="Excel formula for Indexing values" data-src="https://img.chandoo.org/c/excel-formula-for-indexing.png" alt="Excel formula for Indexing values" width="420" height="220" style="padding: 0px; border: none; transition: opacity 0.3s; opacity: 1; box-sizing: border-box; border-radius: 0px; box-shadow: none; height: auto; max-width: 100%;" class="fr-fic fr-dii fr-draggable"></p><p>Step 4: Make a line chart</p><p>Select the indexed values and create a line chart. And you are done!</p><p>Step 5: Format the chart</p><p>This is where you can unleash your creativity. Add labels, legend, format axis etc. Here is a version I came up with.</p><p style="margin: 10px 0px; padding: 0px; border: none; box-sizing: border-box; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.2px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><img data-fr-image-pasted="true" data-aspectratio="479/441" src="https://img.chandoo.org/c/indexed-chart-in-excel.png" title="Indexed chart of commodity prices for last 5 years" data-src="https://img.chandoo.org/c/indexed-chart-in-excel.png" alt="Indexed chart of commodity prices for last 5 years" width="479" height="441" style="padding: 0px; border: none; transition: opacity 0.3s; opacity: 1; box-sizing: border-box; border-radius: 0px; box-shadow: none; height: auto; max-width: 100%;" class="fr-fic fr-dii fr-draggable"></p><p><br></p><p style="margin: 10px 0px; padding: 0px; border: none; box-sizing: border-box; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.2px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><br></p>
<p id="isPasted">Lets say you want to compare prices of Gold & Coffee over last few years. Gold price in 2011 (oct) is $1,655 per ounce. And now (sept 2012) it is $1,744. Like wise, Silver price in 2011 is $32.06 and in 2012 it is $33.61. How do we compare such diverse numbers?</p><p>Enter indexing.</p><p>First we need to calculate price of Gold and Silver in 2012 assuming their starting price is 100. This can be done with simple arithmetic.</p><p>We will get this:</p><p style="margin: 10px 0px; padding: 0px; border: none; box-sizing: border-box; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.2px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><img data-fr-image-pasted="true" data-aspectratio="360/95" src="https://img.chandoo.org/c/indexing-values-an-example.png" title="Indexing values using simple formulas - an example" data-src="https://img.chandoo.org/c/indexing-values-an-example.png" alt="Indexing values using simple formulas - an example" width="360" height="95" style="padding: 0px; border: none; transition: opacity 0.3s; opacity: 1; box-sizing: border-box; border-radius: 0px; box-shadow: none; height: auto; max-width: 100%;" class="fr-fic fr-dii fr-draggable"></p><p>Now, we can easily compare the prices. Looking at the indexed prices, we can conclude that both Gold & …</p>