Filter columns in Excel

  • Thread starter Thread starter parenson
  • Start date Start date
P

parenson

Is it possible to filter columns in Excel rather than filter rows? Whe
you do an AutoFilter and select a value in a column, Excel will filte
out the rows that do not match the selected filter criteria. I need t
turn this 90 degrees and specify a value in a row and then have th
columns filtered out accordingly.

I have attempted transposing my spreadsheet to turn columns into row
and rows into columns, but this screws up the formatting.

Any thoughts
 
there are no filters that work that way.

You could probably write code that hides columns based on some criteria you
pass to the code.
 
If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook

=ArrayColumnFilter(dataRange, filter_row, filter_value)

array entered into a range of sufficient size to accommodate the
filtered data, will do what you describe. The function returns as an
array the filtered data; if called from the worksheet, it returns that
data to the selected range into which the formula is array entered.

Alan Beban
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top