Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel match #value 1

Status
Not open for further replies.

GPnew

Programmer
Nov 12, 2001
56
NZ
Sample Da
a 55 56 57 55 56
b 12 12 12 13 13

Trying to return the column number where row a = 56 stored in F5 and row b = 12 (F6)
The answer should b 3
This is what I have tried
=MATCH(1,$F$5=$A$1:$F$1*$F$6=$A$2:$F$2,0) Result #value
=MATCH($F$5&$F$6,$A$1:$F$1&$A$2:$F$2,0) Result #value

I tried this to test the logic
=MATCH($F$6,$A$2:$F$2,0) result 2

Any Ideas

Thanks
 
BTW, the MATCH() function only returns the FIRST match offset number. It is a poor tool for your stated purpose.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top