Здравствуйте! Проверяйте[vba]Код
Private Sub Worksheet_Change(ByVal Target As Range) '
Dim rng As Range: Set rng = Range("F3")
If Not Intersect(rng, Target) Is Nothing Then
Columns("G:AH").EntireColumn.Hidden = False
If Range("F3").Value = 1 Then
Columns("Q:AH").EntireColumn.Hidden = True
End If
If Range("F3").Value = 3 Then
Columns("G:P").EntireColumn.Hidden = True
Columns("W:AH").EntireColumn.Hidden = True
End If
If Range("F3").Value = 5 Then
Columns("G:V").EntireColumn.Hidden = True
Columns("AC:AH").EntireColumn.Hidden = True
End If
If Range("F3").Value = 6 Then
Columns("G:AB").EntireColumn.Hidden = True
End If
End If
End Sub
[/vba]