Is there anyway to filter horizontally in Excel, rather than veritcally?
B Bernie Deitrick May 2, 2008 #2 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
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
D Dave Peterson May 2, 2008 #3 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)
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)
M Max May 2, 2008 #4 Amanda L said: Is there anyway to filter horizontally in Excel, rather than vertically? Click to expand... You could also try Andrew Engwirda's page at: http://blog.livedoor.jp/andrewe/archives/50283818.html There's a d/l link for a sample file on the page (Horizontal Filter)
Amanda L said: Is there anyway to filter horizontally in Excel, rather than vertically? Click to expand... You could also try Andrew Engwirda's page at: http://blog.livedoor.jp/andrewe/archives/50283818.html There's a d/l link for a sample file on the page (Horizontal Filter)