Horizontal filters?

  • Thread starter Thread starter Amanda L
  • Start date Start date
Amanda,

Only with VBA code (macro or event) used to hide the columns that don't meet your criteria. For
example:

Sub HideX()
Dim myC As Range
For Each myC In Range("B2:H2")
myC.EntireColumn.Hidden = (myC.Value = "X")
Next myC
End Sub

Sub UnHide()
Cells.EntireColumn.Hidden = False
End Sub


HTH,
Bernie
MS Excel MVP
 
Maybe you can group the columns.

Select a column(s)
Data|Group and Outline|Group.
(xl2003 menus)

You end up with the outlining symbols at the top. It's not the same as
filtering, though.

Maybe you could define custom views that hide/show the columns you want.
View|Custom Views
(also xl2003 menus)
 
this andrew's link is the answer to the question but anyone knows how to do it? i want it to be done on my file because im using one sheet for my whole file, if i wont be able to do the horizontal filtering i will be obliged to distribute my file to multiple sheets.

please anyone can help me do this andrews resolution on excel 2010
 
Versions of excels from 2003 on have an options button in Sort form - orientation - two choices up to down or left to right. Choose left tot right then pick a row and you're there.
 

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