I cobbled this code together for someone at work. They wanted to unhide rows if some cells contained Yes.
The control cells were D4, D5 & D6. You should be able to reuse this code.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("$A$29:$C$71").EntireRow.Hidden = True 'set the range to hide
If Range("$D$4") = "Yes" Then
Range("$A$29:$C$57").EntireRow.Hidden = False
End If 'set a range to show
'repeat if required
If Range("$D$5") = "Yes" Then
Range("$A$62:$C$71").EntireRow.Hidden = False
End If
If Range("$D$6") = "Yes" Then
Range("$A$62:$C$71").EntireRow.Hidden = False
End If
End Sub