Hello,
I'm trying to find out a solution (macro/formula) for matching 2 criteria and return multiple rows.
I have predefined Matrix table with all data:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Header1[/TD]
[TD]Header2[/TD]
[TD]Header3[/TD]
[TD]Header4[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Text1[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Text2[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Text3[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Text4[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and for separate sheet I need to select which Text belongs to respective Header.
So if I select Header1 (column B) i'll get as result all rows, where is "x" in column B
like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Text1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Text2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Text4[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and similar way for "header2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Text1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Text4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
etc.
i did it once a years ago, but it wasnt a nice/elegant solution (many formulas, macros...no option for skip rows without "x"...etc) + it was really hard to update data (not mention it was hard for me, not for common user)
Actually I'm trying to create something simple, which will be easy to manage (data + formulas/macro)
any ideas here guys/ladies?
I'm trying to find out a solution (macro/formula) for matching 2 criteria and return multiple rows.
I have predefined Matrix table with all data:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Header1[/TD]
[TD]Header2[/TD]
[TD]Header3[/TD]
[TD]Header4[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Text1[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Text2[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Text3[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Text4[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and for separate sheet I need to select which Text belongs to respective Header.
So if I select Header1 (column B) i'll get as result all rows, where is "x" in column B
like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Text1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Text2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Text4[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and similar way for "header2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Text1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Text4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
etc.
i did it once a years ago, but it wasnt a nice/elegant solution (many formulas, macros...no option for skip rows without "x"...etc) + it was really hard to update data (not mention it was hard for me, not for common user)
Actually I'm trying to create something simple, which will be easy to manage (data + formulas/macro)
any ideas here guys/ladies?