Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
262 views
in Technique[技术] by (71.8m points)

How to find column index on specific row with value in excel

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.


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

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.6k users

...