Ga naar hoofdinhoud

Hoe de formule bijwerken bij het invoegen van rijen in Excel? 

doc update formule rijen invoegen 1

Ik heb bijvoorbeeld een formule = som (D2: D7) in cel D8, nu, wanneer ik een rij op de tweede rij invoegen en een nieuw getal voer, wordt de formule automatisch gewijzigd in = som (D3: D8), wat uitsluit de cel D2 zoals in de volgende schermafbeelding. In dit geval moet ik de celverwijzing in de formule elke keer dat ik rijen invoegen, wijzigen. Hoe kan ik de getallen altijd optellen vanaf cel D2 bij het invoegen van rijen in Excel?

Update formule bij het automatisch invoegen van rijen met formule


pijl blauw rechts bel Update formule bij het automatisch invoegen van rijen met formule

De volgende eenvoudige formule kan u helpen om de formule automatisch bij te werken zonder de celverwijzing handmatig te wijzigen wanneer u nieuwe rijen invoegt, doe dit als volgt:

1. Voer deze formule in: = SOM (INDIRECT ("D2: D" & RIJ () - 1)) (D2 is de eerste cel in de lijst die u wilt optellen) aan het einde van de cellen waarvan u de nummerlijst wilt optellen, en druk op Enter sleutel.

2. En nu, wanneer u rijen ergens tussen de nummerlijst invoegt, wordt de formule automatisch bijgewerkt, zie screenshot:

doc update formule rijen invoegen 2

Tips: De formule werkt alleen correct als u deze aan het einde van de gegevenslijst plaatst.

Beste Office-productiviteitstools

🤖 Kutools AI-assistent: Een revolutie teweegbrengen in de data-analyse op basis van: Intelligente uitvoering   |  Genereer code  |  Aangepaste formules maken  |  Analyseer gegevens en genereer grafieken  |  Roep Kutools-functies aan...
Populaire functies: Zoek, markeer of identificeer duplicaten   |  Verwijder lege rijen   |  Combineer kolommen of cellen zonder gegevens te verliezen   |   Ronde zonder formule ...
Super opzoeken: Meerdere criteria VLookup    VLookup met meerdere waarden  |   VOpzoeken over meerdere bladen   |   Fuzzy opzoeken ....
Geavanceerde vervolgkeuzelijst: Maak snel een vervolgkeuzelijst   |  Afhankelijke vervolgkeuzelijst   |  Multi-select vervolgkeuzelijst ....
Kolom Beheerder: Voeg een specifiek aantal kolommen toe  |  Kolommen verplaatsen  |  Schakel de zichtbaarheidsstatus van verborgen kolommen in  |  Vergelijk bereiken en kolommen ...
Uitgelichte functies: Raster focus   |  Ontwerpweergave   |   Grote formulebalk    Werkmap- en bladbeheer   |  resource Library (Auto-tekst)   |  Datumkiezer   |  Combineer werkbladen   |  Cellen coderen/decoderen    Stuur e-mails per lijst   |  Super filter   |   Speciaal filter (filter vet/cursief/doorhalen...) ...
Top 15 gereedschapsets12 Tekst Tools (toe te voegen tekst, Tekens verwijderen, ...)   |   50+ tabel Types (Gantt Chart, ...)   |   40+ Praktisch Formules (Bereken leeftijd op basis van verjaardag, ...)   |   19 Invoeging Tools (QR-code invoegen, Afbeelding invoegen vanaf pad, ...)   |   12 Camper ombouw Tools (Getallen naar woorden, Currency Conversion, ...)   |   7 Samenvoegen en splitsen Tools (Geavanceerd Combineer rijen, Gespleten cellen, ...)   |   ... en meer

Geef uw Excel-vaardigheden een boost met Kutools voor Excel en ervaar efficiëntie als nooit tevoren. Kutools voor Excel biedt meer dan 300 geavanceerde functies om de productiviteit te verhogen en tijd te besparen.  Klik hier om de functie te krijgen die u het meest nodig heeft...

Omschrijving


Office-tabblad Brengt een interface met tabbladen naar Office en maakt uw werk veel gemakkelijker

  • Schakel bewerken en lezen met tabbladen in Word, Excel, PowerPoint in, Publisher, Access, Visio en Project.
  • Open en maak meerdere documenten in nieuwe tabbladen van hetzelfde venster in plaats van in nieuwe vensters.
  • Verhoogt uw productiviteit met 50% en vermindert honderden muisklikken voor u elke dag!
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank you very much.
This comment was minimized by the moderator on the site
Hello,
You are welcome. Glad it helps. Any questions, please feel free to contact us. Have a great day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
Please help me with Excel formula that update automatically without changing the cell reference manually when inserting new row at the bottom only. But not when inserting new row at the top. Thanks
This comment was minimized by the moderator on the site
This is really helpful ... except it does not update the row/column when copying and pasting this formula, so if I have a bunch of them, I have to update the column/row manually (like in the example, if I copy this to the adjacent column E, it still has D ...)

Unless someone knows a workaround to that problem, too?
This comment was minimized by the moderator on the site
you can use a different formula SUM(D$2:D12) as you insert a new row it continues to sum it up
This comment was minimized by the moderator on the site
I found that this only works if there is more than 1 row to total at the start.  Any ideas how you would do this for totalling 1 row to start and then adding in rows as you work on the spreadsheet?

This comment was minimized by the moderator on the site
You are the best! It works!
This comment was minimized by the moderator on the site
I have a simple cell reference in one of my cells down a column e.g.:"=H6", “=H7” etc. When I insert a row in Excel and copy formulas from row above, the cell reference in 'Opening Stock' does not update automatically in the row after the new blank row (should be equal to previous row balance, which is 60 now). But it updates correctly in all other rows below. Is there a way to force Excel to update cell reference to the cell in blank row above? Have searched the web, but did not get any satisfactory answer. I do not want to convert the data to a table, since it messes up the filters and formatting. Macros don't solve the problem either - they don't copy to the row following the blank one. Can anyone please help?
This comment was minimized by the moderator on the site
Hi Rayan!

Please if you see this let me know! You are the only one I found online who brought this issue up. However, my data is table not normal range. The automatic filling of the formula really helps and copy/pasting is a hassle. Anyway, when insert a row, the formulas update for all columns except one! In the row and the cell, instead of the formula shifting from =if(C24 = C25) to =if(C25 = C26), it goes to =if(C24 = C26) although C24 is not fixed!!! I've really tried all possible solutions...................
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations