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 - address of cell containing text in a range

Status
Not open for further replies.

osx99

Technical User
Apr 9, 2003
250
GB
I have the following excel formula which works fine

=ADDRESS(MATCH(T2,A:A,0),1)

however I really need a formula that can look over a larger range eg A:M

the following returns #N/A

=ADDRESS(MATCH(T2,A:M,0),1)

Please can someone give some pointers how this can be achieved?

Thanks,
os
 




Use the MATCH function, one for each column reference.

MATCH returns an offset index or, as HELP states, "the relative position of an item in an array..."

Think about what VALUE that would be for A:M, if your lookup value were in M65536. (it would be 13 * 65,536, or 851,968) Would you know what to do with that number?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top