Saltar al contenido principal

 ¿Cómo aplicar la validación de datos múltiples en una celda en la hoja de cálculo de Excel?

En la hoja de cálculo de Excel, aplicar una validación de datos a una celda puede ser común para nosotros, pero, ¿alguna vez ha intentado utilizar la validación de datos múltiples en una celda? En este artículo, hablaré sobre algunos ejemplos diferentes para resolver esta tarea en Excel.

Aplicar validación de datos múltiples en una celda (Ejemplo 1)

Aplicar validación de datos múltiples en una celda (Ejemplo 2)

Aplicar validación de datos múltiples en una celda (Ejemplo 3)


Aplicar validación de datos múltiples en una celda (Ejemplo 1)

Por ejemplo, quiero configurar la validación de datos en celdas con estos criterios: si se ingresa un número, debe ser menor que 100, si se ingresa texto, debe estar en la lista de D2 a D7 como se muestra en la siguiente captura de pantalla:

1. Seleccione las celdas a las que desea aplicar la validación de datos múltiples, luego haga clic en Datos > Validación de datos > Validación de datos, ver captura de pantalla:

2. En la Validación de datos cuadro de diálogo, debajo del Ajustes pestaña, realice las siguientes operaciones:

(1.) Elija Personalizado del desplegable Permitir la lista desplegable;

(2.) Ingrese esta fórmula: =OR(A2<$C$2,COUNTIF($D$2:$D$7,A2)=1) en el Fórmula caja de texto.

Note: En la fórmula anterior, A2 es la celda a la que desea aplicar la validación de datos, C2 y D2: D7 son los criterios en los que debe aplicar la validación de datos.

3. Luego haga clic OK, de ahora en adelante, solo los valores que coincidan con los criterios se pueden ingresar en las celdas; de lo contrario, aparecerá un cuadro de aviso de advertencia para recordarle, vea la captura de pantalla:


Aplicar validación de datos múltiples en una celda (Ejemplo 2)

En este ejemplo, solo permitiré que el texto "Kutools for Excel" o la fecha entre el 12/1/2017 y el 12/31/2017 se pueda ingresar en las celdas específicas como se muestra a continuación. Para resolver este trabajo, haga lo siguiente:

1. Vaya a la Validación de datos cuadro de diálogo, y en el cuadro de diálogo, realice las siguientes operaciones:

(1.) Haga clic en Ajustes lengüeta;

(2.) Seleccione Personalizado Opción de la Permitir la lista desplegable;

(3.) Escriba esta fórmula: =OR(A2=$C$2,AND(A2>=DATE(2017,12,1), A2<=DATE(2017,12,31))) en el Fórmula caja de texto.

Note: En la fórmula anterior, A2 es la celda a la que desea aplicar la validación de datos, C2, 2017,12,1 y 2017,12,31 son los criterios en los que debe aplicar la validación de datos.

2. Luego haga clic OK , ahora, solo se pueden ingresar los valores que coincidan con los criterios, otros serán restringidos como se muestra en la siguiente captura de pantalla:


Aplicar validación de datos múltiples en una celda (Ejemplo 3)

El tercer ejemplo, quiero que la cadena de texto debe comenzar con “KTE” o “www”, y si comienza con “KTE”, solo se pueden permitir 6 caracteres; si comienza con "www", solo se pueden permitir 10 caracteres, ver captura de pantalla:

La siguiente fórmula en Validación de datos puede ayudarlo a lidiar con esto.

1. Ir a la Validación de datos cuadro de diálogo, en el cuadro de diálogo, realice las siguientes operaciones:

(1.) Haga clic en Ajustes lengüeta;

(2.) Seleccione Personalizado Opción de la Permitir la lista desplegable;

(3.) Escriba esta fórmula: =OR(AND(LEFT(A2,3)="KTE",LEN(A2)=6),AND(LEFT(A2,3)="www",LEN(A2)=10)) en el Fórmula caja de texto.

Note: En la fórmula anterior, A2 es la celda a la que desea aplicar la validación de datos, y puede cambiar los criterios en la fórmula por los suyos.

2. Luego haga clic OK , y ahora, solo se pueden ingresar los valores de texto que coinciden con los criterios que especificó, vea la captura de pantalla:

Note: Puede que se necesiten aplicar otros criterios de validación de datos diferentes, puede crear sus propias fórmulas para diferentes criterios que desee.

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 (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi,
I am capturing department (10 departments), rating (5,4,3,2 & 1)and reward type criteria (X, Y and Z) of which i calculate the overall callibration based on certain %. Eg. i have 10 departments having each department 15-20 employees. Now i need a formula wherein in the table against the particular department, lets say department1 to populate the % of employees (only with rating 5 and criteria X) against the total employee of (criteria X and Z).
This comment was minimized by the moderator on the site
I have data in two different columns and i have to apply this with two different criteria. For example, first criteria shows result if a particular cell contains a text "Highlighter" and second criteria show when the cell contain text "Pointer".
Highlighter test results are different than the pointer results and we make separate validation of both data. Is this possible to extract the validation of each criteria in a single cell with no overlapping?
This comment was minimized by the moderator on the site
Hey I want a parent child relationship sort of multiple drop down lists.
For example, if in column one some selects 'a' among the list of a, b & c
Then in the second column the child category of 'a' which is x, y & z should appear
How can that be done?
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
Hi Team, I failed to build example no.1. I copied and pasted the formula:  =OR(A2<$C$2,COUNTIF($D$2:$D$7,A2)=1) and failed. Where is the bug ? Can you please assist ? THX a lot.
This comment was minimized by the moderator on the site
Hello Frank,
Glad to help. The reason why the data validation failed is that you probably didn't choose the data validation cell range. Please select the cell range first (say A2:A10), then click Data > Data Validation > Data Validation to input the formula =OR(A2<$C$2,COUNTIF($D$2:$D$7,A2)=1). Please see the screenshots I uploaded here. Hope it can solve your problem. Have a nice day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
How can I apply a data validation to multiple columns?
This comment was minimized by the moderator on the site
Hello Fabian,To apple a data validation to multiple columns, the trick is almost identical to the ways we mentioned above. The most important thing is that you select the columns first, then you can set up the rules in the Data Validation dialog box. Plesase have a try. Any question, please feel free to contact us. Have a nice day.Sincerely,Mandy
This comment was minimized by the moderator on the site
i am confuse
This comment was minimized by the moderator on the site
Hi,
I need to validate multiple columns before entering a value into cell. please find my requirement below,
I have 3 columns for example,

A1-Total Credit limit (Mandatory field)
Should have a minimum amount of 100 and multiples of 100:
=AND(ISNUMBER(A1),A1>=100, MOD(A1,100)=0) - Solved!
B1- Weekly Credit limit (Optional filed)
User should be able to input a value only when A1 is filled, Should not be greater than A1, Minimum amount 100 and multiples of 100
=AND(A1<>"",ISNUMBER(B1),B1<=A1, MOD(B1,100=0) - Solved!
C1-Daily Credit limit (Optional field)
User should be able to input a value only when A1 is filled, Should not be greater than A1&B1, Minimum amount 100 and multiples of 100

I need to add following validation, Please Help
I have to check if A1 is filled or not, then C1 shouldn't be greater than A1 and C1 min value should be 100 and multiples of 100 - I have answer to this
How can add a validation on B1 because B1 is optional it can have value and cannot. so if there's a value I have to make sure C1 is not greater than B1 else ignore B1?

How can i have this in data validation?

Thanks once again for the help
This comment was minimized by the moderator on the site
how can I add another Data validation function with this list function. for example I added a list of "yes" and "no". but I also want to add an OR function to this so that if "yes" is selected in one column then others only have to be "no".
This comment was minimized by the moderator on the site
Is it possible to apply data validation on the calcuated column attribute?
This comment was minimized by the moderator on the site
i'm looking for the ability to have a data validation which allows the user to select multiple choices. I.e. the list pops up and user can select Apple, grape, and/or banana. If they select all three, it shows in cell as: "apple, grade, banana". if only 1: "grape" etc... any ideas?
This comment was minimized by the moderator on the site
Hello, jeffe,
Maybe the below article can help you to deal with your problem, please check it:
https://www.extendoffice.com/documents/excel/2448-excel-drop-down-list-multiple-selection.html
This comment was minimized by the moderator on the site
Any idea how to have multiple data validation and a drop down. Drop down uses "List" and this example uses "Custom". Basically if the correct data is present in another column, I want the drop down to be able to be selected to input data. Otherwise if the dropdown is selected the error message appears.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations