I have a simple requirement where I have to hide or unhide few columns based on cell value. I understand this can be done using VBA code. But wanted to know if it can be done using formula without using VBA code or recording a macro.
I´m looking for something like this to be done using formula & without using VBA -
I´m looking for something like this to be done using formula & without using VBA -
Excel Formula:
Hide column D to F
If C3 = True
Unhide column D
<do something...>
Else Hide column D
End If
If C4 = True
Unhide column E
<do something...>
Else Hide column E
End If
If C5 = True
Unhide column F
<do something...>
Else Hide column F
End If
Cell Formulas | ||
---|---|---|
Range | Formula | |
B3:B5 | B3 | =ROW()-2 |