Vai al contenuto principale

Come sommare la cella adiacente è uguale, vuota o contenente testo in Excel?

Durante l'utilizzo di Microsoft Excel, potrebbe essere necessario sommare i valori in cui la cella adiacente è uguale a un criterio in un determinato intervallo o sommare i valori in cui la cella adiacente è vuota o contenente testo. In questo tutorial, ti forniremo le formule per affrontare questi problemi.

Somma la cella adiacente è uguale a un criterio in Excel
La cella adiacente Sumif è vuota in Excel
Sumif cella adiacente contenente testo in Excel


Somma la cella adiacente è uguale a un criterio in Excel

Come mostra lo screenshot sottostante, è necessario sommare tutti i prezzi del manzo. Si prega di fare quanto segue.

1. Specificare una cella per visualizzare il risultato.

2. Copiare e incollare la formula =SUM(IF(A4:E10=A13, B4:F10, 0)) nella Barra della formulae quindi premere Ctrl + Shift + Invio simultaneamente dei tasti per ottenere il risultato.

Note:: Nella formula, A4: E10 è l'intervallo di dati che contiene i criteri specifici necessari, A13 è il criterio su cui si desidera sommare le celle e B4: F10 è l'intervallo che ha i valori che si desidera sommare. . Modifica l'intervallo in base ai tuoi dati.


Combina facilmente i duplicati in una colonna e somma i valori in un'altra colonna in base ai duplicati in Excel

I Kutools for Excel's Combina righe avanzate l'utilità ti aiuta a combinare facilmente le righe duplicate in una colonna e calcolare o combinare i valori in un'altra colonna in base ai duplicati in Excel
Scaricalo e provalo ora! (Percorso gratuito di 30 giorni)


La cella adiacente Sumif è vuota in Excel

Ad esempio, hai un intervallo A2: B7 e devi solo sommare i valori in cui le celle adiacenti sono vuote. Vedi screenshot qui sotto. Devi fare come segue.

1. Selezionare una cella vuota per visualizzare il risultato. Copia e incolla la formula = SOMMA (SE (ISBLANK (B2: B7), A2: A7,0)) (B2: B7 è l'intervallo di dati che contiene le celle vuote e A2: A7 è i dati che si desidera sommare) nella barra della formula, quindi premere Ctrl + Shift + entrare tasti contemporaneamente per ottenere il risultato.

Quindi puoi vedere tutti i valori in cui le celle adiacenti sono vuote vengono sommati e visualizzati nella cella specificata.

Sumif cella adiacente contenente testo in Excel

Il metodo sopra ti aiuta a sommare i valori in cui la cella adiacente è vuota in un determinato intervallo. In questa sezione imparerai come sommare i valori in cui le celle adiacenti contengono testi in Excel.

Basta usare lo stesso esempio del metodo mostrato sopra.

1. Seleziona una cella vuota, copia e incolla la formula = SOMMA.SE (B2: B7, "<>" & "", A2: A7) (B2: B7 è l'intervallo di dati che contiene le celle di testo e A2: A7 è i dati che si desidera sommare) nella barra della formula, quindi premere Ctrl + Shift + entrare chiavi.

Vedrai tutti i valori in cui le celle adiacenti contengono testi vengono sommati e visualizzati nella cella selezionata.

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 (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Sumif Adjacent Cell Equals A Criterion In Excel formula is not working for me, it is adding everything instead of just the cells with data we want.
This comment was minimized by the moderator on the site
Hi Cole,
Which Excel version are you using? Would you mind providing a screenshot of your data?
This comment was minimized by the moderator on the site
Hello I am trying to set up a pricing list. I have used a dropdown list for the selected products. How do I make excel input a price based on the choice of the text in the dropdown list.
This comment was minimized by the moderator on the site
Hi erin,
Methods in this article can help you. Please have a try: https://www.extendoffice.com/documents/excel/2400-excel-drop-down-list-auto-populate.html
This comment was minimized by the moderator on the site
I am trying to get a return value of "yes" if A1:A7 contains any text. What formulas can I use?
This comment was minimized by the moderator on the site
Dear Wyman Thomas,
Supposing you need to return value of "Yes" if cell A1 contains "Apple", this formula can help you =IF(ISNUMBER(SEARCH("Apple",A1)), "Yes", "No").
This comment was minimized by the moderator on the site
Pretty sure

=SUMIF(B2:B7,"<>"&"",A2:B7) should be


=SUMIF(B2:B7,"<>"&"",A2:A7)
This comment was minimized by the moderator on the site
Few People Notice that, We take it A2:A7
This comment was minimized by the moderator on the site
Hi,
Thank you for your reminding.
This comment was minimized by the moderator on the site
Dear all. I would like to use the SUMIF function in the following way: -Sum range is 1:1 -Criteria Range is 2:2 -Criteria is "jorge" However, I would like the function o work a little bit different. If "jorge" is found on B2, I would like A1 to be sum instead of A2. I tried =SUMIF(1:1,OFFSET(2:2,,1),"jorge") but excel does not accept such criteria range argument. How to get it working?
This comment was minimized by the moderator on the site
I am looking to create a budget spreadsheet. My goal is to plug in my daily expenses, with the category in one cell and the amount in the cell beneath. As far as my spending goes, I have no problem calculating. However, I am struggling with a formula to create a running tally of each category. Can you help?
This comment was minimized by the moderator on the site
Mike I am working on the same problem I created a drop down list for column D and my costs are in column C. Simply change the name (Contracts) of the formula to your category name. =SUMIF(D2:D31,""Contracts"",C2:C31)
This comment was minimized by the moderator on the site
hi, hope you could help me on this i want to create a formula where-in the codes under the subnet, be reflected on the net. see below place(net) 1 place1 2 place2 3 place3 4 place4 5 place5 where place net should have a code 1+2+3+4+5, i know how to concatenate and use "&" but i need to have a formula where i could drag it down since its not the only net in my specs, hoping for your answer? bog thanks regards, jayson
This comment was minimized by the moderator on the site
I would like to get the return value "yes" if the cells in A1:A7 contain data. What formula can I use?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations