Periodic Table of Investment Returns

BlackieHamel

Board Regular
Joined
May 9, 2014
Messages
93
Is this possible in Excel?

Callan Associates, among others, has for many years published a year-by-year listing of what investment returns were by asset class. The point is to demonstrate the importance of diversifying, because no asset class outperforms others from year to year. See
https://www.valuewalk.com/2017/03/the-alternative-callan-periodic-table-of-investment-returns/
for an example; there are many on the web.
newthread.php


I'd like to produce a similar chart, but to compare results by investment provider, not asset class.

[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]2012[/TD]
[TD]2013[/TD]
[TD]2014[/TD]
[TD]2015[/TD]
[TD]2016[/TD]
[TD]2017[/TD]
[TD]2018[/TD]
[/TR]
[TR]
[TD]Company A[/TD]
[TD]-0.9%[/TD]
[TD]12.1%[/TD]
[TD]19.1%[/TD]
[TD]4.5%[/TD]
[TD]-2.3%[/TD]
[TD]14.6%[/TD]
[TD]8.8%[/TD]
[/TR]
[TR]
[TD]Company B[/TD]
[TD]-0.4%[/TD]
[TD]9.4%[/TD]
[TD]14.7%[/TD]
[TD]2.1%[/TD]
[TD]0.2%[/TD]
[TD]10.5%[/TD]
[TD]8.3%[/TD]
[/TR]
[TR]
[TD]Company C[/TD]
[TD]-2.8%[/TD]
[TD]10.9%[/TD]
[TD]14.5%[/TD]
[TD]1.0%[/TD]
[TD]-1.4%[/TD]
[TD]11.8%[/TD]
[TD]7.1%[/TD]
[/TR]
[TR]
[TD]Company D[/TD]
[TD]-0.4%[/TD]
[TD]11.1%[/TD]
[TD]15.5%[/TD]
[TD]1.7%[/TD]
[TD]-2.9%[/TD]
[TD]13.3%[/TD]
[TD]7.9%[/TD]
[/TR]
[TR]
[TD]Company E[/TD]
[TD]-1.8%[/TD]
[TD]10.5%[/TD]
[TD]15.5%[/TD]
[TD]2.4%[/TD]
[TD]-1.4%[/TD]
[TD]13.3%[/TD]
[TD]9.1%[/TD]
[/TR]
[TR]
[TD]Company F[/TD]
[TD]1.1%[/TD]
[TD]11.1%[/TD]
[TD]18.2%[/TD]
[TD]8.1%[/TD]
[TD]-2.3%[/TD]
[TD]11.2%[/TD]
[TD]9.0%[/TD]
[/TR]
[TR]
[TD]Company G[/TD]
[TD]2.1%[/TD]
[TD]11.4%[/TD]
[TD]19.8%[/TD]
[TD]5.5%[/TD]
[TD]-2.0%[/TD]
[TD]14.9%[/TD]
[TD]8.0%[/TD]
[/TR]
</tbody>[/TABLE]

This is just a part of a bigger data set.

The idea would be for Excel to (1) assign a color code to each Company and highlight its result in that color for each year; and (2) automatically sort the results from best to worst in each year.

If this is not something Excel can do, do you have an idea of another program to do it? Thanks!

Blackie
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
If you start with a three-column list (company, year, results), you can do the sorting in the wink of an eye:

[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td="bgcolor:#F3F3F3"]
Company
[/td][td="bgcolor:#F3F3F3"]
Year
[/td][td="bgcolor:#F3F3F3"]
Result
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]Company G[/td][td]
2012​
[/td][td]
2.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]Company F[/td][td]
2012​
[/td][td]
1.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]Company B[/td][td]
2012​
[/td][td]
-0.40%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td]Company D[/td][td]
2012​
[/td][td]
-0.40%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td]Company A[/td][td]
2012​
[/td][td]
-0.90%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td]Company E[/td][td]
2012​
[/td][td]
-1.80%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td]Company C[/td][td]
2012​
[/td][td]
-2.80%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
9​
[/td][td]Company A[/td][td]
2013​
[/td][td]
12.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
10​
[/td][td]Company G[/td][td]
2013​
[/td][td]
11.40%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
11​
[/td][td]Company D[/td][td]
2013​
[/td][td]
11.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
12​
[/td][td]Company F[/td][td]
2013​
[/td][td]
11.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
13​
[/td][td]Company C[/td][td]
2013​
[/td][td]
10.90%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
14​
[/td][td]Company E[/td][td]
2013​
[/td][td]
10.50%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
15​
[/td][td]Company B[/td][td]
2013​
[/td][td]
9.40%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
16​
[/td][td]Company G[/td][td]
2014​
[/td][td]
19.80%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
17​
[/td][td]Company A[/td][td]
2014​
[/td][td]
19.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
18​
[/td][td]Company F[/td][td]
2014​
[/td][td]
18.20%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
19​
[/td][td]Company D[/td][td]
2014​
[/td][td]
15.50%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
20​
[/td][td]Company E[/td][td]
2014​
[/td][td]
15.50%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
21​
[/td][td]Company B[/td][td]
2014​
[/td][td]
14.70%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
22​
[/td][td]Company C[/td][td]
2014​
[/td][td]
14.50%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
23​
[/td][td]Company F[/td][td]
2015​
[/td][td]
8.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
24​
[/td][td]Company G[/td][td]
2015​
[/td][td]
5.50%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
25​
[/td][td]Company A[/td][td]
2015​
[/td][td]
4.50%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
26​
[/td][td]Company E[/td][td]
2015​
[/td][td]
2.40%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
27​
[/td][td]Company B[/td][td]
2015​
[/td][td]
2.10%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
28​
[/td][td]Company D[/td][td]
2015​
[/td][td]
1.70%​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
29​
[/td][td]Company C[/td][td]
2015​
[/td][td]
1.00%​
[/td][/tr]
[/table]
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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