#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default List as Range

I am loading multiple sheets with external data. I am going to load each set
of data into a different "List". I would like to use the List as a range in
other functions, ie use the Vlookup to scan the List.

Anyone familiar with how to set a Range equal to a List?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default List as Range

Are you asking how to use it in a worksheet formula or how to set the range
equal to the range a name refers to in VB?

For worksheet (or even VB) you are going to start by defining the named
range. Lets say your table goes from cell A1 over and down to D100. Select
cells A1:D100 and enter a name for the list into the Name Box (the place
where the address of the currently selected cell is usually shown - just
above the "A" column indicator). Type in a name for the selected cells as
maybe MyLookupTable. Press the [Enter] key - important step, don't skip it.

Then in a VLOOKUP formula in the workbook you could use it in this fashion:
=VLOOKUP(X4,MyLookupTable,4,False)
same as writing
=VLOOKUP(X4,Sheetn!A1:D100,4,False)

Does that help any?

"Troubled User" wrote:

I am loading multiple sheets with external data. I am going to load each set
of data into a different "List". I would like to use the List as a range in
other functions, ie use the Vlookup to scan the List.

Anyone familiar with how to set a Range equal to a List?

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
how do I paste range name list? Adesso Excel Worksheet Functions 2 January 20th 07 10:22 AM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
Create a list range Brick72 Excel Worksheet Functions 2 October 6th 05 06:40 PM
Condensing a list/range with blank cells to a new list/range without blanks KR Excel Worksheet Functions 4 July 5th 05 04:23 PM
how do i define a range as a list when there is no list option in. Domespacio Excel Worksheet Functions 2 May 25th 05 11:36 AM


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