Skip to playerSkip to main content
Learn how to dynamically mast cell content with asterisks.

To dynamically mask cell contents with asterisks in Excel, follow these steps: Select the cells you want to hide, go to Home, then Style, and click Conditional Formatting. Choose "New Rule," then "Use a formula to determine which cells to format," and enter =$B$1. Click Format, go to the Number tab, and select Custom. Enter ***;***;***;*** and click OK twice. This answers the question of how to mask cell contents in Excel. For partially masking text, use a formula like =REPT("*", LEN(A1)-4) & RIGHT(A1, 4). To hide cell values in conditional formatting, custom formats like this are useful. To mask certain characters in Excel, use the SUBSTITUTE function, such as =SUBSTITUTE(A1, "a", "*").

Dynamically Mask Cell Contents with Asterisk
How to mask cell contents in Excel?
How to partially mask text in Excel?
How do I hide cell values in conditional formatting?
How to mask certain characters in Excel?

Add Checkbox
1) Developer ~ Control ~ Insert
2) ActiveX ~ Checkbox
3) Place the checkbox
4) Right-click ~ Properties
Caption = Hide/Show Salaries
LinkedCell = B1
5) Close checkbox Properties window
6) Disable Design Mode
7) Test


Mask Cell Contents with Asterisk
1) Select cells to hide
2) Home ~ Style ~ Conditional Formatting
3) New Rule...
4) Use formula to determine which cells to format
5) =$B$1
6) Format
7) Number tab
8) Custom
9) **;**;**;**
10) OK
11) OK

Dynamically Mask Cell Contents with Asterisk,How to mask cell contents in Excel?,How to partially mask text in Excel?,How do I hide cell values in conditional formatting?,How to mask certain characters in Excel?,

Check out my complete suite of Microsoft Excel Tips and Tricks.
https://www.youtube.com/@jjnet247/shorts
https://www.tiktok.com/@exceltips247
https://www.instagram.com/exceltips247/
https://www.dailymotion.com/ExcelTips247
https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/
https://x.com/ExcelTips247/media
https://www.reddit.com/r/Excel247/
https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #tips #tipsandtricks #microsoftexcel #accounting #fyp #fypシ #exceltips #exceltricks

Category

📚
Learning
Transcript
00:00i am constantly amazed by questions people ask like this one here where someone asks if i can
00:05dynamically mask cell content with asterisks like this want to learn this cool stuff let's go we
00:11start by inserting a checkbox to developer control from active x we're going to select checkbox and
00:16place your checkbox anywhere in your worksheet now right click our checkbox go select properties
00:21and caption we're going to change to high show salaries and link cell we're going to say b1
00:26after that we're going to close our checkbox property windows and disable design mode and
00:31basically test it as you can see in cell b1 it toggles within true and false now to master cell
00:37content with an asterisks you select the cells to hide and you go home style conditionally formatting
00:42new rule and use formula and the formula is equal to b1 select format and then select number tabs on
00:49the menu here you're going to select custom and enter the following custom formatting then click
00:54click on ok twice like this and then you're done
Comments

Recommended