Results 1 to 2 of 2

Pivot filters to hide certain rows

Threaded View

  1. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Pivot filters to hide certain rows

    Probably have to go with VBA

    Sub HideRows()
    Dim LR As Long, i As Long
    
    With Worksheets("Pivot")
    LR = .Cells(Rows.Count, 1).End(xlUp).Row
        For i = 5 To LR
            If Not UCase(Left(.Cells(i, 1), 6)) = "COMPAN" And WorksheetFunction.Count(.Cells(i, 2).Resize(1, 3)) = 0 Then
                .Rows(i).Hidden = True
            End If
        Next i
    End With
    End Sub
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1