Dynamically create a checklist based on a matrix

coake

New Member
Joined
Aug 23, 2017
Messages
34
Hey folks.
I'm looking to create a dynamic checklist based on the role ("user X" in the table below). The end result is to print off a sheet of paper for each user and verify each required step was complete, not all steps are required.
I can get the data using INDEX (thanks Jonmo1 !).
In the table below, the top 5 rows are on a different tab and is considered the matrix. It spans 187 columns by 125 rows.
I just can't wrap my head around how I will not display a step if it doesn't need to be there, and adding the headings dynamically where they belong?

[TABLE="class: grid, width: 56, align: left"]
<tbody>[TR]
[TD]Data Table[/TD]
[TD]Mod 1[/TD]
[TD]Mod 1[/TD]
[TD]Mod 1[/TD]
[TD]Mod 2[/TD]
[TD]Mod 2[/TD]
[TD]Mod 2[/TD]
[TD]Mod 3[/TD]
[TD]Mod 3[/TD]
[TD]Mod 3[/TD]
[/TR]
[TR]
[TD]User[/TD]
[TD]Text1[/TD]
[TD]Text 2[/TD]
[TD]Text 3[/TD]
[TD]Text 4[/TD]
[TD]Text 5[/TD]
[TD]Text 6[/TD]
[TD]Text 7[/TD]
[TD]Text 8[/TD]
[TD]Text 9[/TD]
[/TR]
[TR]
[TD]User 1[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD]User 2[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD][/TD]
[TD][/TD]
[TD]m[/TD]
[TD][/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]User 3[/TD]
[TD]m[/TD]
[TD]m[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]m[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]-------[/TD]
[TD]-----[/TD]
[TD]----[/TD]
[TD]----[/TD]
[TD]----[/TD]
[TD]----[/TD]
[TD]----[/TD]
[TD]----[/TD]
[TD]----[/TD]
[TD]----[/TD]
[/TR]
[TR]
[TD]Usernam[/TD]
[TD]<--[/TD]
[TD]Drop[/TD]
[TD]Dowwnn[/TD]
[TD]Box[/TD]
[TD][/TD]
[TD]notrevelant[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]If user 1[/TD]
[TD][/TD]
[TD][/TD]
[TD]If user 2[/TD]
[TD][/TD]
[TD][/TD]
[TD]If user 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mod 1[/TD]
[TD][/TD]
[TD][/TD]
[TD]Mod 1[/TD]
[TD][/TD]
[TD][/TD]
[TD]Mod 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 1[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Text 1[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Text 1[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 2[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Text 2[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Text 2[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 3[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Mod 2[/TD]
[TD][/TD]
[TD][/TD]
[TD]Mod 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mod 2[/TD]
[TD][/TD]
[TD][/TD]
[TD]Text 5[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Text 8[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 4[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Mod 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 5[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Text 7[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 6[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD]Text 8[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mod 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 7[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 8[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Text 9[/TD]
[TD]chkbox[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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