Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Filtering a dynamic range

Hiya,

I have a dynamic range set up (named range) - this is 8 columns across and
loads (varying) of rows down. Lets call it DATA.

For a vlookup, however, I only want to look at columns 3-7.

Is there anyway that I can filter the existing dynamic range rather than
creating a new one?

PS I know it would make no difference if I have 3-8 in the range, but I want
to learn how to do filter at both ends for something else.

Thanks guys!

B
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Filtering a dynamic range

I do not understand your question. please give me your definition of filtering

"Basil" wrote:

Hiya,

I have a dynamic range set up (named range) - this is 8 columns across and
loads (varying) of rows down. Lets call it DATA.

For a vlookup, however, I only want to look at columns 3-7.

Is there anyway that I can filter the existing dynamic range rather than
creating a new one?

PS I know it would make no difference if I have 3-8 in the range, but I want
to learn how to do filter at both ends for something else.

Thanks guys!

B

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Filtering a dynamic range

Instead of the range looking at Columns A to H, I want to look at columns B
to G.

"bj" wrote:

I do not understand your question. please give me your definition of filtering

"Basil" wrote:

Hiya,

I have a dynamic range set up (named range) - this is 8 columns across and
loads (varying) of rows down. Lets call it DATA.

For a vlookup, however, I only want to look at columns 3-7.

Is there anyway that I can filter the existing dynamic range rather than
creating a new one?

PS I know it would make no difference if I have 3-8 in the range, but I want
to learn how to do filter at both ends for something else.

Thanks guys!

B

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Filtering a dynamic range

If you want to use column B for the lookup range in a vlookup, just set your
formula as =vlookup(lookupvalue,B:G,column numberusing B as 1, 0)
if you want to extract anything from column A you can use index-match
formulas.

"Basil" wrote:

Instead of the range looking at Columns A to H, I want to look at columns B
to G.

"bj" wrote:

I do not understand your question. please give me your definition of filtering

"Basil" wrote:

Hiya,

I have a dynamic range set up (named range) - this is 8 columns across and
loads (varying) of rows down. Lets call it DATA.

For a vlookup, however, I only want to look at columns 3-7.

Is there anyway that I can filter the existing dynamic range rather than
creating a new one?

PS I know it would make no difference if I have 3-8 in the range, but I want
to learn how to do filter at both ends for something else.

Thanks guys!

B

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Filtering a dynamic range

Hi Basil

One way, create a new named range, Data2
=INDEX(data,1,3):INDEX(data,COUNTA(Sheet3!C:C),7)

this will give you columns C:G for as many rows as you have in column C
of your table.
If there is another column which always has values, whereas other
columns may be blank, then carry out the COUNTA() function on that
column, even if it is outside the range of the columns you want to look
at.

You could hold the variables, for first column 3, and last column 7 in
cells, and substitute those cells in the formula.
That way, you could re-define Data2 just by altering those cell's
values.
--
Regards

Roger Govier


"Basil" wrote in message
...
Instead of the range looking at Columns A to H, I want to look at
columns B
to G.

"bj" wrote:

I do not understand your question. please give me your definition of
filtering

"Basil" wrote:

Hiya,

I have a dynamic range set up (named range) - this is 8 columns
across and
loads (varying) of rows down. Lets call it DATA.

For a vlookup, however, I only want to look at columns 3-7.

Is there anyway that I can filter the existing dynamic range rather
than
creating a new one?

PS I know it would make no difference if I have 3-8 in the range,
but I want
to learn how to do filter at both ends for something else.

Thanks guys!

B





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Filtering a dynamic range

Maybe something like

=VLOOKUP("some_value",OFFSET(dynarange,2,0),2,FALS E)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Basil" wrote in message
...
Hiya,

I have a dynamic range set up (named range) - this is 8 columns across and
loads (varying) of rows down. Lets call it DATA.

For a vlookup, however, I only want to look at columns 3-7.

Is there anyway that I can filter the existing dynamic range rather than
creating a new one?

PS I know it would make no difference if I have 3-8 in the range, but I
want
to learn how to do filter at both ends for something else.

Thanks guys!

B



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
filtering on range of values mkrijger Excel Discussion (Misc queries) 1 February 10th 07 02:11 PM
Advanced Filtering Extract Range Missing,etc bridges_22 Excel Worksheet Functions 1 February 6th 06 04:19 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Excel auto filtering to find a range of dates in a list Candy Excel Discussion (Misc queries) 2 January 31st 06 02:32 PM
Dynamic range - is there a better way?... Jon Excel Worksheet Functions 0 November 9th 05 08:09 PM


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