<

Creating an Efficient Dashboard in Excel

Published on
9,096 Points
2,396 Views
7 Endorsements
Last Modified:
Approved
I produce a dashboard every day on a wealth of data, utilizing numerous graphs.  Being that my graphs were based on a rolling 30 days’ worth of data, I was wasting a good amount of time updating all the data series in each of my graphs to start and end one row down (to include the new date’s data row and drop the last row).

Figuring there must be a way to have Excel do the nitty-gritty for me, I developed the following system, which allows me to simply add the new data each day and watch the graphs update themselves! Following is a simplified data set and 7-day dashboard to illustrate the basics:
 
  1. Create a dynamic data set by using VLOOKUP
  1. My graphs need to show yesterday’s data and the 6 days prior, based on the data updated daily in my “Widget Data” tab:
 Article-1.png 
I created four helper columns (in this case on the same tab as my graphs, though you can put them anywhere you find best suits your needs): 
Article-2.png
Because I want my dashboard graphs to update based on date, the first helper column (J) has the dates I want displayed (yesterday and the six days preceding that). 
 
Cell J8 has the following formula: =(TODAY())-1
This returns yesterday’s date. 
 
Cell J7: =J8-1
Cell J6: =J7-1
And so forth.
 
  1. The next three helper columns employ the VLOOKUP formula to identify the data on the Widget Data tab that corresponds to my daily-changing Column J.
 
Cell K2: =VLOOKUP($J2,'Widget Data'!$A$2:$D$2000,3,FALSE)
 
This formula is reading the date in J2, looking for its matching date in the leftmost column of the Range of A2:D200, and returning the data in the 3rd column within that range (in this case, C). “FALSE” signifies that I need Excel to find an exact match to the date I provide in J2 (“TRUE” would return the closest match within the leftmost column).
 
My use of the $ before J, A and D is so that I can drag the formula across columns to L and M and still have it looking for the same helper column data, within the same range. I will then only have to update the return column in the formula.
 
Cell L2: =VLOOKUP($J2,'Widget Data'!$A$2:$F$2000,4,FALSE)
Cell M2: =VLOOKUP($J2,'Widget Data'!$A$2:$F$2000,6,FALSE)
 
I manually changed the formula to look at columns 4 and 6, respectively, within the range.
 
My use of the $ in front of 2 and 2000 is so that I can then drag the formulas down to the next 6 rows and not shift the range down successively (this could be dangerous with bigger dashboards or smaller static data sets).
 
  1. Create graphs that look to your dynamic data set.
Article-3.png 
Notes:
 
If you hide your helper columns, the graphs will appear blank.  So, as visually useless as they are, it would be best to stash them in their own tab, or far to the right of something like the graphs, so they are unseen, but still referable.
 
If your dashboard is not daily, or is not produced regularly, you can always make the End Date a value you enter manually, which I do for certain weekly or monthly datasets.
 
If you decide to change the arrangement of your original dataset (the Widget Data tab in the example)—e.g. inserting or deleting columns—your helper columns will not follow suit.  They will still be looking for data in, say, the sixth column.  So be aware of any reformatting you do.
7
Comment
2 Comments
 
LVL 66

Expert Comment

by:Jim Horn
Nicely done.  Voted yes.
0
 
LVL 7

Author Comment

by:Katie Pierce
0

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Join & Write a Comment

This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
A query can call a function, and a function can call Excel, even though we are in Access. This is Part 2, and steps you through the VBA that "wraps" Excel functionality so we can use its worksheet functions in Access. The declaration statement de…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month