+ Reply to Thread
Results 1 to 5 of 5

Estimate Form - Summing totals when cells data moves when adding rows

  1. #1
    Registered User
    Join Date
    09-05-2018
    Location
    Scottsdale AZ
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    71

    Estimate Form - Summing totals when cells data moves when adding rows

    I'm creating a part and labor estimating worksheet. The worksheet can grow in rows when additional parts lines and labor lines are added. I'm looking for a formula that can sum the total labor and parts dollar totals in a worksheet. I can't figure out the formula when the labor and parts cells move or more lines/rows are added.

    Thanks
    Daren
    Attached Files Attached Files
    Last edited by darenferg; 07-05-2022 at 11:46 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Estimate Form - Summing totals when cells data moves when adding rows

    Not an answer to your question, but

    1 serious good advice.

    Get rid of the merged cells, you get in trouble with it sooner or later.

    In your case I suppose that will be sooner.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Estimate Form - Summing totals when cells data moves when adding rows

    First of all try not to use merged cells like my former suggested.
    you can try this for Labor/parts respectively:


    =SUMPRODUCT(IFERROR(INDEX($L$1:$L$31,(ROW(L10:L31)/(LEFT(L10:L31,5)=$N$34))+1),0))


    =SUMPRODUCT(IFERROR(INDEX($M$1:$M$31,(ROW(M10:M31)/(LEFT(M10:M31,5)=$N$35))+1),0))
    Attached Files Attached Files

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: Estimate Form - Summing totals when cells data moves when adding rows

    As an alternative, attached application given to a query on this site a couple of years ago.
    No on-sheet formula required, tables contain Customer details, labour & materials ( small orange button (upper left) activates a small input form.
    On the Invoice form data is only entered or selected in yellow boxes - start by pressing New Invoice button.
    Selecting VIN will fill Customer/Vehicle details - then select Part Nos followed by lower two boxes for labour.
    If this approach is of interest the attached can be adapted to your requirements.
    Also just to reinforce other members comments - please do not use 'merged cells' they were invented by the 'devil' to frustrate the unwary.
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  5. #5
    Registered User
    Join Date
    09-05-2018
    Location
    Scottsdale AZ
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    71

    Re: Estimate Form - Summing totals when cells data moves when adding rows

    Thank You Belinda, it works perfectly.

    I appreciate the heads up on the merged concern potential problems.

    Thanks,
    Daren

+ 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. [SOLVED] Excel Form (not adding new rows... but linking form objects to same cells)
    By skydivetom in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-02-2022, 04:55 AM
  2. Excel Summing Same Cells Differently when Data Moves
    By dlvgolf in forum Excel General
    Replies: 3
    Last Post: 03-16-2021, 01:15 AM
  3. Summing cells with different numbers of rows (large data sheet, HELP)
    By bradydecouto in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2018, 04:40 PM
  4. Input form moves data to master form for cash count sheet
    By janders84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2017, 06:04 PM
  5. Replies: 13
    Last Post: 07-16-2016, 10:53 PM
  6. Annoying Macro - Sorting Cells and Summing Totals
    By ahilty in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-12-2013, 04:01 PM
  7. Adding new rows based on data imput to modify form template
    By JediJoker in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 05-23-2013, 01:42 PM

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