Creating an Index off yearly % changes

ajamess

Board Regular
Joined
Sep 13, 2016
Messages
92
I have figured out a way to create a weighted average based on sales growth by year to get a table like this

[TABLE="width: 500"]
<tbody>[TR]
[TD]2012[/TD]
[TD]2013[/TD]
[TD]2014[/TD]
[TD]2015[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]2%[/TD]
[TD]-5%[/TD]
[TD]3%[/TD]
[TD]6%[/TD]
[TD]1%[/TD]
[/TR]
</tbody>[/TABLE]


Is there a way I could make this into an index starting at 100 with the % changing each month to graph, for example I'd like a graph with these values:

[TABLE="width: 500"]
<tbody>[TR]
[TD]2011[/TD]
[TD]2012[/TD]
[TD]2013[/TD]
[TD]2014[/TD]
[TD]2015[/TD]
[TD]2016[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]102[/TD]
[TD]96.9[/TD]
[TD]99.8[/TD]
[TD]105.8[/TD]
[TD]106.9[/TD]
[/TR]
</tbody>[/TABLE]


Any suggestions?
 
Last edited:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Unless I'm missing something, this seems like what you want.

Copy B5 across. Create a chart out of A4 to F5.

ABCDEF

<tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFF2CC, align: right"]2012[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2013[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2014[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2015[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2016[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"]2%[/TD]
[TD="align: right"]-5%[/TD]
[TD="align: right"]3%[/TD]
[TD="align: right"]6%[/TD]
[TD="align: right"]1%[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2011[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2012[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2013[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2014[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2015[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2016[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]100.0000[/TD]
[TD="bgcolor: #E2EFDA, align: right"]102.0000[/TD]
[TD="bgcolor: #E2EFDA, align: right"]96.9000[/TD]
[TD="bgcolor: #E2EFDA, align: right"]99.8070[/TD]
[TD="bgcolor: #E2EFDA, align: right"]105.7954[/TD]
[TD="bgcolor: #E2EFDA, align: right"]106.8534[/TD]

</tbody>
Sheet2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR="bgcolor: #DAE7F5"]
[TH="width: 10"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TH="width: 10, bgcolor: #DAE7F5"]B5[/TH]
[TD="align: left"]=A5*(1+B2)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Unless I'm missing something, this seems like what you want.

Copy B5 across. Create a chart out of A4 to F5.

ABCDEF

<tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFF2CC, align: right"]2012[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2013[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2014[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2015[/TD]
[TD="bgcolor: #FFF2CC, align: right"]2016[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"]2%[/TD]
[TD="align: right"]-5%[/TD]
[TD="align: right"]3%[/TD]
[TD="align: right"]6%[/TD]
[TD="align: right"]1%[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2011[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2012[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2013[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2014[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2015[/TD]
[TD="bgcolor: #FCE4D6, align: right"]2016[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]100.0000[/TD]
[TD="bgcolor: #E2EFDA, align: right"]102.0000[/TD]
[TD="bgcolor: #E2EFDA, align: right"]96.9000[/TD]
[TD="bgcolor: #E2EFDA, align: right"]99.8070[/TD]
[TD="bgcolor: #E2EFDA, align: right"]105.7954[/TD]
[TD="bgcolor: #E2EFDA, align: right"]106.8534[/TD]

</tbody>
Sheet2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR="bgcolor: #DAE7F5"]
[TH="width: 10"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TH="width: 10, bgcolor: #DAE7F5"]B5[/TH]
[TD="align: left"]=A5*(1+B2)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

This is exactly what I am looking for. And I have already done this in excel, however I have a dataset much too large for excel, so I am hoping to be able to find out how to do this in PowerBI (This is in PowerBI category of the forum, not excel)
 
Upvote 0
Oh heavens! I didn't notice that it was BI. Sorry, I haven't got BI so I can't help.
 
Upvote 0

Forum statistics

Threads
1,225,729
Messages
6,186,692
Members
453,369
Latest member
positivemind

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top