#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vlookup

I am utilizing a vlookup function for retrieving data from multiple
worksheets. I had hoped that I could concatenate a range name and utilize
that as the table array value in the Vlookup function, but I get a "#NA"
value back. I did the concatenate function in another cell and it properly
returned the name of the range name that defines my data range, but either
utilizing the concatenate function in Excel or referencing the cell in the
vlookup function produces an error. Can someone give me an idea.

=CONCATENATE("SAPP",RIGHT(C1,2)) - this returns "SAPP24" - I would like this
to return anything between SAPP24 to SAPP31.

When I insert this value into the below Vlookup function:

=VLOOKUP(A25,B24,6) and run the error analysis, the first value (A25) in the
function returns the proper text, but I get the error when it tries to refer
to cell B24 which is the "Concatentate" function listed above.

Any help would be greatly appreciated.
--
Thanks,
SMH
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup

As long as "SAPP24" is in the same workbook:

=VLOOKUP(A25,INDIRECT(B24),6)

--
Biff
Microsoft Excel MVP


"keydet1979" wrote in message
...
I am utilizing a vlookup function for retrieving data from multiple
worksheets. I had hoped that I could concatenate a range name and utilize
that as the table array value in the Vlookup function, but I get a "#NA"
value back. I did the concatenate function in another cell and it properly
returned the name of the range name that defines my data range, but either
utilizing the concatenate function in Excel or referencing the cell in the
vlookup function produces an error. Can someone give me an idea.

=CONCATENATE("SAPP",RIGHT(C1,2)) - this returns "SAPP24" - I would like
this
to return anything between SAPP24 to SAPP31.

When I insert this value into the below Vlookup function:

=VLOOKUP(A25,B24,6) and run the error analysis, the first value (A25) in
the
function returns the proper text, but I get the error when it tries to
refer
to cell B24 which is the "Concatentate" function listed above.

Any help would be greatly appreciated.
--
Thanks,
SMH



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 09:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"