Greetings all,
I'm trying to populate implicit values in a hierarchy, but haven't had much luck.
This is my input sheet ("Input Matrix"):
01.png
I want to create an output sheet ("Output Matrix") that looks at the values in column D and fills in any missing:
02.png
Some context: this is a menu permissions hierarchy for a product that assumes all menu items are enabled unless explicitly disabled. The product is capable of storing a Y/N permission for every menu item at every level, but is often configured such that only a parent menu item is disabled; child items are implicitly disabled, but not explicitly. The objective is to pull table data for explicitly-disabled menu items and determine the full implicit security matrix.
The logic for column D in Output Matrix could be something like this:
This matrix will have a maximum of 7 layers, 50 users, and 1000 rows. Ideally the solution would not require VBA, unless this is required to keep performance at a reasonable level.Please Login or Register to view this content.
The first challenge to me is the "find parent" portion; I'm unsure how to "look up" from my starting cell to find the location of the first non-blank value in the adjacent column. Any suggestions much appreciated.
Bookmarks