Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dee
 
Posts: n/a
Default named range with filter

hi,

Can you create a named range (using offset) and include a filter in this
named range?

thanks
  #2   Report Post  
Richard Buttrey
 
Posts: n/a
Default named range with filter

On Mon, 17 Oct 2005 03:20:03 -0700, dee
wrote:

hi,

Can you create a named range (using offset) and include a filter in this
named range?

thanks


You can use either Insert Name Create or Insert Name Define.

With text "TEST1" in A1, highlight A1:D5 choose Insert Name Create and
select Top row and Left column. This sets the range name Test1 to
A2:D5 .


Insert Name Define, Name = "Test2", type the following in the Refers
to box:

=OFFSET(Sheet1!$A$10:$D$15,0,0):OFFSET(Sheet1!$A$1 0,5,5)

This sets the range name "Test2" to A10:F15

Better still just select the range you're interested in and type the
name you want, in the Name box immediately above the column A heading.

I can see no reason why filters won't work with these ranges.

HTH
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #3   Report Post  
confused
 
Posts: n/a
Default named range with filter

Hi,

thanks for your help, however, i understand how to create named ranges, but
i am wondering if it is possible to include a filter within the named range.
so for example, the named range will refer dynamically to the non zero rows
of a worksheet, where columnA = 'true'.
then when I copy and paste, the named range will only paste those non zero
rows which meet the filter criteria

thanks

"Richard Buttrey" wrote:

On Mon, 17 Oct 2005 03:20:03 -0700, dee
wrote:

hi,

Can you create a named range (using offset) and include a filter in this
named range?

thanks


You can use either Insert Name Create or Insert Name Define.

With text "TEST1" in A1, highlight A1:D5 choose Insert Name Create and
select Top row and Left column. This sets the range name Test1 to
A2:D5 .


Insert Name Define, Name = "Test2", type the following in the Refers
to box:

=OFFSET(Sheet1!$A$10:$D$15,0,0):OFFSET(Sheet1!$A$1 0,5,5)

This sets the range name "Test2" to A10:F15

Better still just select the range you're interested in and type the
name you want, in the Name box immediately above the column A heading.

I can see no reason why filters won't work with these ranges.

HTH
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________

  #4   Report Post  
Tom Ogilvy
 
Posts: n/a
Default named range with filter

If you copy and paste a filtered range, only the visible rows are pasted.

If you want non-zero rows, you need to include that criteria in your filter

--
Regards,
Tom Ogilvy


"confused" wrote in message
...
Hi,

thanks for your help, however, i understand how to create named ranges,

but
i am wondering if it is possible to include a filter within the named

range.
so for example, the named range will refer dynamically to the non zero

rows
of a worksheet, where columnA = 'true'.
then when I copy and paste, the named range will only paste those non zero
rows which meet the filter criteria

thanks

"Richard Buttrey" wrote:

On Mon, 17 Oct 2005 03:20:03 -0700, dee
wrote:

hi,

Can you create a named range (using offset) and include a filter in

this
named range?

thanks


You can use either Insert Name Create or Insert Name Define.

With text "TEST1" in A1, highlight A1:D5 choose Insert Name Create and
select Top row and Left column. This sets the range name Test1 to
A2:D5 .


Insert Name Define, Name = "Test2", type the following in the Refers
to box:

=OFFSET(Sheet1!$A$10:$D$15,0,0):OFFSET(Sheet1!$A$1 0,5,5)

This sets the range name "Test2" to A10:F15

Better still just select the range you're interested in and type the
name you want, in the Name box immediately above the column A heading.

I can see no reason why filters won't work with these ranges.

HTH
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________



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
Lookup in named range JaB Excel Discussion (Misc queries) 3 September 26th 05 01:51 PM
Excel will not include all of my non-adj ranges in a named range?? Renlimanit Excel Worksheet Functions 3 September 22nd 05 02:34 PM
Dynamic named range across multiple sheets babycody Excel Discussion (Misc queries) 3 July 24th 05 06:03 AM
Advanced filter and Criteria Range gearoid Excel Discussion (Misc queries) 2 July 20th 05 02:33 PM
Count formula within a named range. PW11111 Excel Discussion (Misc queries) 2 July 19th 05 09:29 AM


All times are GMT +1. The time now is 11:19 PM.

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"