Vai al contenuto principale

Come barrare automaticamente in base al valore della cella in Excel?

In Excel, possiamo applicare il barrato per rimuovere manualmente i contenuti delle celle indesiderate, ma, in questo articolo, parlerò di come barrare automaticamente in base al valore della cella. Ad esempio, desidero applicare il barrato per i dati della riga in base al valore della cella nella colonna E, se il valore della cella è "N", per applicare il barrato automaticamente alle righe relative come mostrato nella seguente schermata.

barrato automatico documento 1

Barrato automatico in base al valore della cella con formattazione condizionale


freccia blu freccia destra Barrato automatico in base al valore della cella con formattazione condizionale

Infatti, la Formattazione condizionale la funzione in Excel può aiutarti a completare questa attività il più rapidamente possibile, per favore fai come segue:

1. Seleziona l'intervallo di dati a cui desideri applicare il barrato, quindi fai clic su Casa > Formattazione condizionale > Nuova regola, vedi screenshot:

barrato automatico documento 2

2. Nel Nuova regola di formattazione finestra di dialogo, fare clic Utilizzare una formula per determinare quali celle formattare opzione nel Seleziona un tipo di regola casella di riepilogo e quindi immettere questa formula: = $ E2 = "N" nella Formatta i valori in cui questa formula è vera casella di testo, vedi screenshot:

Nota: Nella formula precedente: E2 e "N"Sono la cella e il valore del testo su cui si desidera applicare il barrato in base a, modificarli in base alle proprie esigenze.

barrato automatico documento 3

3. E poi clicca Formato pulsante per andare al formato celle dialogo, sotto il fonte scheda, controllare Barrato dal effetti casella di riepilogo, vedi screenshot:

barrato automatico documento 4

4. Quindi fare clic OK > OK per chiudere le finestre di dialogo, e ora, quando il valore inserito è il testo specifico "N", i dati dell'intera riga verranno applicati automaticamente barrati, vedi screenshot:

barrato automatico documento 5

I migliori strumenti per la produttività in ufficio

🤖 Assistente AI di Kutools: Rivoluziona l'analisi dei dati basandosi su: Esecuzione intelligente   |  Genera codice  |  Crea formule personalizzate  |  Analizzare i dati e generare grafici  |  Richiama le funzioni di Kutools...
Funzioni popolari: Trova, evidenzia o identifica i duplicati   |  Elimina righe vuote   |  Combina colonne o celle senza perdere dati   |   Round senza formula ...
Super ricerca: VLookup a criteri multipli    VLookup a valori multipli  |   VLookup su più fogli   |   Ricerca fuzzy ....
Elenco a discesa avanzato: Crea rapidamente un elenco a discesa   |  Elenco a discesa dipendente   |  Elenco a discesa a selezione multipla ....
Gestore di colonna: Aggiungi un numero specifico di colonne  |  Sposta colonne  |  Attiva/disattiva lo stato di visibilità delle colonne nascoste  |  Confronta intervalli e colonne ...
Funzionalità in primo piano: Messa a fuoco della griglia   |  Vista di progettazione   |   Grande barra delle formule    Gestore di cartelle di lavoro e fogli   |  Resource Library (Testo automatico)   |  Date picker   |  Combina fogli di lavoro   |  Crittografa/decrittografa le celle    Invia e-mail per elenco   |  Super filtro   |   Filtro speciale (filtro grassetto/corsivo/barrato...) ...
I 15 migliori set di strumenti12 Testo Strumenti (aggiungi testo, Rimuovi personaggi, ...)   |   50+ Grafico Tipi (Diagramma di Gantt, ...)   |   40+ Pratico Formule (Calcola l'età in base al compleanno, ...)   |   19 Inserimento Strumenti (Inserisci il codice QR, Inserisci immagine dal percorso, ...)   |   12 Conversione Strumenti (Numeri in parole, Conversione di valuta, ...)   |   7 Unisci e dividi Strumenti (Combina righe avanzate, Celle divise, ...)   |   ... e altro ancora

Potenzia le tue competenze di Excel con Kutools per Excel e sperimenta l'efficienza come mai prima d'ora. Kutools per Excel offre oltre 300 funzionalità avanzate per aumentare la produttività e risparmiare tempo.  Fai clic qui per ottenere la funzionalità di cui hai più bisogno...

Descrizione


Office Tab porta l'interfaccia a schede in Office e semplifica notevolmente il tuo lavoro

  • Abilita la modifica e la lettura a schede in Word, Excel, PowerPoint, Publisher, Access, Visio e Project.
  • Apri e crea più documenti in nuove schede della stessa finestra, piuttosto che in nuove finestre.
  • Aumenta la produttività del 50% e riduce ogni giorno centinaia di clic del mouse!
Comments (8)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Hi,
How can I do if I want the row struckthrough if say EITHER B2= Yes OR I2 = 0?
If I just put it as OR($B2="Yes",$I2="0"), it wont strikethrough if both values are met.
Rated 5 out of 5
This comment was minimized by the moderator on the site
Is it possible to use this formula with a numeric value of zero? I cannot for the life of me get it to work that way but it will work with letters.
This comment was minimized by the moderator on the site
Hello friend,

Glad to help. Yes, you can use this formula =$E1= 0 with a numeric value of zero. Please see the screenshot, you can input formula =$E1= 0 into the Format values where this formula is true text box. Please note the first row of the data is header.
https://www.extendoffice.com/images/stories/comments/comment-zmt/strikethrough-value.png

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Merci beaucoup :) <3 
This comment was minimized by the moderator on the site
I regularly wind up utilizing the strikethrough highlight in both Word and Excel to stamp things as finished. This component is genuinely clear in Word, as a strikethrough symbol shows up conspicuously on the Home tab in Word 2007 and later. Then again, in Excel this component doesn't have its own particular symbol, yet it has a console alternate route, Ctrl-5. However there's no worked in essay writing route for strikethrough in Word.
This comment was minimized by the moderator on the site
Hello everyone, I just have to say that this site is just amazing!
Much creative and extremely curricular website I have ever found while searching essay writing service on the Internet.
I am very satisfied with their work and inventory, everything looked very well and kept. I appreciate your work, keep up a great job.
This comment was minimized by the moderator on the site
This was a great help to me
This comment was minimized by the moderator on the site
Using the instructions from this page (Auto strikethrough based on cell value with Conditional Formatting) I am trying to add the proper formula to a spreadsheet with the cell value being a check mark (instead of N like the example). Ultimately, what I am trying to do is this: When I double click column A1, it will automatically add a check mark in that cell. In addition to the check mark, it will perform auto-strikethrough on cells B1 and C1. Is it possible to accomplish this? I had no problem entering a rule to add a check mark to a cell by double clicking it. And I had no problem adding the conditional formatting in order to auto strikethrough text. What I cannot seem to figure out is how to combine the 2 efforts. I do not like the idea of Check boxes and have tried that route already.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations