MATCH function...AGAIN

  • Thread starter F. Lawrence Kulchar
  • Start date
F

F. Lawrence Kulchar

In cell D2, I have the number 1.

The following concatenation

="A"&(D2+1)&":A21"

works out to be...A2:A21

WHY CAN I NOT USE THIS AS MY REFERENCE LOOK-UP IN THE MATCH FUNCTION??

IN OTHER WORDS, =MATCH($C$2,"A"&(D2+1)&":A21",0)
does NOT work?

Please help?

Thanks,

FLKulchar
 
F

F. Lawrence Kulchar

In other words, I wish to use the A2:A21 as a range reference??

FLKulchar
 
G

Gary''s Student

You are very close!!

=MATCH($C$2,INDIRECT("A"&(D2+1)&":A21"),0)

whenever you are using a formula that displays a string like Z2:Z34
you need to use INDIRECT() because MATCH() wants a true range and not just a
string
 
F

FLKulchar

Thank you...

Now..It is PERFECT!!

thanks for the help...my MATCH "pulldown" now works thanks to your help.

FLKulchar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top