Dynamic Lookup to generate sparklines

mwtinec

New Member
Joined
Aug 21, 2013
Messages
18
All,
Hoping someone can help me out here. Here's my need.

What follows is a simplified explanation of my spreadsheet. I have two sheets ASSIGNMENTS and AVAILABLE CAPACITY

The ASSIGNMENTS sheet has a list of staff members assigned to every project we are working on. There are as many rows for a project as there is staff assigned, e.g. 3 rows for Project 1 to accommodate Jan, Leanne and Dave. Each row has the following columns: project name, staffer name, jan hrs assigned, feb hrs assigned, etc. through 2017. A staffer can appear in the sheet multiple times when assigned to different projects. It looks like this:
Excel 2010
QRTUVWXYZAAABACADAEAF
43RD GROUPING
(2nd grp + Rel# + TargetMo)
AssignmentsSPARKLINE SHOWING CAPACITY (NEXT 12 Mos)Jan-2015Feb-2015Mar-2015Apr-2015May-2015Jun-2015Jul-2015Aug-2015Sep-2015Oct-2015Nov-2015Dec-2015
42FRONTIER (Nov-'15) (Rel 1 of 3)Jan Y30303030303030
43FRONTIER (Nov-'15) (Rel 1 of 3)Leanne B3434348888
44FRONTIER (Nov-'15) (Rel 1 of 3)Dave L3434348888

<tbody>
</tbody>
Staff Assignments


On the CAPACITY sheet I have one, and only one, row for each staffer. Each row has three sections: TOTAL CAPACITY vs ASSIGNED CAPACITY vs AVAILABLE CAPACITY. The sections have columns for each month from 2015 through 2017. For this question my interest is in creating sparklines for AVAILABLE CAPACITY only. It looks like this:

Excel 2010
CAFAGAHAIAJAKALAMANAOAPAQ
6NAMEJanFebMarAprMayJunJulAugSepOctNovDec
13Dave L45126150150142150150158174166150184
19Jan Y481091331331011091096312211491139
29Leanne B42126150150142150150141156148150184

<tbody>
</tbody>
Staff Capacity


What I want is to have a column in the ASSIGNMENTS sheet that shows a sparkline of the available capacity for each staffer. So in the examples above the sparkline tool would look at the name in each row in ASSIGNMENTS, say Jan Y, and bring back her sparkline based on Jan Y's capacity on the CAPACITY sheet. I'd prefer that the sparkline automatically adjust to show the next 12 months,e.g. on august 1 the sparklines show aug plus 11 more months. If automatic is too difficult I'm okay with doing a manual update each month of some sort (but not to every cell obviously).

My research suggests that this will require a dynamic named range. This person had part of the solution but it wasn't quite right. Basically, I'm now stuck but I KNOW this is possible with your help. Thanks in advance!

Matt
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,215,772
Messages
6,126,800
Members
449,337
Latest member
BBV123

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