Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default vlookup with range reference

Hi there,

Does anyone know how to successfully put a range reference in a vlookup
formula?

Let me explain:
I have a range set up as JanWeek1 (which refers to a range on another sheet
within the same workbook).
Now, the vlookup formula = vlookup(A1,Z1,3,0) but it gives me an error
because Z1 = "JanWeek1" (set up as text or general field). Is there another
way of doing this without sacrificing my reference to Z1 as the range
reference?

Thank you in advance,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default vlookup with range reference

Hi
Try
= vlookup(A1,Indirect(Z1),3,0)

--
Regards
Roger Govier

"PsyberFox" wrote in message
...
Hi there,

Does anyone know how to successfully put a range reference in a vlookup
formula?

Let me explain:
I have a range set up as JanWeek1 (which refers to a range on another
sheet
within the same workbook).
Now, the vlookup formula = vlookup(A1,Z1,3,0) but it gives me an error
because Z1 = "JanWeek1" (set up as text or general field). Is there
another
way of doing this without sacrificing my reference to Z1 as the range
reference?

Thank you in advance,


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default vlookup with range reference

Blud-e marvelous! Thank you! I kinda thought I knew Excel, but obviously
there are a myriad of functions I know nothing about.
Thx again!
W

"Roger Govier" wrote:

Hi
Try
= vlookup(A1,Indirect(Z1),3,0)

--
Regards
Roger Govier

"PsyberFox" wrote in message
...
Hi there,

Does anyone know how to successfully put a range reference in a vlookup
formula?

Let me explain:
I have a range set up as JanWeek1 (which refers to a range on another
sheet
within the same workbook).
Now, the vlookup formula = vlookup(A1,Z1,3,0) but it gives me an error
because Z1 = "JanWeek1" (set up as text or general field). Is there
another
way of doing this without sacrificing my reference to Z1 as the range
reference?

Thank you in advance,


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default vlookup with range reference

Set the range up as =Sheet1!

On Mon, 11 Feb 2008 07:07:01 -0800, PsyberFox
wrote:

Hi there,

Does anyone know how to successfully put a range reference in a vlookup
formula?

Let me explain:
I have a range set up as JanWeek1 (which refers to a range on another sheet
within the same workbook).
Now, the vlookup formula = vlookup(A1,Z1,3,0) but it gives me an error
because Z1 = "JanWeek1" (set up as text or general field). Is there another
way of doing this without sacrificing my reference to Z1 as the range
reference?

Thank you in advance,


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default vlookup with range reference

Clicked too soon.

Roger has replied with good suggestion so ignore all of this<g


Gord Dibben MS Excel MVP

On Mon, 11 Feb 2008 11:01:01 -0800, Gord Dibben <gorddibbATshawDOTca wrote:

Set the range up as =Sheet1!

On Mon, 11 Feb 2008 07:07:01 -0800, PsyberFox
wrote:

Hi there,

Does anyone know how to successfully put a range reference in a vlookup
formula?

Let me explain:
I have a range set up as JanWeek1 (which refers to a range on another sheet
within the same workbook).
Now, the vlookup formula = vlookup(A1,Z1,3,0) but it gives me an error
because Z1 = "JanWeek1" (set up as text or general field). Is there another
way of doing this without sacrificing my reference to Z1 as the range
reference?

Thank you in advance,


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 using a tab name to reference the lookup range timmulla Excel Discussion (Misc queries) 3 July 23rd 07 05:57 PM
VLOOKUP variable range cell reference Ohp Excel Worksheet Functions 2 July 3rd 07 02:52 PM
automatic range - named range give me circular reference... George Thorogood Excel Discussion (Misc queries) 0 February 22nd 07 07:53 PM
Vlookup - dynamic range reference? aseanor Excel Discussion (Misc queries) 7 August 17th 06 11:32 PM
use a cell to reference a range in a vlookup Dan Excel Discussion (Misc queries) 4 July 27th 05 07:36 PM


All times are GMT +1. The time now is 01:19 AM.

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"