Hi,
For this example I'd make a new tab called "TableData"
Put the following information in to TableData tab like such:
[TABLE="class: grid, width: 750"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]ColA Options[/TD]
[TD]ColB Options[/TD]
[TD]ColC Results[/TD]
[TD]ColD Results[/TD]
[TD]ColE Results[/TD]
[TD]ColF Results[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Damaged[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]
Option 2[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]
Option 3[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]
Option 4[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]
Option 5[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]
Option 6[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]
Option 7[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]
Option 8[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]
Option 9[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]
Option 10[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]
Option 11[/TD]
[TD]Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Damaged[/TD]
[TD]Non-Usable[/TD]
[TD]Return t Vendor - Repairs[/TD]
[TD]Held For Disposal[/TD]
[TD]Scrapping[/TD]
[TD]Return to Vendor[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]
Option 2[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]
Option 3[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]
Option 4[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]
Option 5[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]
Option 6[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]19[/TD]
[TD]
Option 7[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]
Option 8[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]
Option 9[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]22[/TD]
[TD]
Option 10[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
[TR]
[TD]23[/TD]
[TD]
Option 11[/TD]
[TD]Non-Usable[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[TD]
Result here...[/TD]
[/TR]
</tbody>[/TABLE]
(See the bits in
red to change to your actual results and options)
Once that is set up go back to the worksheet you are putting in options for column A and B
Lets say A1 = "Damaged" and B1 = "Non-Usable"
Then use this
ARRAY formula in C1:
C1:
Code:
INDEX(TableData!C$2:C$23,SMALL(IF(TableData!$A$2:$A$23=$A1,ROW(TableData!$A$2:$A$23)-ROW(INDEX(TableData!$A$2:$A$23,1,1))+1),IF($B1="Usable",1,2)))
Ensure that you enter with Ctrl+Shift+Enter instead of a regular Enter. (You will see a
#VALUE ! error if you do not use Ctrl+Shift+Enter)
Copy C1 and paste in to D1:F1
Note: If you try copy C1 and paste with C1 selected it may pop up an error (You can't change part of an array.) - So make sure C1 is not selected when you paste. I.e. Select D1:F1 only then paste.
This results in: (For example given)
[TABLE="class: grid, width: 1000"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Damaged[/TD]
[TD]Non-Usable[/TD]
[TD]Return t Vendor - Repairs[/TD]
[TD]Held For Disposal[/TD]
[TD]Scrapping[/TD]
[TD]Return to Vendor[/TD]
[/TR]
</tbody>[/TABLE]
Hope this makes sense!