returning header row as a result...
Assumptions:
A1:C1 contains your headers
A2:C10 contains your data
E2 contains the image of interest, such as img150
Formula:
=INDEX(A1:C1,MATCH(TRUE,COUNTIF(OFFSET(A2:C10,,COL UMN(A2:C10)-COLUMN(A2),
,1),E2)0,0))
....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.
Hope this helps!
In article .com,
"mj" wrote:
hello guys,
i just want to know what function will i use to return a header row as
a result. I have a worksheet consisting of lists of images arranged in
columns by subfolder; the name of the subfolder serves as my header.
Now, i have another list of images and i want to crosscheck this list
to my worksheet to know where these images are located or in what
subfolder/s are they included.
my table looks like this:
1 Sub1 Sub2 ... Sub20 (header row)
2 img1 img101 img201
. . .
. . .
img100 img200 img300
what i want is: if i search for img150...the result would be
Sub2(header row)
please help me...
thanks
|