+ Reply to Thread
Results 1 to 4 of 4

Excel formula works when broken in two parts, but not when added together

  1. #1
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Excel formula works when broken in two parts, but not when added together

    I have an excel formula:

    Please Login or Register  to view this content.
    that works fine. I want to add to the above with this which again, works fine on its own. The result of the above is 986,000 and the below is -186,000

    Please Login or Register  to view this content.
    The sum product of each formula is correct and I simply want the result of one plus the other,so I would expect the answer to be 800,000 (ie 986k - 186k) but when I add the formulas together like this:

    Please Login or Register  to view this content.
    I get a different answer (428,000)....anyone know why?
    Last edited by nickmax1; 07-25-2014 at 07:39 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Excel formula works when broken in two parts, but not when added together

    Looks like you have parentheses in the wrong place:

    =SUM(SUMIF(INDIRECT("'" & $E$42 & "'!C17:C190"),{"Nord*","Grav*","Arachas*"},INDIRECT("'" & $E$42 & "'!$AH$17:$AH$190")))+SUM(SUMIF(INDIRECT("'" & $E$42 & "'!C193:C250"),{"Nord*","Grav*","Arachas*"},INDIRECT("'" & $E$42 & "'!$D$193:$D$250")))
    Remember what the dormouse said
    Feed your head

  3. #3
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Excel formula works when broken in two parts, but not when added together

    romperstomper......solved within 3 minutes....impressive!

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Excel formula works when broken in two parts, but not when added together

    Glad to help.

+ 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. Replies: 5
    Last Post: 12-21-2013, 03:42 PM
  2. [SOLVED] Subform added to Form that works off List Boxs results
    By menmine5 in forum Access Tables & Databases
    Replies: 3
    Last Post: 09-28-2013, 01:44 PM
  3. Table temps created when new parts added
    By MitchellG in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-27-2013, 08:02 AM
  4. Replies: 5
    Last Post: 01-18-2013, 11:21 AM
  5. [SOLVED] How can I automate something to be added to a formula in excel?
    By Reepicheep in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-17-2005, 10:30 AM

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