I need an assistance for my issue. How to include two different criterias into this code to make my rows hidden/unhiden, if I one criteria is TRUE/FALSE and another is Drop-down with some values? For the first criteria, with True/False, if the True is selected then hide all False rows, and for another criteria where I have drop-down, the only thing I wanted to have is when I choose 0 as a value to unhide all rows, to bring back my original state of data.
p.s True/False rows is a "helper column" where I am actually filter another values (from drop down). If I choose TRUE then I am having all needed values and if it is FALSE then I am excluding them from the list.
Sub Hide_Unhide_Rows()
If Range("B3").Value = "Passed" Then
Rows("5:10").EntireRow.Hidden = True
ElseIf Range("B3").Value = "Failed" Then
Rows("5:10").EntireRow.Hidden = False
End If
End Sub