CONCATENATE within VLOOKUP

  • Thread starter Thread starter ddudar
  • Start date Start date
D

ddudar

I am using a VLOOKUP formula, as follows
=VLOOKUP(F390,CONCATENATE("table",M390),6)

When I use the CONCATENATE formula alone, it produces the expecte
result, which is a name for a named range found in hte worksheet.
However, used within the VLOOKUP formula, it produces #VALUE! as th
result. Error help on this formula suggests that Excel is processin
the result of the CONCATENATE function within VLOOKUP as within doubl
quotation marks (ie. "table1"), and it cannot process this.

Can anyone suggest a solution, or a workaround?

Thanks

Do
 
Frank,

I am trying to build a lookup, referring to naned ranges, where th
name range is defined as "table" plus a number found in another field.

Do
 
Try this:

=VLOOKUP(F390,INDIRECT("table"&M390),6)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


I am using a VLOOKUP formula, as follows:
=VLOOKUP(F390,CONCATENATE("table",M390),6)

When I use the CONCATENATE formula alone, it produces the expected
result, which is a name for a named range found in hte worksheet.
However, used within the VLOOKUP formula, it produces #VALUE! as the
result. Error help on this formula suggests that Excel is processing
the result of the CONCATENATE function within VLOOKUP as within double
quotation marks (ie. "table1"), and it cannot process this.

Can anyone suggest a solution, or a workaround?

Thanks

Don
 

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

Back
Top