for this you need VBA. Though before you try this, maybe two other
suggestions
1. Set the conditional format to 'WHITE'
2. Use autofilter to display all values except your specific value
If this does not help you, you have to process the Worksheet_change
event:
Private Sub Worksheet_Change(ByVal Target As Range)
Set SourceCell = Range("A1")
ConditionValue = "your string expression"
If SourceCell = ConditionValue Then
Range("B1").EntireColumn.Hidden = True
Else
Range("B1").EntireColumn.Hidden = False
End If
End Sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.