SOLVED

Custom Format to hide the text in a Cell

Brass Contributor

 

Hi All

I would like to hide the number by using Custom Format based on Length of the text .  (Highlighted Column- Len(a1)<=5). 

I don't want to use any format or VBA for this. 

Sameer_Kuppanath_Sultan_0-1644391632437.png

 

 

 

 

3 Replies

@Sameer_Kuppanath_Sultan 

 

You could use conditional formatting.

Formula =Len($a1)<=5
Number Format ;;;

JMB17_1-1644392284750.png

 

 

 

best response confirmed by Sameer_Kuppanath_Sultan (Brass Contributor)
Solution

Hi @Sameer_Kuppanath_Sultan 

 

it will not work with a custom number format. But you could use conditionally formatting. Menue path:

Home | Conditional Formatting | New Rule...

DTE_0-1644392284141.png

=LEN(A1)<=5

Number Format:

DTE_1-1644392320059.png

The ;;; is on a German environment. It could be that you need to use ,,, instead, depending on your local settings. Just give it a try.

 

 

ok got it-Thanks Sir
1 best response

Accepted Solutions
best response confirmed by Sameer_Kuppanath_Sultan (Brass Contributor)
Solution

Hi @Sameer_Kuppanath_Sultan 

 

it will not work with a custom number format. But you could use conditionally formatting. Menue path:

Home | Conditional Formatting | New Rule...

DTE_0-1644392284141.png

=LEN(A1)<=5

Number Format:

DTE_1-1644392320059.png

The ;;; is on a German environment. It could be that you need to use ,,, instead, depending on your local settings. Just give it a try.

 

 

View solution in original post