Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Lookup tab based on cell reference

OK, so I'm trying to set up a simple VLOOKUP.

What I'd like to do is, have the user enter a value in cell A2, tab name in
cell B2, and have C2 return the corresponding value. The problem I'm having
is, how do I get VLOOKUP to search in the tab name as listed in B2? Or do I
need a whole different type of formula?

Don't tell me, it's a SUMPRODUCT of some sort... :-)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Lookup tab based on cell reference

Look in HELP for the INDIRECT() function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Sean Timmons" wrote in message ...
| OK, so I'm trying to set up a simple VLOOKUP.
|
| What I'd like to do is, have the user enter a value in cell A2, tab name in
| cell B2, and have C2 return the corresponding value. The problem I'm having
| is, how do I get VLOOKUP to search in the tab name as listed in B2? Or do I
| need a whole different type of formula?
|
| Don't tell me, it's a SUMPRODUCT of some sort... :-)


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Lookup tab based on cell reference

My apologies, I should have specified. The tab reference is on another
workbook. I can't seem to get the indirect function embedded in my VLOOKUP.

"Niek Otten" wrote:

Look in HELP for the INDIRECT() function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Sean Timmons" wrote in message ...
| OK, so I'm trying to set up a simple VLOOKUP.
|
| What I'd like to do is, have the user enter a value in cell A2, tab name in
| cell B2, and have C2 return the corresponding value. The problem I'm having
| is, how do I get VLOOKUP to search in the tab name as listed in B2? Or do I
| need a whole different type of formula?
|
| Don't tell me, it's a SUMPRODUCT of some sort... :-)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Lookup tab based on cell reference

Indirect only works on *open* WBs.

However, Laurent Longre has an "Indirect.ext" function which is supposed to
work on closed WBs.
Look he
http://xcell05.free.fr/
And click on the English page, and look for "Indirect.ext".

Harlan Grove also has created something that will work with closed files.
Look he
ftp://members.aol.com/hrlngrv/
And click on "Pull.zip".
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"Sean Timmons" wrote in message
...
My apologies, I should have specified. The tab reference is on another
workbook. I can't seem to get the indirect function embedded in my
VLOOKUP.

"Niek Otten" wrote:

Look in HELP for the INDIRECT() function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Sean Timmons" wrote in message
...
| OK, so I'm trying to set up a simple VLOOKUP.
|
| What I'd like to do is, have the user enter a value in cell A2, tab
name in
| cell B2, and have C2 return the corresponding value. The problem I'm
having
| is, how do I get VLOOKUP to search in the tab name as listed in B2? Or
do I
| need a whole different type of formula?
|
| Don't tell me, it's a SUMPRODUCT of some sort... :-)




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
Cell References [email protected] Excel Discussion (Misc queries) 2 November 15th 06 11:37 PM
Lookup a value and return its cell reference instead of the value LBenslay Excel Discussion (Misc queries) 1 July 19th 06 06:20 PM
Highlighted Reference Cell for a Working Cell Mr. Low Excel Worksheet Functions 0 June 22nd 06 04:27 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


All times are GMT +1. The time now is 06:35 AM.

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

About Us

"It's about Microsoft Excel"