Saltar al contenido principal

¿Cómo ocultar solo parte del valor de la celda en Excel?

doc ocultar parcialmente 1
Supongamos que tiene una hoja con información general sobre el personal, pero algunos son privados, como los números de seguro social. Ahora desea ocultar parte de estos números de seguro social como se muestra a continuación, ¿cómo puede resolverlo rápidamente?

Oculte parcialmente los números de la seguridad social con Format Cells

Ocultar parcialmente texto o número con fórmulas

flecha azul burbuja derecha Oculte parcialmente los números de la seguridad social con Format Cells

Para ocultar parte de los números de la seguridad social en Excel, puede aplicar Formato de celdas para resolverlo.

1. Seleccione los números que desea ocultar parcialmente y haga clic derecho para seleccionar Formato de celdas desde el menú contextual. Ver captura de pantalla:
doc ocultar parcialmente 2

2. Luego, en el Formato de celdas diálogo, haga clic Número pestaña y seleccione Personalizado en Categoría panel, y vaya a entrar en este 000 ,, "- ** - ****" en el Tipo de Propiedad cuadro en la sección derecha. Ver captura de pantalla:
doc ocultar parcialmente 3

3. Hacer clic en OK, ahora se han ocultado los números parciales que seleccionó.

Note: Redondeará el número hacia arriba si el cuarto número es mayor que o cada uno a 5.


flecha azul burbuja derecha Ocultar parcialmente texto o número con fórmulas

Con el método anterior, solo puede ocultar números parciales, si desea ocultar números parciales o textos, puede hacer lo siguiente:

Aquí ocultamos los primeros 4 números del número de pasaporte.

Seleccione una celda en blanco junto al número de pasaporte, F22 por ejemplo, ingrese esta fórmula = "****" & DERECHA (E22,5)y luego arrastre el controlador de autocompletar sobre la celda que necesita para aplicar esta fórmula.
doc ocultar parcialmente 4

Consejo:

Si desea ocultar los últimos cuatro números, use esta fórmula, = IZQUIERDA (H2,5) y "****"

Si desea ocultar los tres números del medio, use este = IZQUIERDA (H2,3) & "***" & DERECHA (H2,3)

Las mejores herramientas de productividad de oficina

🤖 Asistente de IA de Kutools: Revolucionar el análisis de datos basado en: Ejecución inteligente   |  Generar codigo  |  Crear fórmulas personalizadas  |  Analizar datos y generar gráficos  |  Invocar funciones de Kutools...
Características populares: Buscar, resaltar o identificar duplicados   |  Eliminar filas en blanco   |  Combine columnas o celdas sin perder datos   |   Ronda sin fórmula ...
Super búsqueda: Búsqueda virtual de criterios múltiples    Búsqueda V de valores múltiples  |   VLookup en varias hojas   |   Búsqueda difusa ....
Lista desplegable avanzada: Crear rápidamente una lista desplegable   |  Lista desplegable dependiente   |  Lista desplegable de selección múltiple ....
Administrador de columnas: Agregar un número específico de columnas  |  Mover columnas  |  Toggle Estado de visibilidad de columnas ocultas  |  Comparar rangos y columnas ...
Características destacadas: Enfoque de cuadrícula   |  Vista de diseño   |   Gran barra de fórmulas    Administrador de hojas y libros de trabajo   |  Biblioteca de Recursos (Texto automático)   |  Selector de fechas   |  Combinar hojas de trabajo   |  Cifrar/descifrar celdas    Enviar correos electrónicos por lista   |  Súper filtro   |   Filtro especial (filtro negrita/cursiva/tachado...) ...
Los 15 mejores conjuntos de herramientas12 Texto Herramientas (Añadir texto, Quitar caracteres, ...)   |   50+ Tabla Tipos (Diagrama de Gantt, ...)   |   40+ Práctico Fórmulas (Calcular la edad según el cumpleaños, ...)   |   19 Inserción Herramientas (Insertar código QR, Insertar imagen desde la ruta, ...)   |   12 Conversión Herramientas (Números a palabras, Conversión de Moneda, ...)   |   7 Fusionar y dividir Herramientas (Filas combinadas avanzadas, Células partidas, ...)   |   ... y más

Mejore sus habilidades de Excel con Kutools for Excel y experimente la eficiencia como nunca antes. Kutools for Excel ofrece más de 300 funciones avanzadas para aumentar la productividad y ahorrar tiempo.  Haga clic aquí para obtener la función que más necesita...

Descripción


Office Tab lleva la interfaz con pestañas a Office y hace que su trabajo sea mucho más fácil

  • Habilite la edición y lectura con pestañas en Word, Excel, PowerPoint, Publisher, Access, Visio y Project.
  • Abra y cree varios documentos en nuevas pestañas de la misma ventana, en lugar de en nuevas ventanas.
  • ¡Aumenta su productividad en un 50% y reduce cientos de clics del mouse todos los días!
Comments (21)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have 1. Name, so I want to remove "1." Please suggest.
This comment was minimized by the moderator on the site
Is there any command for format cell, to hide the intended value in cell, that containt with charecters. eg. G1234567Q and after applied the format it would be G****567Q ?Note: I am asking to know the cell format not the formula? Thanks in advance!
This comment was minimized by the moderator on the site
If I have a listing of Name with different length, and want to set as "B*** P***" for "Brad Pitt", "M******* Y*** C*** K****" for "Michelle Yeoh Choo Kheng", how can I do it with formula?
p     JL
This comment was minimized by the moderator on the site
have you found a solution? i would also like to know the answer to this. thank you
This comment was minimized by the moderator on the site
Can replace all but the first char with this: =REPLACE(CELL,2,LEN(CELL),REPT("*",LEN(CELL)))
This comment was minimized by the moderator on the site
If I have a number and alphabet set like S1234567A and want to put as S****567A, what formula is usable?
This comment was minimized by the moderator on the site
=REPLACE(CELL,2,4,"****")
This comment was minimized by the moderator on the site
=REPLACE(CELL,1,LEN(CELL)-4,REPT("X",LEN(CELL)-4))is the better version as here you can mask text with variable length
This comment was minimized by the moderator on the site
Hi I tried this but does not seem to work.
This comment was minimized by the moderator on the site
Great solution!
This comment was minimized by the moderator on the site
How can we use format cell to remove the first few characters? For ex: 12,345.67 = **,345.67
This comment was minimized by the moderator on the site
how can i unhide the numbers again
This comment was minimized by the moderator on the site
Hi, sunil, if you use the Format Cells function to hide part of string, when you want to unhide them again, just format the cells as general.
This comment was minimized by the moderator on the site
Nice Sir, Its working
This comment was minimized by the moderator on the site
Sorry, I meant D22
This comment was minimized by the moderator on the site
I am not sure how you wrote the formula Dean, but =LEFT(F22,3)&"-**-****" shows 278-**-**** for me... Maybe check other formats on your destination cell?
This comment was minimized by the moderator on the site
Sorry I did not get your question, could you give me a screenshot or other more information to decribe it?
This comment was minimized by the moderator on the site
Your SSN example fails, in that it rounds up the number, rather than hiding the non-visible placings. In you example, 278-53-6128 is displayed as 279-**-****!
This comment was minimized by the moderator on the site
Sorry, could you give me more information about the fails in your examples? Because it works always in my examples.
This comment was minimized by the moderator on the site
Dean is correct, the image you are using for the example shows staff no 2083 having the social security number of 278536128 but the hidden version starts with 279. The formula itself works, just the first row in the example image is incorrect.
This comment was minimized by the moderator on the site
Thanks for the reminder. The format cell method will round up the number if the fourth number is larger than 5.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations