Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Autofilter on rows instead of columns

Hi all !

I use Excel 2002 and I'd like to use the 'autofilter' function ('Data' menu
- filter - autofilter) but instead of sorting on criterias by columns, I'd
like to sort on rows (my sheet has the criterias on the side rather than on
the top !)

Thanks for help ! ;)

Laurent
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Autofilter on rows instead of columns

Hi

I think you have it the wrong way round. Filter normally Filters by row,
with the criteria in the top row of the set of data to be filtered.

You are wishing to Filter / Hide columns across the sheet base upon
criteria in the first column.
There is no built in method for doing this.
Debra Dalgleish has a simple workbook with some code to achieve this on
her site at

http://www.contextures.com/AdvFilterStateNum.zip

Here the criteria are still set in the top row, so you could either copy
your criteria to the first row, or amend the code.

--
Regards

Roger Govier


"Laurent" wrote in message
...
Hi all !

I use Excel 2002 and I'd like to use the 'autofilter' function ('Data'
menu
- filter - autofilter) but instead of sorting on criterias by
columns, I'd
like to sort on rows (my sheet has the criterias on the side rather
than on
the top !)

Thanks for help ! ;)

Laurent



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Autofilter on rows instead of columns

Thanks a lot.
I studied the code of the macro ; Debra use the advanced filter function. I
will try to understand this function that I failed to run correctly...

Thanks again

Regards

Laurent Fessy



"Roger Govier" wrote:

Hi

I think you have it the wrong way round. Filter normally Filters by row,
with the criteria in the top row of the set of data to be filtered.

You are wishing to Filter / Hide columns across the sheet base upon
criteria in the first column.
There is no built in method for doing this.
Debra Dalgleish has a simple workbook with some code to achieve this on
her site at

http://www.contextures.com/AdvFilterStateNum.zip

Here the criteria are still set in the top row, so you could either copy
your criteria to the first row, or amend the code.

--
Regards

Roger Govier

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Autofilter on rows instead of columns

I've learned about the advanced filter function through excel's help, and
indeed it can only filter on lines. It seems unbelievable not to be able to
filter on columns !...

I guess what I got to do is to reverse my tab...

If anyone has an idea, please let me know. Thanks.
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Autofilter on rows instead of columns

"Laurent" wrote:
.. filter on columns !...


Another thought .. Try Andrew Engwirda's page at:
http://blog.livedoor.jp/andrewe/archives/50283818.html
with a d/l link for a sample file on the page
(Horizontal Filter)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Autofilter on rows instead of columns

Maybe you can use Data|Group and outline

And group the columns instead of filtering.

Yep. It's not the same.

Laurent wrote:

Hi all !

I use Excel 2002 and I'd like to use the 'autofilter' function ('Data' menu
- filter - autofilter) but instead of sorting on criterias by columns, I'd
like to sort on rows (my sheet has the criterias on the side rather than on
the top !)

Thanks for help ! ;)

Laurent


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Autofilter on rows instead of columns

Max, Dave, I thank you both.

Max has the very answer to my question. The macro works great, I gotta
browse the code to understand it fully.
Dave, I did not know this function, so thank you also !

Regards,

Laurent Fessy
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
Autofilter multiple columns Saintsman Excel Worksheet Functions 2 January 18th 07 10:06 AM
autofilter on many columns inquirer Excel Discussion (Misc queries) 3 July 16th 06 04:32 AM
Autofilter - on select columns rudawg Excel Worksheet Functions 8 January 31st 06 06:20 AM
Is there a way I can autofilter columns instead of rows Brian A. Excel Worksheet Functions 0 October 27th 05 03:15 PM
AutoFilter - non adjacent columns Richard Excel Discussion (Misc queries) 4 August 15th 05 12:15 PM


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