I have a excel workbook that is filled out daily that I am attempting to make a dashboard out of. One of the challenges I came across is one of my clients change locations or management a lot. I decided to build a "Settings" sheet to document where that client is, what the building is called, client name, the manager, senior manager, and the date the "setting" was changed.
On another sheet I collect all the data from all the clients inputs for each day. What I am trying to do is index match to get the site,building, manager, and senior manager. The issue I am hitting is when the setting is changed, how do I return the correct data for the correct date. Since I have running data it will need to return the same site,building, manager,senior manager until the date matches the setting change date then use that data until the setting is changed again.
Settings
[TABLE="width: 500"]
<tbody>[TR]
[TD]Site[/TD]
[TD]Building[/TD]
[TD]Client[/TD]
[TD]Manager[/TD]
[TD]Senior Manager[/TD]
[TD]Setting Changed[/TD]
[/TR]
[TR]
[TD]Sample Site 1[/TD]
[TD]B1[/TD]
[TD]Client 1[/TD]
[TD]Brandy Doe[/TD]
[TD]John Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 1[/TD]
[TD]B2[/TD]
[TD]Client 2[/TD]
[TD]Cindy Doe[/TD]
[TD]Bob Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 3[/TD]
[TD]Tim Doe[/TD]
[TD]Jane Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 4[/TD]
[TD]Tim Doe[/TD]
[TD]Jane Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 1[/TD]
[TD]Brandy Doe[/TD]
[TD]John Doe[/TD]
[TD]5/2/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 1[/TD]
[TD]Time Doe[/TD]
[TD]Jane Doe[/TD]
[TD]5/8/2018[/TD]
[/TR]
</tbody>[/TABLE]
In my example, client 1 changed sites and building on 5/2 and then on 5/8 changes management team.
On another sheet I collect all the data from all the clients inputs for each day. What I am trying to do is index match to get the site,building, manager, and senior manager. The issue I am hitting is when the setting is changed, how do I return the correct data for the correct date. Since I have running data it will need to return the same site,building, manager,senior manager until the date matches the setting change date then use that data until the setting is changed again.
Settings
[TABLE="width: 500"]
<tbody>[TR]
[TD]Site[/TD]
[TD]Building[/TD]
[TD]Client[/TD]
[TD]Manager[/TD]
[TD]Senior Manager[/TD]
[TD]Setting Changed[/TD]
[/TR]
[TR]
[TD]Sample Site 1[/TD]
[TD]B1[/TD]
[TD]Client 1[/TD]
[TD]Brandy Doe[/TD]
[TD]John Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 1[/TD]
[TD]B2[/TD]
[TD]Client 2[/TD]
[TD]Cindy Doe[/TD]
[TD]Bob Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 3[/TD]
[TD]Tim Doe[/TD]
[TD]Jane Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 4[/TD]
[TD]Tim Doe[/TD]
[TD]Jane Doe[/TD]
[TD]4/1/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 1[/TD]
[TD]Brandy Doe[/TD]
[TD]John Doe[/TD]
[TD]5/2/2018[/TD]
[/TR]
[TR]
[TD]Sample Site 2[/TD]
[TD]B3[/TD]
[TD]Client 1[/TD]
[TD]Time Doe[/TD]
[TD]Jane Doe[/TD]
[TD]5/8/2018[/TD]
[/TR]
</tbody>[/TABLE]
In my example, client 1 changed sites and building on 5/2 and then on 5/8 changes management team.