Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Automatically Hide Columns based on Cell Value - Macro for Beginner
ChannelCaripros HR AnalyticsDescription from the creator
Want to learn how to design a salary structure? Check: caripros.com/design-salary-structure-with-regre…
FREE template for my video: Excel for HR - Create Annual Employee Salary Increase Template from Scratch. You can download and try it out yourself here: bit.ly/2MLLdb7
FREE actual workbook for my video "Split a Master Spreadsheet into Multiple Sheets with 1 click - VBA for Beginner". You can download and try it out yourself here: bit.ly/2UmeX2v
New course Launched! I created it to show you step-by-step how to design a salary structure with regression analysis in Excel. Check out the detail here:
caripros-hr-analytics.teachable.com/p/design-sa… Topic: Excel Macro - How to Automatically Hide Columns based on Cell Value
Scenario: You want to automatically hide columns/content when you select certain value in a specified cell
Function: Macro
Related Videos:
How to Automatically Hide Rows based on Cell Value: goo.gl/xE1DHQ
How to Automatically Hide Rows based on Formula driven Cell Value youtube.com/watch?v=-jtsBK49Dog
How to Automatically Hide Nonsequential Rows based on Cell Value youtube.com/watch?v=Xvw0cLDZQkE
***Macro Code***
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.Activate
If Not Application.Intersect(Range("C5"), Range(Target.Address)) Is Nothing Then
Select Case Target.Value
Case Is = "Canada": Columns("I:L").EntireColumn.Hidden = True
Columns("E:H").EntireColumn.Hidden = False
Case Is = "India": Columns("I:L").EntireColumn.Hidden = False
Columns("E:H").EntireColumn.Hidden = True
End Select
End If
End Sub
For more successful stories, view at: caripros.com/index.php/success-stories/
******Follow-up Consulting Services******
If you have specific question regarding your issue, you can email me at the email here goo.gl/WejijZ Note that there will be a fee of US$200 charged for solving your issue. The turnaround is within 24 hours. Any follow-up issue in 3 days will also be answered with no charge. Payment link: paypal.me/caripros
******More Videos in Playlists******
Power BI for Beginners: bit.ly/3ivKitD
Power BI for Advanced Users: bit.ly/3lE9zmO
Excel for HR goo.gl/JdeVnd
Excel for HR - Master Class goo.gl/LYfq2f
Excel Macro - Beginner goo.gl/Yae5nc
Excel Macro/VBA - Splitting a Master File goo.gl/m8CHya
Excel Macro/VBA - Auto-hide Rows or Columns bit.ly/2Mzteb5
Excel Charts Data Visualization goo.gl/2ao6BP
Excel Vlookup Function goo.gl/kP2Wpz
Excel Pivot Table Function goo.gl/rukkPs
Excel Array Function goo.gl/i4sQH8
Excel Index and Match Function goo.gl/i7VGU4
Excel Solver/Goal Seek Functions goo.gl/FTkTnj
Excel Cell Formatting Solutions goo.gl/gpa6MY
HR Analytics - Merit Matrix goo.gl/Koy7co
HR Analytics - Salary Structure goo.gl/uZBnFa
Excel Tricks goo.gl/TeqGDw
Excel Troubleshooting goo.gl/bdY5by
Fun HR Topics goo.gl/7zVg8h
For more successful stories, view at: caripros.com/index.php/success-stories/
#ExcelforHR#HRAnalytics#Excel#HR
FREE template for my video: Excel for HR - Create Annual Employee Salary Increase Template from Scratch. You can download and try it out yourself here: bit.ly/2MLLdb7
FREE actual workbook for my video "Split a Master Spreadsheet into Multiple Sheets with 1 click - VBA for Beginner". You can download and try it out yourself here: bit.ly/2UmeX2v
New course Launched! I created it to show you step-by-step how to design a salary structure with regression analysis in Excel. Check out the detail here:
caripros-hr-analytics.teachable.com/p/design-sa… Topic: Excel Macro - How to Automatically Hide Columns based on Cell Value
Scenario: You want to automatically hide columns/content when you select certain value in a specified cell
Function: Macro
Related Videos:
How to Automatically Hide Rows based on Cell Value: goo.gl/xE1DHQ
How to Automatically Hide Rows based on Formula driven Cell Value youtube.com/watch?v=-jtsBK49Dog
How to Automatically Hide Nonsequential Rows based on Cell Value youtube.com/watch?v=Xvw0cLDZQkE
***Macro Code***
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.Activate
If Not Application.Intersect(Range("C5"), Range(Target.Address)) Is Nothing Then
Select Case Target.Value
Case Is = "Canada": Columns("I:L").EntireColumn.Hidden = True
Columns("E:H").EntireColumn.Hidden = False
Case Is = "India": Columns("I:L").EntireColumn.Hidden = False
Columns("E:H").EntireColumn.Hidden = True
End Select
End If
End Sub
For more successful stories, view at: caripros.com/index.php/success-stories/
******Follow-up Consulting Services******
If you have specific question regarding your issue, you can email me at the email here goo.gl/WejijZ Note that there will be a fee of US$200 charged for solving your issue. The turnaround is within 24 hours. Any follow-up issue in 3 days will also be answered with no charge. Payment link: paypal.me/caripros
******More Videos in Playlists******
Power BI for Beginners: bit.ly/3ivKitD
Power BI for Advanced Users: bit.ly/3lE9zmO
Excel for HR goo.gl/JdeVnd
Excel for HR - Master Class goo.gl/LYfq2f
Excel Macro - Beginner goo.gl/Yae5nc
Excel Macro/VBA - Splitting a Master File goo.gl/m8CHya
Excel Macro/VBA - Auto-hide Rows or Columns bit.ly/2Mzteb5
Excel Charts Data Visualization goo.gl/2ao6BP
Excel Vlookup Function goo.gl/kP2Wpz
Excel Pivot Table Function goo.gl/rukkPs
Excel Array Function goo.gl/i4sQH8
Excel Index and Match Function goo.gl/i7VGU4
Excel Solver/Goal Seek Functions goo.gl/FTkTnj
Excel Cell Formatting Solutions goo.gl/gpa6MY
HR Analytics - Merit Matrix goo.gl/Koy7co
HR Analytics - Salary Structure goo.gl/uZBnFa
Excel Tricks goo.gl/TeqGDw
Excel Troubleshooting goo.gl/bdY5by
Fun HR Topics goo.gl/7zVg8h
For more successful stories, view at: caripros.com/index.php/success-stories/
#ExcelforHR#HRAnalytics#Excel#HR
About this tutorial
Caripros HR Analytics published this 4:30 video tutorial on October 27, 2019. It has been watched 57,822 times on YouTube.
- Channel
- Caripros HR Analytics
- Category
- Howto & Style
- Duration
- 4:30
- Published
- October 27, 2019
- Views
- 57,822
- Likes
- 267
Tags
Share
This tutorial in other languages
- FRComment masquer automatiquement les colonnes en fonction de la valeur cellulaire - Macro pour Débutant
- ESCómo ocultar automáticamente columnas basadas en valor de celda - Macro para principiantes
- PTComo ocultar automaticamente colunas baseado em celular Valor - Macro para iniciantes
- ITCome nascondere automaticamente le colonne in base a valore di cella - Macro per principianti
- DEWie automatisch Spalten basierend auf Zellwert ausblenden - Makro für Anfänger
- NLHoe automatisch verbergen kolommen op basis van Cell Value - Macro voor Beginners
- RUКак автоматически скрывать столбцы на основе Cell Value - Макрос для начинающих
- PLJak automatycznie ukryć kolumny oparte na komórkę Wartość - Makro dla początkujących
- JA自動的にセルの値に基づいて、列を非表示にする方法 - 初心者のためのマクロ
- ARكيفية إخفاء الأعمدة تلقائيا بناء على خلية القيمة - ماكرو للمبتدئين
- HIकैसे स्वचालित रूप से सेल मूल्य के आधार पर कॉलम छिपाने के लिए - शुरुआती के लिए मैक्रो
- IDCara otomatis Sembunyikan Kolom berdasarkan Sel Nilai - Makro untuk Pemula