+ Reply to Thread
Results 1 to 2 of 2

How to automatically update a sumif formula when adding rows.

  1. #1
    Registered User
    Join Date
    06-02-2022
    Location
    Washington, DC
    MS-Off Ver
    Windows 10
    Posts
    1

    Question How to automatically update a sumif formula when adding rows.

    Is there a way to have the sumif formula automatically update when adding rows, without having to insert the row before the last row of data?

    The current formula is sumif(L19:L29, D4, E19:E26). If I insert multiple lines after row 26, how can I update the formula to include those rows automatically and not have to manually update?

    I have multiple novice users utilizing and updating the spreadsheet and am trying to make it as easy as possible to have the summary automatically update to limit the lift and also mistakes.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to automatically update a sumif formula when adding rows.

    Hello gabealexander. Welcome to the forum.

    I am partial to using Dynamic Named Ranges. They resize automatically to fit data. They are referenced in formulas by their name.

    Without an upload workbook (as requested in the 'gold' banner at the top of the page) I will have to guess that the data in column L is text.

    Give each of these formulas a relevant name in Name Manager.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then your formula could be =SUMIF(Names,D4,Amnts)

    If any numbers in column E are larger than 25^25 use something larger.
    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. update formula in a different sheet while adding rows
    By solquest in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-27-2020, 12:31 PM
  2. VBA code automatically update when adding rows.
    By ExcelDude88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2017, 11:21 AM
  3. [SOLVED] How to Have a Formula Automatically Update When Adding
    By EverClever in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-26-2017, 11:26 AM
  4. Replies: 3
    Last Post: 05-03-2017, 09:59 PM
  5. Adding or deleting rows in master sheet and automatically update target sheet
    By RLR31064 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-26-2014, 01:39 PM
  6. [SOLVED] Adding Rows To Update A Formula
    By msg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2006, 01:20 PM
  7. [SOLVED] Automatically adding new rows with formula
    By Brian in forum Excel General
    Replies: 2
    Last Post: 01-16-2005, 11:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1