Saltar al contenido principal

¿Cómo condicionar el formato basado en otra hoja en la hoja de Google?

Si desea aplicar el formato condicional para resaltar celdas en función de una lista de datos de otra hoja como la siguiente captura de pantalla que se muestra en la hoja de Google, ¿tiene algún método fácil y bueno para resolverlo?

Formato condicional para resaltar celdas según una lista de otra hoja en Google Sheets


Formato condicional para resaltar celdas según una lista de otra hoja en Google Sheets

 

 

Siga los siguientes pasos para finalizar este trabajo:

1. Hacer clic Formato > Formato condicional, ver captura de pantalla:

2. En la Reglas de formato condicional panel, realice las siguientes operaciones:

(1.) Haga clic en botón para seleccionar los datos de la columna que desea resaltar;

(2.) En el Dar formato a las celdas si lista desplegable, elija La formula personalizada es opción, y luego ingrese esta fórmula: = coincidencia (C2, indirecto ("lista de datos! A2: A"), 0) en el cuadro de texto;

(3.) A continuación, seleccione un formato de la Estilo de formateo como necesites.

Note: En la fórmula anterior: C2 es la primera celda de los datos de la columna que desea resaltar, y el lista de datos! A2: A es el nombre de la hoja y el rango de celdas de la lista que contiene los criterios en los que desea resaltar las celdas.

3. Y todas las celdas coincidentes basadas en las celdas de la lista se han resaltado a la vez, luego debe hacer clic en el Terminado botón para cerrar Reglas de formato condicional panel que necesite.

 

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 (27)
Rated 5 out of 5 · 2 ratings
This comment was minimized by the moderator on the site
Hi! skyyang ! Thank you, =match(C2,indirect("data list!A2:A"),0) works for me.

But I would like to format more than one column, so column A in sheet a is checked against column B in sheet b , and so.
There are so many columns so I can not apply one format per column, but a whole conditional format for the whole sheet.


How should I modify the range and the formula?

Thanks!
This comment was minimized by the moderator on the site
What if the cell values you're trying to match are hyperlinks?
Rated 5 out of 5
This comment was minimized by the moderator on the site
Pardon, il fallait lire =A1<>INDIRECT("PreviousVersion!"& CHAR (COLUMN () + 64) & ROW ()) ...
This comment was minimized by the moderator on the site
Bonjour,
J'ai une autre question du même type au sujet d'un formatage conditionnel qui fonctionne sur Excel mais que je n'arrive pas à porter sur Google Sheet :
L'idée est de comparer 2 versions d'une même feuille que l'on stock à l'aide de 2 onglets (2 feuilles du même workbook)

La formule est la suivante : =A1<>'previousVersion'!A1 avec un formatage fond jaune pour mettre en évidence les changements sur toute la feuille car l'idée est d'appliquer ce
formatage conditionnel sur toutes les cellules de la feuille ($A$1:$V:1000)

Sur Google sheet cette formule m'est interdite et si je passe par un "indirect("previousVersion!A1"), je perds le coté dynamique sur le "A1" de la feuille precious version
Si j'essaye =A1<>indirect("previousVersion!"&A1) j'ai une erreur car c'est la valeur de A1 qui est interprétée et concaténée avec "previousVersion!"

Si j'essaye la formule =C3<>INDIRECT("PreviousVersion!"& CHAR (COLUMN () + 64) & ROW ()) cela ne fonctionne pas non plus....

Si vous avez une solution...
Merci d'avance
This comment was minimized by the moderator on the site
Bonjour,
Dans Feuille google je cherche la formule suivante
Si dans la cel A1 = text alors dans la Cel B1 ecire telle valeur ou texte automatiquement
Merci d avance pour votre aide
This comment was minimized by the moderator on the site
What if it's not an exact match but contains the reference data.
This comment was minimized by the moderator on the site
Hello, ashley
To solve your problem, please apply the below formula:
=REGEXMATCH(C2:C21,INDIRECT("Sheet2!$A$2"))

Please try, hope it can help you!
This comment was minimized by the moderator on the site
What happens if the data in my list is in more than one column? When I try to use datalist!A2:M or datalist!A:M or datalist!A2:M17 none of those work.
This comment was minimized by the moderator on the site
I have even tried naming the specific range I want to refer to and using that in the formula, no luck.
This comment was minimized by the moderator on the site
How to highlight the entire row data with conditional formatting using other sub-sheet
This comment was minimized by the moderator on the site
Hello, Ranganath
To highlight the entire row based on the data list, please do as this:
1. In the Apply to range box, select the whole sheet;
2. Apply this formula: =match($C2,indirect("datalist!A2:A"),0) into the Custom formula is textbox.
Please try, hope it can help you!

https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-highlight-entire-row.png
This comment was minimized by the moderator on the site
Hey, Thanks for replying. I have tried the formula but its not working.
Rated 5 out of 5
This comment was minimized by the moderator on the site
Hi,
Have you modified the sheet name and cell reference to your own data?
$C2 is the first cell of the column data that you want to highlight, and the datalist!A2:A is another sheet name and list range which contains the criteria you want to highlight the cells based on.
Please check them, thank you!
This comment was minimized by the moderator on the site
This doesn't work for me. I have triple checked everything.

Apply to range: K1:K2158

=match(K2,indirect("TorontoCitys!A1:A"),0)

It highlights random other city names, not in the TorontoCity's list.

K2 (is my main sheet and the starting column cell of the column I want to be affected.
TorontoCitys (is the name of the sheet)
A1 is the start of the column of the list of city names.
A is the column.

Could be that my punctuation's are incorrect?

Thanks in advance.
This comment was minimized by the moderator on the site
Hello friend,

Glad to help. Your formula is correct, please don't worry. The problem is the range you apply to. It shouldn't be K1:K2158, but K2:K2158.

Please see the screenshots. The example is simple but enough to explain the problem.

The correct "Apply to Range" is A2:A20. And the correct formula is =match(A2,indirect("TorontoCitys!A1:A"),0). Then correct cities can be highlighted. Please see screenshot 2.
But if I change the "Apply to Range" to A1:A20, the wrong city name is highlighted. Please see screenshot 3.

So please change your "Apply to Range" from K1:K2158 to K2:K2158. The problem should be solved. Looking forward to your reply.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
how do you do this but with the entire row highlighted
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations