I need to look at data and return a list of unique numbers from column C where Column A, B match certain criteria. And a different set of returns where A,B, and D match certain criteria.
I have data that basically looks like this:
<tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]22[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"][/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]25[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"][/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"][/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"][/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"][/TD]
[TD="align: center"]13[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"][/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]88[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"][/TD]
[TD="align: center"]17[/TD]
[TD="align: right"]88[/TD]
[TD="align: center"]18[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"][/TD]
[TD="align: center"]19[/TD]
[TD="align: right"]88[/TD]
[TD="align: right"][/TD]
[TD="align: center"]20[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"][/TD]
[TD="align: center"]21[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"][/TD]
[TD="align: center"]22[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[TD="align: center"]23[/TD]
[TD="align: right"]3[/TD]
[TD="align: center"]24[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"][/TD]
[TD="align: center"]25[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]26[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"][/TD]
</tbody>
And I need results like this:
<tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]Result 1 (Cirteria 1=h and Criteria 2=r)[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]7[/TD]
</tbody>
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
<tbody>
[TD="align: center"]22[/TD]
[TD="align: center"]Result 5 (Cirteria 1=h and Criteria 2=p and Criteria 4 =c)[/TD]
[TD="align: center"]23[/TD]
[TD="align: center"]22[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]25[/TD]
</tbody>[/TD]
[/TR]
</tbody>[/TABLE]
Would greatly prefer to use formulas and not VBA.
Thanks in advance if you can help.
I have data that basically looks like this:
A | B | C | D | |
---|---|---|---|---|
Criteria1 | Criteria 2 | Criteria 3 | Criteria 4 | |
h | r | |||
h | p | c | ||
h | r | |||
h | p | |||
h | r | |||
h | p | c | ||
h | r | |||
h | p | |||
h | r | |||
h | p | |||
h | r | |||
h | p | |||
v | r | |||
v | p | c | ||
v | r | |||
v | p | c | ||
v | r | |||
v | p | |||
v | r | |||
v | p | |||
v | r | |||
v | p | c | ||
v | r | |||
v | p | c | ||
v | r |
<tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]22[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"][/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]25[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"][/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"][/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"][/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"][/TD]
[TD="align: center"]13[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"][/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"][/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]88[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"][/TD]
[TD="align: center"]17[/TD]
[TD="align: right"]88[/TD]
[TD="align: center"]18[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"][/TD]
[TD="align: center"]19[/TD]
[TD="align: right"]88[/TD]
[TD="align: right"][/TD]
[TD="align: center"]20[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"][/TD]
[TD="align: center"]21[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"][/TD]
[TD="align: center"]22[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[TD="align: center"]23[/TD]
[TD="align: right"]3[/TD]
[TD="align: center"]24[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"][/TD]
[TD="align: center"]25[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]26[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"][/TD]
</tbody>
And I need results like this:
F | |
---|---|
<tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]Result 1 (Cirteria 1=h and Criteria 2=r)[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]7[/TD]
</tbody>
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
F | |
---|---|
<tbody>
[TD="align: center"]22[/TD]
[TD="align: center"]Result 5 (Cirteria 1=h and Criteria 2=p and Criteria 4 =c)[/TD]
[TD="align: center"]23[/TD]
[TD="align: center"]22[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]25[/TD]
</tbody>
[/TR]
</tbody>[/TABLE]
Would greatly prefer to use formulas and not VBA.
Thanks in advance if you can help.