Conditional Indexing

DeepanshuS

New Member
Joined
Nov 22, 2017
Messages
2
I have tried to post this question earlier, but it didnot show up.

My problem is to find a relative straight forward way to determine what methods are valid for a given set of process required. For example,
[TABLE="width: 734"]
<tbody>[TR]
[TD][/TD]
[TD]Process 1[/TD]
[TD]Process 2[/TD]
[TD]Process 3[/TD]
[TD]Process 4[/TD]
[TD]Process 5[/TD]
[TD]Process 6[/TD]
[/TR]
[TR]
[TD]Method A[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Method B[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Method C[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Method D[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Method E[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Method F[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Method G[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]


Method A is applicable for Process 4 and Process 5 alone.

If I had to select a combination of different Processes, (Say Process 2, Process3), How will I be able to list different methods that are common for both the process.

Any help will be much appreciated.


EDIT: I wanted to make a check box selector where I can list the Processes to be carried out and the result will be the common methods that are available for the selected processes.
 
Last edited by a moderator:

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Instead of check box add two combobox in your user form


Private Sub ComboBox1_Change()
With ComboBox2
If UserForm1.ComboBox1.Value = "Process 1" Then
For k = 2 To 8
If Sheet1.Range("B" & k).Value = 1 Then
.AddItem "" & Sheet1.Range("A" & k).Value & ""
End If
Next
End If
End With
End Sub


Private Sub UserForm_Initialize()
With ComboBox1
.AddItem "Process 1"
.AddItem "Process 2"
.AddItem "Process 3"
.AddItem "Process 4"
.AddItem "Process 5"
.AddItem "Process 6"
End With




End Sub
 
Upvote 0

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