Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default VLOOKUP quickstep

Instead of pointing to a specific sheet and data range for the second
VLOOKUP particular, I found that if one merely highlights the data range
in the "lookup sheet", then enters a name for that data range in the
upper left corner of the sheet while it is highlighted, then all that
"sheetname!A:B" etc. stuff can be replaced simply by the new tagname you
gave to that data range highlighted selection as in the example:

Lookup cell is: A1 (replace with your cell)
Tagged range name is: looktable (replace with your tag name)
grabbed data column is: 3 (replace with your data column number)

so:

VLOOKUP (A1,looktable,3,FALSE)

no more bangs or cell range calls!

This would be for fixed range selections given a tag name. If your
lookup table continually expands, you'll have to expand the range given
to the tag name, or tag it each time before applying the lookup. (I
think)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default VLOOKUP quickstep

Depending on your layout, you may find it easier just make sure that the range
includes the whole column (select A:E, then name that, for example.)

Alternatively, you may be able to use a dynamic range that grows and contracts
with your data.

See Debra Dalgleish's site for more information:
http://contextures.com/xlNames01.html#Dynamic

The Great Attractor wrote:

Instead of pointing to a specific sheet and data range for the second
VLOOKUP particular, I found that if one merely highlights the data range
in the "lookup sheet", then enters a name for that data range in the
upper left corner of the sheet while it is highlighted, then all that
"sheetname!A:B" etc. stuff can be replaced simply by the new tagname you
gave to that data range highlighted selection as in the example:

Lookup cell is: A1 (replace with your cell)
Tagged range name is: looktable (replace with your tag name)
grabbed data column is: 3 (replace with your data column number)

so:

VLOOKUP (A1,looktable,3,FALSE)

no more bangs or cell range calls!

This would be for fixed range selections given a tag name. If your
lookup table continually expands, you'll have to expand the range given
to the tag name, or tag it each time before applying the lookup. (I
think)


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VLOOKUP quickstep

You can give just about every range you need to refer to like that a name.
Some people like to name their ranges, I normally don't, but that's just my
preference.

If you have a range of data that expands you can also name that range. It's
called a dynamic range. There are instructions he

http://contextures.com/xlNames01.html#Dynamic

Biff

"The Great Attractor"
<SuperM@ssiveBlackHoleAtTheCenterOfTheMilkyWayGala xy.org wrote in message
...
Instead of pointing to a specific sheet and data range for the second
VLOOKUP particular, I found that if one merely highlights the data range
in the "lookup sheet", then enters a name for that data range in the
upper left corner of the sheet while it is highlighted, then all that
"sheetname!A:B" etc. stuff can be replaced simply by the new tagname you
gave to that data range highlighted selection as in the example:

Lookup cell is: A1 (replace with your cell)
Tagged range name is: looktable (replace with your tag name)
grabbed data column is: 3 (replace with your data column number)

so:

VLOOKUP (A1,looktable,3,FALSE)

no more bangs or cell range calls!

This would be for fixed range selections given a tag name. If your
lookup table continually expands, you'll have to expand the range given
to the tag name, or tag it each time before applying the lookup. (I
think)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VLOOKUP quickstep

Some people like to name their ranges, I normally don't

Here's why:

=VLOOKUP(Sales,Table,2,0)

Looking at that formula I don't know where either Sales or Table is located.
Of course I can find them if I look for 'em.

=VLOOKUP(A1,Sheet2!A1:B100,2,0)

Looking at that formula I know where everything is without having to look
for it!

The only time I use names is to shorten a really long complex formula.

But, that's just my preference.

Biff

"T. Valko" wrote in message
...
You can give just about every range you need to refer to like that a name.
Some people like to name their ranges, I normally don't, but that's just
my preference.

If you have a range of data that expands you can also name that range.
It's called a dynamic range. There are instructions he

http://contextures.com/xlNames01.html#Dynamic

Biff

"The Great Attractor"
<SuperM@ssiveBlackHoleAtTheCenterOfTheMilkyWayGala xy.org wrote in message
...
Instead of pointing to a specific sheet and data range for the second
VLOOKUP particular, I found that if one merely highlights the data range
in the "lookup sheet", then enters a name for that data range in the
upper left corner of the sheet while it is highlighted, then all that
"sheetname!A:B" etc. stuff can be replaced simply by the new tagname you
gave to that data range highlighted selection as in the example:

Lookup cell is: A1 (replace with your cell)
Tagged range name is: looktable (replace with your tag name)
grabbed data column is: 3 (replace with your data column number)

so:

VLOOKUP (A1,looktable,3,FALSE)

no more bangs or cell range calls!

This would be for fixed range selections given a tag name. If your
lookup table continually expands, you'll have to expand the range given
to the tag name, or tag it each time before applying the lookup. (I
think)





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default VLOOKUP quickstep

Makes sense to me Biff.

I rarely use rangenames unless I need to like in DV list source.


Gord

On Tue, 22 May 2007 22:35:28 -0400, "T. Valko" wrote:

Some people like to name their ranges, I normally don't


Here's why:

=VLOOKUP(Sales,Table,2,0)

Looking at that formula I don't know where either Sales or Table is located.
Of course I can find them if I look for 'em.

=VLOOKUP(A1,Sheet2!A1:B100,2,0)

Looking at that formula I know where everything is without having to look
for it!

The only time I use names is to shorten a really long complex formula.

But, that's just my preference.

Biff

"T. Valko" wrote in message
...
You can give just about every range you need to refer to like that a name.
Some people like to name their ranges, I normally don't, but that's just
my preference.

If you have a range of data that expands you can also name that range.
It's called a dynamic range. There are instructions he

http://contextures.com/xlNames01.html#Dynamic

Biff

"The Great Attractor"
<SuperM@ssiveBlackHoleAtTheCenterOfTheMilkyWayGala xy.org wrote in message
...
Instead of pointing to a specific sheet and data range for the second
VLOOKUP particular, I found that if one merely highlights the data range
in the "lookup sheet", then enters a name for that data range in the
upper left corner of the sheet while it is highlighted, then all that
"sheetname!A:B" etc. stuff can be replaced simply by the new tagname you
gave to that data range highlighted selection as in the example:

Lookup cell is: A1 (replace with your cell)
Tagged range name is: looktable (replace with your tag name)
grabbed data column is: 3 (replace with your data column number)

so:

VLOOKUP (A1,looktable,3,FALSE)

no more bangs or cell range calls!

This would be for fixed range selections given a tag name. If your
lookup table continually expands, you'll have to expand the range given
to the tag name, or tag it each time before applying the lookup. (I
think)







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VLOOKUP quickstep

I rarely use rangenames unless I need to like in DV list source.

Yeah, I use them in those cases also. I should rephrase my statement:

The only time I use names is if I have to or to shorten a really long
complex formula.

Biff

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Makes sense to me Biff.

I rarely use rangenames unless I need to like in DV list source.


Gord

On Tue, 22 May 2007 22:35:28 -0400, "T. Valko"
wrote:

Some people like to name their ranges, I normally don't


Here's why:

=VLOOKUP(Sales,Table,2,0)

Looking at that formula I don't know where either Sales or Table is
located.
Of course I can find them if I look for 'em.

=VLOOKUP(A1,Sheet2!A1:B100,2,0)

Looking at that formula I know where everything is without having to look
for it!

The only time I use names is to shorten a really long complex formula.

But, that's just my preference.

Biff

"T. Valko" wrote in message
...
You can give just about every range you need to refer to like that a
name.
Some people like to name their ranges, I normally don't, but that's just
my preference.

If you have a range of data that expands you can also name that range.
It's called a dynamic range. There are instructions he

http://contextures.com/xlNames01.html#Dynamic

Biff

"The Great Attractor"
<SuperM@ssiveBlackHoleAtTheCenterOfTheMilkyWayGala xy.org wrote in
message
...
Instead of pointing to a specific sheet and data range for the second
VLOOKUP particular, I found that if one merely highlights the data
range
in the "lookup sheet", then enters a name for that data range in the
upper left corner of the sheet while it is highlighted, then all that
"sheetname!A:B" etc. stuff can be replaced simply by the new tagname
you
gave to that data range highlighted selection as in the example:

Lookup cell is: A1 (replace with your cell)
Tagged range name is: looktable (replace with your tag name)
grabbed data column is: 3 (replace with your data column number)

so:

VLOOKUP (A1,looktable,3,FALSE)

no more bangs or cell range calls!

This would be for fixed range selections given a tag name. If your
lookup table continually expands, you'll have to expand the range given
to the tag name, or tag it each time before applying the lookup. (I
think)






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default VLOOKUP quickstep



OK. I have a VB code segment now that will place a parenthesized image
filename into a cell as a graphic.

How do I inject that filename by way of a lookup?

Like, the cell location where the image is displayed is one item, but
the lookup that grabs the filename out of my "Image_Pointer" sheet
needs to make that lookup into a variable that the VB code uses to place
the image at the cell location.

I don't know how to perform a lookup, then declare the results as a
variable, then have the VB code use that variable data as the filename.

I have done some hunting, but still am a bit confused.

I loved the Paradox API back in the 286 days. :-], but it has also
been about that long since I did any of this stuff.


On Wed, 23 May 2007 00:26:45 -0400, "T. Valko"
wrote:

I rarely use rangenames unless I need to like in DV list source.


Yeah, I use them in those cases also. I should rephrase my statement:

The only time I use names is if I have to or to shorten a really long
complex formula.

Biff

"Gord Dibben" <gorddibbATshawDOTca wrote in message
.. .
Makes sense to me Biff.

I rarely use rangenames unless I need to like in DV list source.


Gord

On Tue, 22 May 2007 22:35:28 -0400, "T. Valko"
wrote:

Some people like to name their ranges, I normally don't

Here's why:

=VLOOKUP(Sales,Table,2,0)

Looking at that formula I don't know where either Sales or Table is
located.
Of course I can find them if I look for 'em.

=VLOOKUP(A1,Sheet2!A1:B100,2,0)

Looking at that formula I know where everything is without having to look
for it!

The only time I use names is to shorten a really long complex formula.

But, that's just my preference.

Biff

"T. Valko" wrote in message
...
You can give just about every range you need to refer to like that a
name.
Some people like to name their ranges, I normally don't, but that's just
my preference.

If you have a range of data that expands you can also name that range.
It's called a dynamic range. There are instructions he

http://contextures.com/xlNames01.html#Dynamic

Biff

"The Great Attractor"
<SuperM@ssiveBlackHoleAtTheCenterOfTheMilkyWayGala xy.org wrote in
message
...
Instead of pointing to a specific sheet and data range for the second
VLOOKUP particular, I found that if one merely highlights the data
range
in the "lookup sheet", then enters a name for that data range in the
upper left corner of the sheet while it is highlighted, then all that
"sheetname!A:B" etc. stuff can be replaced simply by the new tagname
you
gave to that data range highlighted selection as in the example:

Lookup cell is: A1 (replace with your cell)
Tagged range name is: looktable (replace with your tag name)
grabbed data column is: 3 (replace with your data column number)

so:

VLOOKUP (A1,looktable,3,FALSE)

no more bangs or cell range calls!

This would be for fixed range selections given a tag name. If your
lookup table continually expands, you'll have to expand the range given
to the tag name, or tag it each time before applying the lookup. (I
think)





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
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(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? bchilt Excel Worksheet Functions 6 January 20th 06 09:21 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 06:36 PM.

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"