Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Good morning,

I have sheet1 with a column A containing specific codes on each line.

In another sheet2 I have a table with those same codes but in front of each one of them it is possible to mark a "x" on a certain parts.

What I want to do is mark on sheet1 all the codes that have a "x" in front of them on sheet2.

sheets

I tried to do this 2 functions which return me "x" as I wanted:

=IF(MATCH(CONCAT(C13,".",D13),sheet2!C:C,0),IF(MATCH("x",sheet2!G7:BD7,0),"x",""))

=VLOOKUP(CONCAT(C13,".",D13),sheet2!C7:AN11,MATCH("x",sheet2!G7:BD7,0)+4)

But I want, excel to find automatically the column index with the "x" mark without having to manually select sheet2!G7:BD7.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
210 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...