×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Dynamic MATCH function range

Dynamic MATCH function range

Dynamic MATCH function range

(OP)
Hi,

In a table of data, I'm using INDEX-MATCH to return a value from the Header_Row, based on the column of a Target_Value. With a fixed Search_Row, the formula is:

=INDEX(Header_Row,1,MATCH(Target_Value,Search_Row,-1)+1) This works perfectly. thumbsup

But, the table has 10 rows, with Names in column A7 to A17 and numbers in the range C7 to AB17.

How can I make the reference Search_Row dynamic, determined by the chosen Name?

Chris

Someday I'll know what I'm donig...damn!

RE: Dynamic MATCH function range

Something like the following:

=INDEX(Header_Row,MATCH(Target_Value,OFFSET(B6,MATCH(Chosen_Name,Names,0),0,1,Columns(Header_Row)),-1))

(where Names in your example is range A7:A17)

RE: Dynamic MATCH function range

Did this help at all?

RE: Dynamic MATCH function range

(OP)
Hi strongm, I'm sorry I didn't reply sooner, but we were sidetracked to another project and now off for Christmas. I'll try it out during the break and get back to you ASAP OK?
Thanks for helping, and have a merry Christmas and Happy New year 😊

Chris

Someday I'll know what I'm donig...damn!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close