+ Reply to Thread
Results 1 to 7 of 7

Alternative function to SUM(IF(...))

  1. #1
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Alternative function to SUM(IF(...))

    Hi,

    Recently I worked on a project where I have to sum up several values according to Row criteria and Column Criteria from 2d table.

    However due to the fact that the data is huge, SUM(if()) function takes too long to calculate the give the result. I tried Sumproduct, but it gives #Value error.

    Is there any other substitution to above mentioned formula?
    Last edited by G.Bregvadze; 08-08-2014 at 06:08 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Alternative function to SUM(IF(...))

    sum product should work but without seeing your data its imposible to guess why it returns #value
    also have you tried sumifs()
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Alternative function to SUM(IF(...))

    The reason why Sumproduct returns #value is may be due to the fact that there are blank cells between data, in other works there are several tables from which I want to make summary, so each table is separated from each other, so as I know SUMPRODUCT will return value error when there are such kind of structure.

    But how can I use SUMIFS? can you give me some clue? as far as I make summary using Vertical and Horizontal Criteria Ranges.


    Thanks in advance for help and support

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Alternative function to SUM(IF(...))

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Alternative function to SUM(IF(...))

    Hi sorry for late response.

    As requested I uploaded the sample file with sample data and also inserted comment in the cell with detailed description of the issue.


    The file: sumproduct_sample.xlsx

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Alternative function to SUM(IF(...))

    the first thing to do is get rid of the errors
    =IFERROR(T5-E5,0)

  7. #7
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Alternative function to SUM(IF(...))

    Yes, you are right, thanks for the clue.


    But anyway is there any substitution to Sumproduct? can I use SUMIFS in this case for vertical and horizontal criteria ranges?
    Last edited by G.Bregvadze; 08-09-2014 at 08:14 AM.

+ 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. How to use a substitute formula to substitute text entries to a different text entry
    By andybocchi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-01-2010, 07:50 PM
  2. substitute for =
    By Gary's Student in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 05:05 PM
  3. [SOLVED] substitute for =
    By CEN7272 - ExcelForums.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  4. [SOLVED] substitute for =
    By Gary's Student in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 09:05 AM
  5. [SOLVED] substitute
    By AMK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 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