Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88835

List index array of items conditional to reference

$
0
0

I have two tables in my document looking like this:

Serial Number Table (in formula : SNT):

Product model      Serial Number
1234               ABCD
5678               DEFG
1234               HIJK

Product Technical Specification (in formula: PTS):

Product model      Power      Labeling
1234               100w       1
5678               600w       0

and the goal is to list every serial numbers associated to a product that needs labeling and their product number and power:

Serial Number    Product model      Power
ABCD             1234               100w
HIJK             1234               100w

So I tried to write my own Index/Match formula and it somehow wont filter the items that shouldn't be labeled. The formula looks like this:

{=IFERROR(INDEX(SNT[Serial Number],MATCH(0,COUNTIF($A$1:A1,SNT[Serial Number])+IF(INDEX(PTS[Labeling],EQUIV(INDEX(SNT[No. Produit],EQUIV(INDEX(SNT[Serial Number],),SNT[Serial Number],)),PTS[Product model],0))<>1,1,0),0)),"")}

My result is

Serial Number    Product model      Power
ABCD             1234               100w
DEFG             5678               600W
HIJK             1234               100w

I might have made my match a bit overly complicated but these tables are over different sheets and I do not know any better to see if labeling is 1 or 0. And to be honest, I've been looking around for an explaination of what MATCH(0,1,0) is doing exactly and couldn't find anything. How can the range be 1 and the value looked up 0?

Thank you for any help!


Viewing all articles
Browse latest Browse all 88835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>