Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default VLOOKUP with INDIRECT

I would like the formula to reference cell A43 to know which worksheet to go
to and use it as the lookup criteria for VLOOKUP. Below is the formula I have
but it is not working, I am getting #VALUE! as a result.


=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!" & $A$3:$AB$30),5,FALSE)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default VLOOKUP with INDIRECT

Try it like this:

=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!A3:AB30"),5,0)

So, you're looking up the sheet name (A43) on the sheet named in A43? That's
what your formula is doing.

--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
I would like the formula to reference cell A43 to know which worksheet to
go
to and use it as the lookup criteria for VLOOKUP. Below is the formula I
have
but it is not working, I am getting #VALUE! as a result.


=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!" & $A$3:$AB$30),5,FALSE)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default VLOOKUP with INDIRECT

Think I am a step closer but now I am getting #N/A

"T. Valko" wrote:

Try it like this:

=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!A3:AB30"),5,0)

So, you're looking up the sheet name (A43) on the sheet named in A43? That's
what your formula is doing.

--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
I would like the formula to reference cell A43 to know which worksheet to
go
to and use it as the lookup criteria for VLOOKUP. Below is the formula I
have
but it is not working, I am getting #VALUE! as a result.


=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!" & $A$3:$AB$30),5,FALSE)




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default VLOOKUP with INDIRECT

That means the lookup value can't be found.

Did you note my observation:

you're looking up the sheet name (A43) on the sheet named
in A43? That's what your formula is doing.


Is that what you want to do?


--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
Think I am a step closer but now I am getting #N/A

"T. Valko" wrote:

Try it like this:

=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!A3:AB30"),5,0)

So, you're looking up the sheet name (A43) on the sheet named in A43?
That's
what your formula is doing.

--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
I would like the formula to reference cell A43 to know which worksheet
to
go
to and use it as the lookup criteria for VLOOKUP. Below is the formula
I
have
but it is not working, I am getting #VALUE! as a result.


=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!" & $A$3:$AB$30),5,FALSE)






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default VLOOKUP with INDIRECT

Yeah your formula works perfect my lookup was referencing the wrong cell.
Thanks for your help!

Should have been this instead.

=VLOOKUP($O$63,INDIRECT("'" & $A$43 & "'!A3:AB30"),5,0)



"T. Valko" wrote:

That means the lookup value can't be found.

Did you note my observation:

you're looking up the sheet name (A43) on the sheet named
in A43? That's what your formula is doing.


Is that what you want to do?


--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
Think I am a step closer but now I am getting #N/A

"T. Valko" wrote:

Try it like this:

=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!A3:AB30"),5,0)

So, you're looking up the sheet name (A43) on the sheet named in A43?
That's
what your formula is doing.

--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
I would like the formula to reference cell A43 to know which worksheet
to
go
to and use it as the lookup criteria for VLOOKUP. Below is the formula
I
have
but it is not working, I am getting #VALUE! as a result.


=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!" & $A$3:$AB$30),5,FALSE)








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default VLOOKUP with INDIRECT

Good deal! Thanks for the feedback.

--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
Yeah your formula works perfect my lookup was referencing the wrong cell.
Thanks for your help!

Should have been this instead.

=VLOOKUP($O$63,INDIRECT("'" & $A$43 & "'!A3:AB30"),5,0)



"T. Valko" wrote:

That means the lookup value can't be found.

Did you note my observation:

you're looking up the sheet name (A43) on the sheet named
in A43? That's what your formula is doing.


Is that what you want to do?


--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
Think I am a step closer but now I am getting #N/A

"T. Valko" wrote:

Try it like this:

=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!A3:AB30"),5,0)

So, you're looking up the sheet name (A43) on the sheet named in A43?
That's
what your formula is doing.

--
Biff
Microsoft Excel MVP


"AirgasRob" wrote in message
...
I would like the formula to reference cell A43 to know which
worksheet
to
go
to and use it as the lookup criteria for VLOOKUP. Below is the
formula
I
have
but it is not working, I am getting #VALUE! as a result.


=VLOOKUP($A$43,INDIRECT("'" & $A$43 & "'!" & $A$3:$AB$30),5,FALSE)








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
Indirect VLookup mcp201 Excel Discussion (Misc queries) 1 May 2nd 08 09:50 PM
VLOOKUP WITH INDIRECT excelent Excel Discussion (Misc queries) 3 March 13th 08 02:42 PM
VLOOKUP & INDIRECT Graham Y Excel Discussion (Misc queries) 2 April 3rd 07 04:18 PM
Indirect/Vlookup/??? Light Excel Discussion (Misc queries) 2 October 5th 06 02:05 PM
Indirect Vlookup with RC[-1] outwest Excel Worksheet Functions 6 March 12th 06 10:08 PM


All times are GMT +1. The time now is 11:51 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"