Creating the dashboard

Making a ticker dashboard for all venues

Next we’ll create a dashboard – most recent ticker data for each venue on one page that looks like this.

The dashboard is described in this piece of the manifest



		


and the venues to be included



		


Here’s the code



		


Walkthrough

Converting times

As covered in Creating a workbook from JSON manifest, it’s possible that there are some times that need converted from Unix timestamps. In order to display correctly, we can apply a given time format to the receiving columns,



		


Generating formulas

Instead of copying the data over from the worksheets that make up the dashboard, we instead want to create a formula that references them. That way, if the worksheets get updated in some way other than this automated process, they will still display the current values of the contributing sheets. Essentially we want a formula like this example to appear in each cell of the dashboard.


=INDIRECT(“ticker_”&$A2&”!”&CHAR(CODE(“A”)+COLUMN()-2)&2)

here’s how



		


For more on this see. Data driven VBA apps with JSON