+ Reply to Thread
Results 1 to 8 of 8

Help with SUMPRODUCT formula

  1. #1
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    86

    Help with SUMPRODUCT formula

    I am having issues with the SUMPRODUCT formula in the attachment spreadsheet.

    I want to get the totals of pipe, Elbows, Tee & Valves in the blue cells by the number off Droppers (yellow cells) by the amount of the material to be populated in the red cells.

    The formulas in the blue cells don't work for the total elbows, tee & valves.

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help with SUMPRODUCT formula

    Hi,

    That's because you don't have any Quantities on row 7 in cells DD:DF, DL:DN etc.. If you want to use array formulae like sumproduct then each cell has to have a value. If you enter 26 in DD7 for instance you'll get an answer in CZ10
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    86

    Re: Help with SUMPRODUCT formula

    Thanks I have unmerged the cells in row 7 and entered the same quantities in the 4 cells DC:DF, DG:Dj etc.

    So the formula doesn't work with merged cells.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help with SUMPRODUCT formula

    As a general rule you have to avoid merged cells.

    These give you only problems!
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Help with SUMPRODUCT formula

    @SloopJohnB

    Please Login or Register  to view this content.
    Advice:

    Don't work with merged cells, you get in trouble with it sooner or later.

    In your case (as you already noticed) 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.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with SUMPRODUCT formula

    Using the suggestions that were given to you previously and slightly changing the formula so that it can be copied across and down without manually changing the formula I have made the changes to your sample workbook to give you a visual of what has been suggested.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    86

    Re: Help with SUMPRODUCT formula

    Thanks for the information.....no merged cells from now on.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with SUMPRODUCT formula

    Merged cells can up and "bite" at the most inopportune of times. If you feel that you must have the visual affect of merged cells, try selecting the cells, right click and choose format cells, Alignment Tab, select Center Across Selection.

+ 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] Sumif Formula or Sumproduct Formula? Three Criteria.
    By oHUTCHYo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-28-2013, 10:50 AM
  2. Help in Sumproduct Formula
    By amaan.khowaja in forum Excel General
    Replies: 0
    Last Post: 07-14-2012, 04:25 PM
  3. SUMPRODUCT Formula
    By K!ngK!ll3r in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2010, 03:49 PM
  4. SUMPRODUCT formula help
    By Serge in forum Excel General
    Replies: 7
    Last Post: 04-10-2006, 06:45 PM
  5. SumProduct Formula
    By carl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2006, 04:20 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