I'm sure there is an easy solution, but my brain (nor google it seems) can find it...
I'm trying to match two string criteria in an index match formula and I dont want to use an array.
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Vial[/TD]
[TD="align: center"]ID[/TD]
[TD="align: center"]Batch[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]V001[/TD]
[TD="align: center"]Z001[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]V002[/TD]
[TD="align: center"]Z002[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]V003[/TD]
[TD="align: center"]Z001[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]V004[/TD]
[TD="align: center"]Z003[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]V005[/TD]
[TD="align: center"]Z001[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]V006[/TD]
[TD="align: center"]Z003[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]V007[/TD]
[TD="align: center"]Z004[/TD]
[TD="align: center"]1[/TD]
[/TR]
</tbody>[/TABLE]
I'd like to enter the ID and the Batch and get the Vial returned.
I'd like something like this: Index(A2:A8,Match(and("Z003",2),and(B2:B8,C2:C8),0))
And have V006 returned.
I'd prefer no arrays, is this possible? Any help is greatly appreciated!
I'm trying to match two string criteria in an index match formula and I dont want to use an array.
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Vial[/TD]
[TD="align: center"]ID[/TD]
[TD="align: center"]Batch[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]V001[/TD]
[TD="align: center"]Z001[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]V002[/TD]
[TD="align: center"]Z002[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]V003[/TD]
[TD="align: center"]Z001[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]V004[/TD]
[TD="align: center"]Z003[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]V005[/TD]
[TD="align: center"]Z001[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]V006[/TD]
[TD="align: center"]Z003[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]V007[/TD]
[TD="align: center"]Z004[/TD]
[TD="align: center"]1[/TD]
[/TR]
</tbody>[/TABLE]
I'd like to enter the ID and the Batch and get the Vial returned.
I'd like something like this: Index(A2:A8,Match(and("Z003",2),and(B2:B8,C2:C8),0))
And have V006 returned.
I'd prefer no arrays, is this possible? Any help is greatly appreciated!